summaryrefslogtreecommitdiffstats
path: root/src/admin/edit
Commit message (Collapse)AuthorAgeFilesLines
* Fix off by one in malloc for reading in nameEzra Peisach1995-10-272-1/+5
| | | | | | | Detected only under Linux, found with purify, except when file compiled -g with suncc.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7001 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
* Read the V4 Kerberos master key from /.k. Only prompt the user for theRichard Basch1995-10-241-2/+17
| | | | | | | V4 master key if the command-line option so indicates, or the key cannot be read from /.k. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6989 dc483132-0cff-0310-8789-dd5450dbe970
* extract_v4_srvtab: Version number is only one byte long (warlord)Ezra Peisach1995-10-092-2/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6950 dc483132-0cff-0310-8789-dd5450dbe970
* Move declaration of std_ks_tuple from kdb5_edit.h to cpw.c (extern part)Ezra Peisach1995-10-053-3/+9
| | | | | | as not all sources include adm.h for the necessary structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6926 dc483132-0cff-0310-8789-dd5450dbe970
* Use the kdc.conf file to determine the default list of keysalt tuplesTheodore Tso1995-10-044-18/+29
| | | | | | | 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-183-3/+11
| | | | | | | 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
* Add DES_CBC_MD5 and DES_CBC_CRC with the V4 salt as default key/saltTheodore Tso1995-09-152-2/+16
| | | | | | | | tuples to be added. (Once proven's DES_* folding code is implemented, we can shorten this list.) Eventually, this list should be read in from kdc.conf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6793 dc483132-0cff-0310-8789-dd5450dbe970
* If V4 compatibility is not enabled, provide a dummy routine forEzra Peisach1995-09-082-1/+16
| | | | | | loading a v4 database. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6741 dc483132-0cff-0310-8789-dd5450dbe970
* * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :Chris Provenzano1995-09-066-42/+46
| | | | | | 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-066-53/+47
| | | | | | references, and replace with krb5_keytype where appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6662 dc483132-0cff-0310-8789-dd5450dbe970
* Add v4 dump load logic from kdb5_convertPaul Park1995-08-255-1/+903
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6592 dc483132-0cff-0310-8789-dd5450dbe970
* Remove duplicated logicPaul Park1995-08-251-50/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6591 dc483132-0cff-0310-8789-dd5450dbe970
* Update file listTheodore Tso1995-08-242-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6588 dc483132-0cff-0310-8789-dd5450dbe970
* Make new dump format text-based. Also add logic to read/write old formatPaul Park1995-08-212-250/+1593
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6557 dc483132-0cff-0310-8789-dd5450dbe970
* Add description of -s and -R. Update description of -e and -kPaul Park1995-08-211-9/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6556 dc483132-0cff-0310-8789-dd5450dbe970
* Fix script handlingPaul Park1995-08-182-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6549 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for -s scriptfile and fix gcc -Wall complaintsPaul Park1995-08-155-95/+176
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6521 dc483132-0cff-0310-8789-dd5450dbe970
* Use krb5_string_to_keysalts() to ensure that list is uniquePaul Park1995-08-072-44/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6438 dc483132-0cff-0310-8789-dd5450dbe970
* * cpw.c : Uses new kdb change password routines for ank, ark, cpw,Chris Provenzano1995-08-078-746/+199
| | | | | | | | | | | 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
* cpw.c : New change password code for kdb5_edit.Chris Provenzano1995-08-033-73/+542
| | | | | | dumpv4.c : Get it to compile with new kdb format. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6398 dc483132-0cff-0310-8789-dd5450dbe970
* Use new admin string conversion routinesPaul Park1995-07-315-1165/+61
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6366 dc483132-0cff-0310-8789-dd5450dbe970
* Add --with-dbm checkPaul Park1995-07-272-0/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6331 dc483132-0cff-0310-8789-dd5450dbe970
* Use new kdb formatChris Provenzano1995-07-275-421/+213
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6329 dc483132-0cff-0310-8789-dd5450dbe970
* Add KDC profile and stash file supportPaul Park1995-07-174-4/+77
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6304 dc483132-0cff-0310-8789-dd5450dbe970
* Add ability to get rid of -lkdb4 referencesPaul Park1995-07-123-3/+47
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6285 dc483132-0cff-0310-8789-dd5450dbe970
* Reorganize library logic and use LDFLAGS from configurePaul Park1995-07-073-15/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6250 dc483132-0cff-0310-8789-dd5450dbe970
* Shared library Makefile/configure changes and cleanupPaul Park1995-06-153-5/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6069 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-093-9/+11
| | | | | | | | | now handled by CONFIG_RULES. dumpv4.c: Change name of controlling #ifdef to be KRB5_KRB4_COMPAT instead of KRB4. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6003 dc483132-0cff-0310-8789-dd5450dbe970
* Include k5-int.h before krb.h so that PROTOTYPE is not redefinedEzra Peisach1995-05-212-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5832 dc483132-0cff-0310-8789-dd5450dbe970
* Add AC_HEADER_STDC to define STDC_HEADERS for getdate.y (if present)Ezra Peisach1995-05-092-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5765 dc483132-0cff-0310-8789-dd5450dbe970
* Check the return code from kdb5_init_context()Theodore Tso1995-05-012-1/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5670 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LOCAL_LIBRARIES): put KRB4_LIB inside KLIB, and putMark Eichin1995-04-282-2/+7
| | | | | | KDB4_LIB ahead of them both. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5646 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (LOCAL_LIBRARIES): use KRB4_LIB and KDB4_LIBMark Eichin1995-04-273-11/+9
| | | | | | | directly. * configure.in: just use WITH_KRB4. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5557 dc483132-0cff-0310-8789-dd5450dbe970
* When default realm specified on command line, call krb5_set_default_realm soEzra Peisach1995-04-192-1/+14
| | | | | | | 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
* Change getdate.o to getdate.c in the SRCS listTheodore Tso1995-04-191-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5374 dc483132-0cff-0310-8789-dd5450dbe970
* Add Cygnus's "Sanitize" system to the krb5 tree, to make it easier to doTheodore Tso1995-04-141-0/+46
| | | | | | releases.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5359 dc483132-0cff-0310-8789-dd5450dbe970
* Add "support_desmd5" flagTheodore Tso1995-03-242-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5215 dc483132-0cff-0310-8789-dd5450dbe970
* Set the return code from ss_execute_line(), so that appropriate errorTheodore Tso1995-03-172-1/+6
| | | | | | checking is done. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5152 dc483132-0cff-0310-8789-dd5450dbe970
* Remove reference to $(ISODELIB)Theodore Tso1995-03-022-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5059 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ISODE_INCLUDE, replace check for -lsocket and -lnsl withTheodore Tso1995-03-012-3/+6
| | | | | | WITH_NETLIB check. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5039 dc483132-0cff-0310-8789-dd5450dbe970
* Avoid <krb5/...> and <com_err.h> includesJohn Gilmore1995-02-287-42/+15
| | | | 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-242-0/+37
| | | | | | | | | | 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-146-9/+1260
| | | | | | | | | * 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-092-4/+68
| | | | | | fields git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4927 dc483132-0cff-0310-8789-dd5450dbe970
* Add .cvsignore file so that cvs ignores the autoconf-built configure fileTheodore Tso1995-02-031-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4904 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-252-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4837 dc483132-0cff-0310-8789-dd5450dbe970
* Add context changes to dumpv4.cTheodore Tso1995-01-191-15/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4826 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-135-178/+187
| | | | | | 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
* Do the right thing if we are compiling without V4 support. (TheTheodore Tso1994-12-194-3/+27
| | | | | | dump_v4db command is disabled.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4736 dc483132-0cff-0310-8789-dd5450dbe970