summaryrefslogtreecommitdiffstats
path: root/src/kadmin
Commit message (Collapse)AuthorAgeFilesLines
...
* * kdb5_create.c (kdb5_create): Ignore (expected) failure inEzra Peisach1996-07-272-1/+10
| | | | | | | open_db_and_mkey when creating database in returning exit status. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8851 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove createTom Yu1996-07-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8841 dc483132-0cff-0310-8789-dd5450dbe970
* Actually install kadmin.local. (Or rather, don't install kadmin.localTheodore Tso1996-07-262-1/+7
| | | | | | as kadmin, and then reinstall kadmin on top of kadmin. :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8838 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the new kdb5_create, which is subsumed by kdb5_utilTheodore Tso1996-07-2612-1666/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8835 dc483132-0cff-0310-8789-dd5450dbe970
* Remove last traces of the old admin serverTheodore Tso1996-07-261-46/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8834 dc483132-0cff-0310-8789-dd5450dbe970
* Remove v5client, which is the old client for the old kadmin systemTheodore Tso1996-07-2611-3148/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8833 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the old kadmin serverTheodore Tso1996-07-2613-8173/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8832 dc483132-0cff-0310-8789-dd5450dbe970
* Remove setenv.c and use krb5_setenv instead. This version of setenvSam Hartman1996-07-263-166/+6
| | | | | | | had major prototype problems, was redundant, and was older than all seven of the other versions in the tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8828 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in, adm_rw.c, kadm5_defs.h, main.c,Marc Horowitz1996-07-258-0/+2943
| | | | | | | | proto_serv.c, srv_net.c: combined pieces of the old v5server and kadm libraries with calls to the new kadm5srv library to produce a daemon which handles the v5b6 "simple" password changing protocol. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8825 dc483132-0cff-0310-8789-dd5450dbe970
* kadmin.c (quit): Return zero so that we return the proper exit status.Theodore Tso1996-07-252-1/+8
| | | | | | (kadmin_getprivs): Declare function as returning void git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8822 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Marc Horowitz1996-07-251-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8819 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (CONFIG_DIRS): added v5passwddMarc Horowitz1996-07-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8818 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (main): Put the #ifdef SO_REUSEADDR at theTom Yu1996-07-242-2/+7
| | | | | | beginning of the line to avoid cpp breakage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8808 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) for linking... This allows for use of purifyEzra Peisach1996-07-242-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8797 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (all): Use $(LD) instead of $(CC) for link stageEzra Peisach1996-07-244-2/+25
| | | | | | | | | | | | | * dump.c (dump_db): Zero out kadm5_principal_ent_rec structure before passing to rpc code. * kadmin.c (kadmin_addprinc, kadmin_getprinc, kadmin_modprinc): Zero out structures before passing to rpc code. This is because uninitialized longs in the structures cause xdr_long to fail if the higher 32/64 bits are set on the Alpha. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8796 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: add dependency for kdb5_util_ct.oTom Yu1996-07-232-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8785 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: add dependency for kadmin_ct.oTom Yu1996-07-232-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8784 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-221-0/+10
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8775 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-22228-2/+40100
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to SS_RULESTom Yu1996-06-144-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8362 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove ref to ET_RULESTom Yu1996-06-144-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8360 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-104-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* missing log entriesKen Raeburn1996-05-023-1/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7885 dc483132-0cff-0310-8789-dd5450dbe970
* Ken's acl and hangup fixesMark Eichin1996-04-097-11/+40
| | | | | | AFS3 salt support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7764 dc483132-0cff-0310-8789-dd5450dbe970
* add "extract snk4 key" function to get device keys out of the databaseMark Eichin1996-04-092-0/+111
| | | | | | (easier than putting them in...) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7763 dc483132-0cff-0310-8789-dd5450dbe970
* * ktutil_funcs.c (ktutil_write_srvtab): use any type of des keyRichard Basch1996-03-202-28/+37
| | | | | | in the keytab to create a v4 srvtab git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7669 dc483132-0cff-0310-8789-dd5450dbe970
* * srv_main.c: Move inclusion of k5-int.h before testing ifEzra Peisach1996-03-032-1/+6
| | | | | | | | 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-245-434/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * Makefile.inRichard Basch1996-02-041-2/+6
| | | | | | Support --program-prefix, --program-suffix, --program-transform git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7435 dc483132-0cff-0310-8789-dd5450dbe970
* Implement -e option to list thatSam Hartman1996-01-262-2/+20
| | | | | | shows enctypes associated with a key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7396 dc483132-0cff-0310-8789-dd5450dbe970
* Convert the kvno to a char before writing it out. (The previous codeSam Hartman1996-01-262-2/+9
| | | | | | | tried, but casting from (int *) to (char *) is not the same as casting from int to char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7390 dc483132-0cff-0310-8789-dd5450dbe970
* Simplified to simply require the use of WITH_ANAME or USE_KDB5_LIBRARYRichard Basch1996-01-222-28/+0
| | | | | | to specify the need for dbm inclusion/testing/compilation flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7350 dc483132-0cff-0310-8789-dd5450dbe970
* Set the enctype to ENCTYPE_UNKNOWN when the enctype should be determined fromRichard Basch1996-01-111-3/+9
| | | | | | the stash file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7306 dc483132-0cff-0310-8789-dd5450dbe970
* ktutil.c (ktutil_write_v4): Call ktutil_write_srvtab not ktutil_write_keytabEzra Peisach1995-12-253-1/+11
| | | | | | ktutil_funcs.c (ktutil_write_srvtab): Clear malloced memory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7250 dc483132-0cff-0310-8789-dd5450dbe970
* remove rcs keyword cruft which doesn't make much sense in CVS.Mark Eichin1995-11-034-12/+5
| | | | | | | | removal simplifies merging. I left in the RCSID's that are in actual error table values (*_RCSID typically) but comments had them elided (Source keywords replaced with a literal pathname, Id totally removed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7014 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin5.c (kadmin_startup): initialize action before strcat'ingMark Eichin1995-10-022-0/+6
| | | | | | on to it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6918 dc483132-0cff-0310-8789-dd5450dbe970
* (key_encrypt_keys): Remove equally errneous krb5_use_enctype() callTheodore Tso1995-09-142-3/+38
| | | | | | | | | | | | from key_encrypt_keys(). (key_string2key_keysalt and key_randomkey_keysalt): Install really ugly hack to prevent these routines from munging the master_encblock. This is not the correct fix. Proven will be making the correct fix which will involve removing these routines and using the corect libkdb functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6786 dc483132-0cff-0310-8789-dd5450dbe970
* Keys are encrypted in the key of the master key encryption type, notTheodore Tso1995-09-143-75/+67
| | | | | | | | | in the keytype of the key!!! Removed erroneous krb5_use_enctype() call. Fixed -Wall flames all over the file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6784 dc483132-0cff-0310-8789-dd5450dbe970
* Globally change use of ENCTYPE_DES_CBC_MD5 to DEFAULT_KDC_ENCTYPE, soTheodore Tso1995-09-071-7/+9
| | | | | | | that we use the same encryption type by default for all KDC server programs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6737 dc483132-0cff-0310-8789-dd5450dbe970
* srv_key.c: Globally change use of ENCTYPE_DES_CBC_MD5 toTheodore Tso1995-09-073-3/+22
| | | | | | | | | | | | | 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
* * ktutil_funcs.c : Do appropriate magic for enctype/keytype cleanupChris Provenzano1995-09-072-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6733 dc483132-0cff-0310-8789-dd5450dbe970
* * admin.c, passwd.c, srv_key.c, srv_main.c :Chris Provenzano1995-09-065-40/+44
| | | | | | s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6706 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin5.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-062-11/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6705 dc483132-0cff-0310-8789-dd5450dbe970
* * admin.c, kadm5_defs.h, srv_key.c, srv_main.c : Remove krb5_enctypeChris Provenzano1995-09-065-39/+17
| | | | | | references, and replace with krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6670 dc483132-0cff-0310-8789-dd5450dbe970
* Describe previous changesPaul Park1995-08-311-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6645 dc483132-0cff-0310-8789-dd5450dbe970
* Update ACL file descriptionPaul Park1995-08-311-3/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6644 dc483132-0cff-0310-8789-dd5450dbe970
* Provide object for ACL decisionPaul Park1995-08-312-36/+42
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6643 dc483132-0cff-0310-8789-dd5450dbe970
* Make access decision based on subject and object, not just subjectPaul Park1995-08-312-9/+73
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6642 dc483132-0cff-0310-8789-dd5450dbe970
* Fix automatic generation of changepw servicePaul Park1995-08-252-7/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6590 dc483132-0cff-0310-8789-dd5450dbe970
* Update file listTheodore Tso1995-08-244-0/+48
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6588 dc483132-0cff-0310-8789-dd5450dbe970