summaryrefslogtreecommitdiffstats
path: root/src/kadmin/v5server/srv_net.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the old kadmin serverTheodore Tso1996-07-261-859/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8832 dc483132-0cff-0310-8789-dd5450dbe970
* Ken's acl and hangup fixesMark Eichin1996-04-091-2/+7
| | | | | | AFS3 salt support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7764 dc483132-0cff-0310-8789-dd5450dbe970
* This is the aggregate of a bunch of fixes to kadmind (after all, some peopleMark Eichin1996-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actually use it.) Note that in admin.c, I shredded admin_add_modify and admin_merge_dbentries, converting them to a goto-exception style, eliminating the excessive nesting, so they were readable; having done so, admin_add_modify turned out to be correct, and admin_merge_dbentries was "obviously" broken in that it assigned random keys gratuitiously. Fixing this causes "modent" to actually work, without destroying the key... Wed Feb 21 21:26:50 1996 Mark Eichin <eichin@cygnus.com> * srv_main.c (xprintf): handle VARARGS. Sun Feb 18 00:08:02 1996 Mark W. Eichin <eichin@cygnus.com> * admin.c (admin_merge_dbentries): rewrite for readability, and fix the year old bug of modify randomizing the password field. (admin_add_modify): rewrite for readability. Fri Feb 9 20:11:50 1996 Mark Eichin <eichin@cygnus.com> * srv_net.c (net_init): gethostbyname doesn't use errno, compensate by using KRB5_ERR_BAD_HOSTNAME. Tue Dec 12 19:14:51 1995 Mark Eichin <eichin@cygnus.com> * admin.c (admin_merge_dbentries): new argument mod_only, to distinguish between add and modify. (admin_add_modify): new argument mod_only, to distinguish between add and modify (and pass through to admin_merge_dbentries.) (admin_add_principal, admin_modify_principal, admin_change_opwd, admin_change_orandpw): pass flag indicating modify or add. Tue Sep 26 22:51:25 1995 Mark Eichin <eichin@cygnus.com> * admin.c (admin_add_modify): copy, don't just assign, principals to avoid double-freeing. Zero out "contents" and mod_name fields after freeing, likewise. Free cur_dbentry and new_dbentry properly. Tue Sep 26 02:56:41 1995 Mark Eichin <eichin@cygnus.com> * srv_acl.c (acl_free_entries): jump the ae_next link *before* freeing the item so we don't lose it. Tue Sep 26 02:28:35 1995 Mark Eichin <eichin@cygnus.com> * admin.c (admin_merge_dbentries): copy who into dbentp->mod_name because callers will free it after successful use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7506 dc483132-0cff-0310-8789-dd5450dbe970
* srv_key.c: Globally change use of ENCTYPE_DES_CBC_MD5 toTheodore Tso1995-09-071-2/+2
| | | | | | | | | | | | | DEFAULT_KDC_ENCTYPE, so that we use the same encryption type by default for all KDC server programs. srv_main.c (main): Set the default realm from the -r argument, so that correct defaulting takes place for things like krb5_parse(). srv_net.c (net_init): Use KRB5_ADM_SERVICE_INSTANCE to determine the service instance, instance of KRB5_ADMIN_SERVICE_NAME. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6736 dc483132-0cff-0310-8789-dd5450dbe970
* Network slave bookkeeping fixupPaul Park1995-08-091-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6488 dc483132-0cff-0310-8789-dd5450dbe970
* Use sigjmp_buf under POSIX_SETJMPPaul Park1995-08-081-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6462 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up debugging messagesPaul Park1995-08-031-8/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6383 dc483132-0cff-0310-8789-dd5450dbe970
* Compiler warning cleanupPaul Park1995-06-271-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6171 dc483132-0cff-0310-8789-dd5450dbe970
* Check for sys/select.h and include if found. Required toSam Hartman1995-06-131-0/+4
| | | | | | compile under AIX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6052 dc483132-0cff-0310-8789-dd5450dbe970
* Update kadmind5 to use new logging routinesPaul Park1995-06-081-15/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5976 dc483132-0cff-0310-8789-dd5450dbe970
* * Use DEBUG_NOSLAVE debug bit to turn off slave creation for connections.Paul Park1995-05-121-6/+73
| | | | | | | | * Use POSIX signals/setjmp/longjmp when present. * Increase maximum number of slaves and decrease wait when slaves slots are all taken. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5807 dc483132-0cff-0310-8789-dd5450dbe970
* Rework address bind logicPaul Park1995-05-111-31/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5798 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for -p option. Otherwise determine our port from the profilePaul Park1995-05-091-25/+134
| | | | | | | | and if not there, from the entry in /etc/services if it exists. Close the connected socket in the parent process in net_dispatch_client() this was causing the connection to remain open even when we were done. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5779 dc483132-0cff-0310-8789-dd5450dbe970
* signal.h, not sys/signal.hMark Eichin1995-04-281-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5643 dc483132-0cff-0310-8789-dd5450dbe970
* Sorry - reinstate <sys/signal.h> for srv_net and proto_servPaul Park1995-04-281-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5642 dc483132-0cff-0310-8789-dd5450dbe970
* * srv_net.c: include <signal.h>Mark Eichin1995-04-281-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5641 dc483132-0cff-0310-8789-dd5450dbe970
* Use new library libkadm.Paul Park1995-04-281-8/+6
| | | | | | | | Cleanup some type conflicts. Allow for case-insensitivity for protocol commands. Cleanup some include files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5624 dc483132-0cff-0310-8789-dd5450dbe970
* srv_net.c: Linux doesn't have SOMAXCONN, assume 5 if not definedTheodore Tso1995-04-281-0/+5
| | | | | | configure.in: Add check for -ldbm and -lndbm. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5608 dc483132-0cff-0310-8789-dd5450dbe970
* New administrative protocol serverPaul Park1995-04-261-0/+664
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5510 dc483132-0cff-0310-8789-dd5450dbe970