summaryrefslogtreecommitdiffstats
path: root/src/admin
Commit message (Collapse)AuthorAgeFilesLines
* Shared library Makefile/configure changes and cleanupPaul Park1995-06-1518-33/+75
| | | | 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-0911-35/+28
| | | | | | now handled by CONFIG_RULES. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6004 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
* Use kdb5_db_destroy instead of explicitly unlinking filesPaul Park1995-05-313-45/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5925 dc483132-0cff-0310-8789-dd5450dbe970
* Change to new Berkeley Database naming conventionPaul Park1995-05-263-1/+20
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5900 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-284-4/+14
| | | | | | KDB4_LIB ahead of them both. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5646 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: correct use of --with-krb4 to match top levelMark Eichin1995-04-282-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5602 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
* * Makefile.in (LOCAL_LIBRARIES): use KDB4_LIB and KRB4_LIB directlyMark Eichin1995-04-272-5/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5556 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
* Set SUPPORT_DESMD5 attribute for the krbtgt entryTheodore Tso1995-04-182-1/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5364 dc483132-0cff-0310-8789-dd5450dbe970
* Add Cygnus's "Sanitize" system to the krb5 tree, to make it easier to doTheodore Tso1995-04-147-0/+278
| | | | | | 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-0212-12/+30
| | | | 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-0112-18/+36
| | | | | | 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-2817-86/+45
| | | | 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-037-0/+7
| | | | 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
* Added convert changes to kdb5_convert.cTheodore Tso1995-01-191-78/+91
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4827 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-132-17/+23
| | | | | | Added krb5_context to all krb5_*() routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4815 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-139-238/+263
| | | | | | 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
* gmtime expects a pointer to a time_t, not a long. On most systemsTheodore Tso1994-12-082-1/+7
| | | | | | these are the same, on others.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4727 dc483132-0cff-0310-8789-dd5450dbe970
* Set the keyblock magic number and encryption typeTheodore Tso1994-11-172-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4670 dc483132-0cff-0310-8789-dd5450dbe970
* * dumpv4.c: new file. New command dump_v4db which creates a v4Mark Eichin1994-11-165-3/+389
| | | | | | | | | | | | | | | | | | slave dump out of a v5 database, leaving out any keys which aren't using v4 salt, and any keys that aren't for the current realm. Reencrypts using v4 master key, synthesizes arbitrary master key version number. * configure.in: use WITH_KRB4 for dump support. * kdb5_ed_ct.ct: add new dump_v4 command. * Makefile.in: link in dumpv4. I've successfully used this to convert a full database and compared it with the original by hand -- the only differences were 1) leading zeros on the new database 2) k.m date didn't match 3) mkvno's didn't match (but were consistent) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4663 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_convert.c (enter_in_v5_db): use the correct instance forMark Eichin1994-11-162-1/+6
| | | | | | | | | the mod_name field. This makes the modifier field actually have a valid name in it, which makes it (1) useful (2) easier to turn back into a v4 field... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4662 dc483132-0cff-0310-8789-dd5450dbe970
* revert misguided kstash changesMark Eichin1994-11-023-59/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4614 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_stash.c (main): added -o option to read a Kerberos V4Mark Eichin1994-11-023-7/+59
| | | | | | | | | | kstash'ed master key. (usage): mention it in the usage message. * kdb5_stash.M: document it. Necessary for practical conversion of a functioning v4 realm... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4609 dc483132-0cff-0310-8789-dd5450dbe970
* Conversion of autoconfigury to Autoconf V2Mark Eichin1994-10-267-32/+32
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4576 dc483132-0cff-0310-8789-dd5450dbe970
* When scanning a database entry, read fail_auth_count into a temporaryTheodore Tso1994-10-142-2/+10
| | | | | | | integer variable, and then copy that into entry.fail_auth_count, which is a char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4513 dc483132-0cff-0310-8789-dd5450dbe970
* Don't let errors in set_dbname_help initially cause the exit status toTheodore Tso1994-10-072-0/+6
| | | | | | | 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 an option to force destruction of the database, without asking anyTheodore Tso1994-10-072-38/+49
| | | | | | questions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4475 dc483132-0cff-0310-8789-dd5450dbe970
* Add new option -P to specify master key passwrd on the command line.Theodore Tso1994-10-073-6/+39
| | | | | | | | | 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
* Allow master key to be passed in on the command line. Makes testingTheodore Tso1994-10-072-10/+40
| | | | | | scripts easier. This is for testing only --- the option is not documented!! git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4473 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(srcdir) to find manual page for make installTheodore Tso1994-10-0312-6/+30
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4429 dc483132-0cff-0310-8789-dd5450dbe970
* Add magic number placeholder to statically initialized structuresTheodore Tso1994-10-014-10/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4419 dc483132-0cff-0310-8789-dd5450dbe970
* Relink executable if libraries changeTheodore Tso1994-09-3010-0/+31
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4398 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure mod time on the dump_ok file is updated. (Some systemsTheodore Tso1994-09-292-0/+12
| | | | | | don't update the mod-time when a file is opened for writing.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4384 dc483132-0cff-0310-8789-dd5450dbe970
* Relink executable when libraries changeTheodore Tso1994-09-294-15/+79
| | | | | | | | | 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
* Oops.. Missing close braceTheodore Tso1994-09-291-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4382 dc483132-0cff-0310-8789-dd5450dbe970
* Exit with a non-zero status if there was an error in an executed command.Theodore Tso1994-09-295-9/+145
| | | | | | (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