summaryrefslogtreecommitdiffstats
path: root/src/admin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Initialize key version numbers to be 1Theodore Tso1994-09-152-3/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4253 dc483132-0cff-0310-8789-dd5450dbe970
* Fix error string ("for reading" -> "for writing")Theodore Tso1994-09-152-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4240 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-1811-71/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4187 dc483132-0cff-0310-8789-dd5450dbe970
* lint cleanupMark Eichin1994-08-142-6/+4
| | | | | | comment about misuse of krb5_timestamp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4126 dc483132-0cff-0310-8789-dd5450dbe970
* stamp..Mark Eichin1994-08-091-29/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4101 dc483132-0cff-0310-8789-dd5450dbe970
* Stamp Out Imake in Our Lifetimes..Mark Eichin1994-08-096-226/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4081 dc483132-0cff-0310-8789-dd5450dbe970
* more make install fixesTom Yu1994-07-2011-10/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4004 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_create.c: start kvno and mkno at 1, not 0Tom Yu1994-07-203-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4002 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (in all relevant subdirs): another try at makingTom Yu1994-07-167-0/+17
| | | | | | dbm libs dtrt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4000 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (in all relevant subdirs):Tom Yu1994-07-0813-24/+12
| | | | | | | * Makefile.in (in all relevant subdirs): back out changes because they were causing breakage under Ultrix git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3960 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (in all relevant subdirs):Tom Yu1994-07-0713-6/+30
| | | | | | | * Makefile.in (in all relevant subdirs): fixes to suck in -lndbm or -ldbm as needed git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3957 dc483132-0cff-0310-8789-dd5450dbe970
* Reduced Makefile.in, using pre/postMark Eichin1994-07-027-196/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3944 dc483132-0cff-0310-8789-dd5450dbe970