summaryrefslogtreecommitdiffstats
path: root/src/admin/edit/kdb5_edit.c
Commit message (Collapse)AuthorAgeFilesLines
* Removing programs which are now in the new OV admin systemEzra Peisach1996-08-241-1476/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8980 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-221-16/+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@8774 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (extract_v4_srvtab): Use the matching key_data's kvno;Richard Basch1996-04-111-1/+1
| | | | | | | don't assume that key_data[0]'s kvno is necessarily the matching key_data's kvno. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7792 dc483132-0cff-0310-8789-dd5450dbe970
* V4 srvtab extraction did not do proper principal translationRichard Basch1996-04-111-16/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7788 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (extract_v4_srvtab): do not test to make sure weRichard Basch1996-03-201-7/+0
| | | | | | | | | | | | fetched a key of enctype 1 (des-cbc-crc), since we may have gotten another des key from the database, which is just as useful in a v4 srvtab * dumpv4.c (dump_v4_iterator): use krb5_524_conv_principal to do the v5 to v4 principal translation, instead of having yet another hard-coded table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7668 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: new command line option -f stashfile.Mark Eichin1996-03-051-15/+17
| | | | | | | | * kdb5_edit.M: document stashfile option. (also fixed some indentation, diff -w shows no difference.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7593 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (kdb5_edit_Init): set manual_mkey for testing with -PMark Eichin1996-02-231-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7504 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (enter_master_key, set_dbname_help): If master keyEzra Peisach1996-02-141-11/+47
| | | | | | enctype is unknown, set to DEFAULT_KDC_ENCTYPE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7478 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (extract_v4_srvtab): krb5_dbekd_decrypt_key_dataEzra Peisach1996-02-131-2/+2
| | | | | | | | | takes krb5_key_data *, not **. Prototype warnings realy do mean potential errors. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7476 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed extraction of keytabs to extract all keysSam Hartman1996-01-261-6/+31
| | | | | | | not just the first one. Fixed v4 extraction to find the v4 key. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7387 dc483132-0cff-0310-8789-dd5450dbe970
* Set the enctype to ENCTYPE_UNKNOWN when the enctype should be determined fromRichard Basch1996-01-111-2/+2
| | | | | | the stash file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7306 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :Chris Provenzano1995-12-131-2/+0
| | | | | | Remove mkvno from krb5_db_entry. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7215 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: Use the master key enctype from the stash file if noneRichard Basch1995-12-121-11/+18
| | | | | | is specified (set the keyblock enctype to NULL). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7197 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.M: Document that modent existsEzra Peisach1995-12-101-0/+21
| | | | | | * kdb5_edit.c (modent): Add usage as suggested by jhawk@mit.edu. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7188 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c : Remove krb5_enctype from krb5_string_to_key() argsChris Provenzano1995-11-091-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7077 dc483132-0cff-0310-8789-dd5450dbe970
* When showing a principal with the "show" command, iterate through theRichard Basch1995-10-301-8/+27
| | | | | | keys, displaying the version number and type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7004 dc483132-0cff-0310-8789-dd5450dbe970
* Rather than displaying the master key version twice, display the actualRichard Basch1995-10-241-1/+1
| | | | | | | key version for the "Key version" field. (It only displays the version for the first key in the database.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6990 dc483132-0cff-0310-8789-dd5450dbe970
* extract_v4_srvtab: Version number is only one byte long (warlord)Ezra Peisach1995-10-091-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6950 dc483132-0cff-0310-8789-dd5450dbe970
* Use the kdc.conf file to determine the default list of keysalt tuplesTheodore Tso1995-10-041-1/+14
| | | | | | | to be used. This is stored in std_ks_tuple, and is used by cpw.c for random keys and when a list of keysalts is not specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6925 dc483132-0cff-0310-8789-dd5450dbe970
* kdb5_edit.c (show_principal): Show key version and last password changeEzra Peisach1995-09-181-2/+2
| | | | | | | cpw.c: Fix typo in below change in which list was terminated after third entry. (extra } removed) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6807 dc483132-0cff-0310-8789-dd5450dbe970
* * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :Chris Provenzano1995-09-061-16/+16
| | | | | | s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6698 dc483132-0cff-0310-8789-dd5450dbe970
* * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c : Remove krb5_enctypeChris Provenzano1995-09-061-24/+2
| | | | | | references, and replace with krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6662 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for -s scriptfile and fix gcc -Wall complaintsPaul Park1995-08-151-72/+94
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6521 dc483132-0cff-0310-8789-dd5450dbe970
* * cpw.c : Uses new kdb change password routines for ank, ark, cpw,Chris Provenzano1995-08-071-436/+0
| | | | | | | | | | | and crk. Also remove v4 variants of ank and cpw. * krb5_edit.c : Deleted old variants of routines now in cpw.c * kdb5_ed_ct.ct, kdb5_edit.M, tcl_wrapper.c: Removed references to v4 variants of ank and cpw. * kdb5_edit.h (enter_pwd_key()) : Removed proto, it's nolonger necessary as it's a static routine in cpw.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6428 dc483132-0cff-0310-8789-dd5450dbe970
* Use new admin string conversion routinesPaul Park1995-07-311-143/+51
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6366 dc483132-0cff-0310-8789-dd5450dbe970
* Use new kdb formatChris Provenzano1995-07-271-156/+141
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6329 dc483132-0cff-0310-8789-dd5450dbe970
* Add KDC profile and stash file supportPaul Park1995-07-171-3/+67
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6304 dc483132-0cff-0310-8789-dd5450dbe970
* Check the return code from kdb5_init_context()Theodore Tso1995-05-011-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5670 dc483132-0cff-0310-8789-dd5450dbe970
* When default realm specified on command line, call krb5_set_default_realm soEzra Peisach1995-04-191-1/+8
| | | | | | | that created keys will have the proper realm. (which may not be the same as the machines default realm) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5379 dc483132-0cff-0310-8789-dd5450dbe970
* Add "support_desmd5" flagTheodore Tso1995-03-241-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5215 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> and <com_err.h> includesJohn Gilmore1995-02-281-10/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5028 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: add struct timeb and sys/timeb includes fromMark Eichin1995-02-241-0/+31
| | | | | | | | | | getdate.y. (ftime): new function, in case we don't HAVE_FTIME. Ezra's changes, since solaris needs them. kadmin.new/client may need these too; accordging to glimpse, that's the only other use of ftime... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4997 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: add modentTom Yu1995-02-141-5/+214
| | | | | | | | | * getdate.y: import get_date * kdbt_ed_ct.ct: add modent * configure.in: * Makefile.in: support for getdate.y git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4945 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (show_principal): make sane and print all usefulTom Yu1995-02-091-4/+63
| | | | | | fields git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4927 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-131-145/+148
| | | | | | Added krb5_context to all krb5_routines throughout the tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4813 dc483132-0cff-0310-8789-dd5450dbe970
* Don't let errors in set_dbname_help initially cause the exit status toTheodore Tso1994-10-071-0/+1
| | | | | | | be set. Commands like load_db don't need a valid database to be popened. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4478 dc483132-0cff-0310-8789-dd5450dbe970
* Add new option -P to specify master key passwrd on the command line.Theodore Tso1994-10-071-5/+28
| | | | | | | | | For testing only! Fix bug where use of the -R option would report a random error, due to the error code variable passed to ss_execute_line not being cleared first. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4474 dc483132-0cff-0310-8789-dd5450dbe970
* Relink executable when libraries changeTheodore Tso1994-09-291-2/+4
| | | | | | | | | Apply suggested change from Openvision so that principals with spaces in their names can be read in. Pass variable with correct type to ctime(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4383 dc483132-0cff-0310-8789-dd5450dbe970
* Exit with a non-zero status if there was an error in an executed command.Theodore Tso1994-09-291-3/+117
| | | | | | (Useful when the -R option is used in a shell-script.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4381 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-181-7/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4187 dc483132-0cff-0310-8789-dd5450dbe970
* lint cleanupMark Eichin1994-08-141-5/+3
| | | | | | comment about misuse of krb5_timestamp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4126 dc483132-0cff-0310-8789-dd5450dbe970
* use getcwd if availableMark Eichin1994-06-241-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3911 dc483132-0cff-0310-8789-dd5450dbe970
* tcl supportTom Yu1994-06-091-101/+61
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3687 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed krb5-bugs [0437]:Theodore Tso1994-03-111-3/+2
| | | | | | | | | | | | | The norealm_salt macro, which is defined in src/kdc/kdc_util.h, src/admin/edit/kdb5_edit.c, and Fixed krb5-bugs [0437]: The norealm_salt macro, which is defined in src/kdc/kdc_util.h, src/admin/edit/kdb5_edit.c, and src/kadmin/server/adm_funcs.c, is wrong and needs to be fixed. It will cause a coredump if it's ever actually invoked. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3451 dc483132-0cff-0310-8789-dd5450dbe970
* Added show_principal requestTheodore Tso1994-01-131-133/+293
| | | | | | Restructured how the add/change principal routines work. Still not perfect... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3309 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of xfree to krb5_xfree to prevent namespace pollutionTheodore Tso1993-10-151-13/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2670 dc483132-0cff-0310-8789-dd5450dbe970
* Change export warning notice from "is assumed to require an export license"Theodore Tso1993-09-011-2/+2
| | | | | | to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
* Moved #include of kdb5_edit.h past the declaration of struct saltblock,Theodore Tso1993-07-291-2/+2
| | | | | | since kdb5_edit.h requires it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2622 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo for dbnameTheodore Tso1993-06-031-4/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2537 dc483132-0cff-0310-8789-dd5450dbe970
* Changed the ldb command so that it would accept wildcardsTheodore Tso1992-09-241-20/+72
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2385 dc483132-0cff-0310-8789-dd5450dbe970