summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Set magic number in krb5_addressEzra Peisach1996-02-152-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7480 dc483132-0cff-0310-8789-dd5450dbe970
* Make parsing more flexible, so we don't barf over lack of spacesTheodore Tso1996-02-143-16/+21
| | | | | | around the equals sign. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7479 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (enter_master_key, set_dbname_help): If master keyEzra Peisach1996-02-142-11/+52
| | | | | | enctype is unknown, set to DEFAULT_KDC_ENCTYPE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7478 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.c (krb5_dbm_db_rename): Initialize pointer before useEzra Peisach1996-02-142-1/+7
| | | | | | for case where new db does not exist. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7477 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c (extract_v4_srvtab): krb5_dbekd_decrypt_key_dataEzra Peisach1996-02-132-2/+7
| | | | | | | | | 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
* Remove junk fileTheodore Tso1996-02-131-31/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7475 dc483132-0cff-0310-8789-dd5450dbe970
* Fix lint flame (added missing cast)Theodore Tso1996-02-132-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7474 dc483132-0cff-0310-8789-dd5450dbe970
* Incluide stdlib.h for declaration of mallocEzra Peisach1996-02-112-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7470 dc483132-0cff-0310-8789-dd5450dbe970
* * g_glue.c: grab stdlib.h to get NULLTom Yu1996-02-102-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7469 dc483132-0cff-0310-8789-dd5450dbe970
* Only display secure_message if encryption actually enabledSam Hartman1996-02-102-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7467 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed bug in v4 compatability: you don't checkSam Hartman1996-02-102-30/+37
| | | | | | v5 authenticator checksums when v4 is being used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7466 dc483132-0cff-0310-8789-dd5450dbe970
* * scc.h scc_gprin.c scc_maybe.c scc_skip.c scc_sseq.cRichard Basch1996-02-095-113/+221
| | | | | | | Store and retrieve the os_context time offset from the credentials cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7465 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.inRichard Basch1996-02-091-1/+2
| | | | | | | | Install administrative database utilities in sbin, not admin. Also, define $(transform) to be the sed transformation for program installation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7464 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.cRichard Basch1996-02-091-11/+20
| | | | | | | | | Only initialize the credentials cache if credentials were obtained. This means you won't blow away the old cache if an incorrect password was entered, and it also allows for the os_context time offset to be set properly in the credentials cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7463 dc483132-0cff-0310-8789-dd5450dbe970
* * fcc_maybe.cRichard Basch1996-02-091-13/+18
| | | | | | Only store the os_context time offset if it is valid. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7462 dc483132-0cff-0310-8789-dd5450dbe970
* * fcc.h fcc_gprin.c fcc_maybe.c fcc_skip.c fcc_sseq.cRichard Basch1996-02-095-48/+154
| | | | | | | | | | | Store the time offset from the os_context in the credentials cache. When applications open the credentials cache, they will set the os_context time offset if kdc_timesync is set and the os_context time offset has not yet been set. Note: The time offset is stored during krb5_cc_initialize, so the os_context should be set prior to this operation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7461 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for stdlib.hEzra Peisach1996-02-076-1/+18
| | | | | | | * secure.c, pclose.c, ruserpass.c, ftp.c: Include stdlib.h if present for malloc declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7453 dc483132-0cff-0310-8789-dd5450dbe970
* Need to include stdio.h and errno.h no matter what.Ezra Peisach1996-02-072-2/+7
| | | | | | (stderr and ENOMEM needs to be defined) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7452 dc483132-0cff-0310-8789-dd5450dbe970
* Make clean removes ftpd (not ftp)Ezra Peisach1996-02-072-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7451 dc483132-0cff-0310-8789-dd5450dbe970
* New files, for danw's changes to allow building Makefiles for theTheodore Tso1996-02-071-0/+5
| | | | | | | Macintosh. We now can build MPW makefiles which are interpreted by CodeWarrior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7445 dc483132-0cff-0310-8789-dd5450dbe970
* Folded in danw's changes to allow building Makefiles for theTheodore Tso1996-02-0724-10/+154
| | | | | | | Macintosh. We now can build MPW makefiles which are interpreted by CodeWarrior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7444 dc483132-0cff-0310-8789-dd5450dbe970
* Commited new snapshot from Roland Schemers at SunTheodore Tso1996-02-0740-454/+1115
| | | | | | | | | | This snapshot features a BSD-style copyright notice from Sun. It also includes the code to parse a configuration file and then dlopen the proper shared library. Miscellaneous cleanup in the mechglue directory. Namespace uglieness (like get_mechanism) have been cleaned up, to use things like __gss_get_mechanism instead. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7442 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, Makefile.inRichard Basch1996-02-042-2/+3
| | | | | | Berkeley hash db is now a separate library git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7437 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, Makefile.inRichard Basch1996-02-042-25/+12
| | | | | | | Better support of alternate db libraries. Berkeley db is now a separate library git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7436 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.inRichard Basch1996-02-0411-41/+75
| | | | | | Support --program-prefix, --program-suffix, --program-transform git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7435 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4Richard Basch1996-02-041-11/+46
| | | | | | | Support --program-prefix and --program-suffix Support different dbm libraries better. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7434 dc483132-0cff-0310-8789-dd5450dbe970
* Remove check to make sure ticket enctypeSam Hartman1996-02-014-49/+11
| | | | | | is in the tgs enctypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7431 dc483132-0cff-0310-8789-dd5450dbe970
* Remove check to make sure cached tickets are in tgs_enctypesSam Hartman1996-02-012-24/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7430 dc483132-0cff-0310-8789-dd5450dbe970
* * rcp (client mode) now uses rsh -x but still supports the old encryption inSam Hartman1996-02-016-164/+92
| | | | | | | | | | | | | server mode. * krshd will work in encrypting mode even when the port for stderr is null. * rcp will work if stdin isn't not a socket, but is a pipe in remote mode * krshd destroys forwarded credentials properly * For rsh, the secure_message got moved to the client; if you use a new client with an old server, you get secure_message twice, but it should be a useful change long-term. * Fixed typo in rcp man page. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7423 dc483132-0cff-0310-8789-dd5450dbe970
* * krshd: Make sure KRB5CCNAME gets set for forward creds; code could be much ↵Sam Hartman1996-01-315-17/+77
| | | | | | | | | | | cleaner. * forward.c: give caller handle to ccache so it can be destroyed. * krshd: destroy the ccache if it is non-null. * krlogind: Fix call, but don't destroy cache, as login.krb5 should do that any year now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7422 dc483132-0cff-0310-8789-dd5450dbe970
* Several changes to the db rename feature.Richard Basch1996-01-311-19/+25
| | | | | | | | | | Renaming locks the target lock file. If the target lock file doesn't exist, create it. Check the return value of krb5_dbm_db_set_name and set the context accordingly if the target didn't exist. Only unlink the source lock file if one could be computed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7418 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c (load_db): dbrenerr_fmt prints "from" first, so pass itMark Eichin1996-01-302-1/+6
| | | | | | to fprintf correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7417 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.c (krb5_dbm_db_rename): O_EXCL is meaningless withoutMark Eichin1996-01-302-1/+6
| | | | | | O_CREAT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7416 dc483132-0cff-0310-8789-dd5450dbe970
* Don't update the utmp file unless update_utmp is trueSam Hartman1996-01-302-3/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7414 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c (process_k5_record): t2..t9 is only 8 vars, not 9Mark Eichin1996-01-282-1/+5
| | | | | | make check is useful, gang... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7412 dc483132-0cff-0310-8789-dd5450dbe970
* Fix quoting problemSam Hartman1996-01-282-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7411 dc483132-0cff-0310-8789-dd5450dbe970
* Fixes to build on Linux;Sam Hartman1996-01-272-3/+5
| | | | | | never call fcntl(F_SETOWN) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7410 dc483132-0cff-0310-8789-dd5450dbe970
* Fix bug in finding the tgs key;Sam Hartman1996-01-273-2/+10
| | | | | | we really really want to avoid encrypting v4 tickets in DES3 keys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7407 dc483132-0cff-0310-8789-dd5450dbe970
* Implement -e option for keytabsSam Hartman1996-01-272-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7406 dc483132-0cff-0310-8789-dd5450dbe970
* * void_assoc.c (ptyint_void_association): if we don't haveMark Eichin1996-01-272-0/+7
| | | | | | TIOCNOTTY (HP/UX 9 for example) don't try to use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7405 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.conf: use host:portnum in example files, not host,portnumMark Eichin1996-01-272-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7404 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: use a longer password for kadmin_modify test to meetMark Eichin1996-01-272-3/+8
| | | | | | password quality constraints. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7403 dc483132-0cff-0310-8789-dd5450dbe970
* fix indentationMark Eichin1996-01-271-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7402 dc483132-0cff-0310-8789-dd5450dbe970
* * kuserok.c: use HAVE_SETEUID and HAVE_SETRESUID to figure out howMark Eichin1996-01-273-4/+11
| | | | | | | | to emulate seteuid instead of assuming hpux. * configure.in: test for seteuid as well; fold some tests into a single AC_HAVE_FUNCS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7401 dc483132-0cff-0310-8789-dd5450dbe970
* * t_kdb.c: wrap db_dbm decls and berkely_dispatch in ifdefsMark Eichin1996-01-273-2/+18
| | | | | | | | | BERK_DB_DBM. (do_testing): wrap references as well. * keytab.c (krb5_ktkdb_get_entry): use KRB5_PROTOTYPE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7400 dc483132-0cff-0310-8789-dd5450dbe970
* * t_cksum.c (main): use proper old-style definitionMark Eichin1996-01-272-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7399 dc483132-0cff-0310-8789-dd5450dbe970
* * network.c (setup_network): strtol is good enough for portMark Eichin1996-01-272-2/+10
| | | | | | | | number, and sunos doesn't have strtoul (and nothing else in the tree uses it.) (add_port): use proper old-style definition. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7398 dc483132-0cff-0310-8789-dd5450dbe970
* Oops; I accidentally comitted a version of krloginSam Hartman1996-01-272-2/+3
| | | | | | | | | that didn't even compile. (I tested the binary in the wrong build tree.) Compiled and tested this time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7397 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
* Require DES for credentialsSam Hartman1996-01-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7395 dc483132-0cff-0310-8789-dd5450dbe970