summaryrefslogtreecommitdiffstats
path: root/src/kadmin/v5server/srv_main.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the old kadmin serverTheodore Tso1996-07-261-479/+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-4/+4
| | | | | | AFS3 salt support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7764 dc483132-0cff-0310-8789-dd5450dbe970
* * srv_main.c: Move inclusion of k5-int.h before testing ifEzra Peisach1996-03-031-1/+1
| | | | | | | | HAVE_STDARG_H is defined. This is because configure.in does not test for stdarg.h, but autoconf.h does have it defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7587 dc483132-0cff-0310-8789-dd5450dbe970
* This is the aggregate of a bunch of fixes to kadmind (after all, some peopleMark Eichin1996-02-241-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+7
| | | | | | | | | | | | | 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
* * admin.c, passwd.c, srv_key.c, srv_main.c :Chris Provenzano1995-09-061-5/+5
| | | | | | s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6706 dc483132-0cff-0310-8789-dd5450dbe970
* * admin.c, kadm5_defs.h, srv_key.c, srv_main.c : Remove krb5_enctypeChris Provenzano1995-09-061-14/+2
| | | | | | references, and replace with krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6670 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
* Handle the key/salt pair list and pass it to key_initPaul Park1995-08-031-5/+29
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6384 dc483132-0cff-0310-8789-dd5450dbe970
* Add KDC profile and stash file supportPaul Park1995-07-171-4/+80
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6304 dc483132-0cff-0310-8789-dd5450dbe970
* Fix initialization and terminal disassociation broken by previous revPaul Park1995-06-301-7/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6207 dc483132-0cff-0310-8789-dd5450dbe970
* ----------------------------------------------------------------------Sam Hartman1995-06-291-6/+6
| | | | | | | | | | | automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- Input the master key before daemoning if you're going to detach. This makes kadmind5 -m useful without -n as well. CVS: git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6200 dc483132-0cff-0310-8789-dd5450dbe970
* Update kadmind5 to use new logging routinesPaul Park1995-06-081-59/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5976 dc483132-0cff-0310-8789-dd5450dbe970
* Use syslog instead of com_err when shutting down as output may be closed andEzra Peisach1995-05-281-2/+4
| | | | | | | | a sigpipe would result. (during dejagnu tests) Use exit instead of return from main as may be on the interrupt stack at the time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5911 dc483132-0cff-0310-8789-dd5450dbe970
* Check for and use POSIX signal/setjmp/longjmpPaul Park1995-05-121-1/+28
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5808 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for -T, -p and -n options. Change -i option to -m. AddPaul Park1995-05-091-19/+49
| | | | | | daemon() call to disassociate from controlling terminal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5778 dc483132-0cff-0310-8789-dd5450dbe970
* Remove getopt(3) options tooPaul Park1995-05-051-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5735 dc483132-0cff-0310-8789-dd5450dbe970
* Remove language support flagsPaul Park1995-05-051-7/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5734 dc483132-0cff-0310-8789-dd5450dbe970
* Use new library libkadm.Paul Park1995-04-281-0/+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
* New administrative protocol serverPaul Park1995-04-261-0/+320
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5510 dc483132-0cff-0310-8789-dd5450dbe970