summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix build problem on Mac caused by multiple definitions of statKeith Vetter1995-11-082-1/+9
| | | | | | function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7048 dc483132-0cff-0310-8789-dd5450dbe970
* Improve password dialog and credentials list in Mac CNSKeith Vetter1995-11-083-310/+54
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7047 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb.h: Added prototype for krb5_dbe_search_enctype(). ChangedTheodore Tso1995-11-072-1/+16
| | | | | | | | prototype of krb5_dbe_find_enctype() so that ktype is of type krb5_int32. (krb5_enctype is unsigned, so -1 doesn't work!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7024 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_xdr.c (krb5_dbe_search_enctype): Make a more general versionTheodore Tso1995-11-072-9/+38
| | | | | | | | | of kdb5_dbe_find_enctype() which allows you to search the keylist looking for multiple keys that fit your criteria. Eventually we should convert all programs to use kdb5_dbe_search_enctype() instead of kdb5_dbe_find_enctype(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7023 dc483132-0cff-0310-8789-dd5450dbe970
* mcc_ops.c: Remove excess code which is defined in fcc_ops.cTheodore Tso1995-11-045-40/+8
| | | | | | | | | | | | | | (which may not be the right place for it anyway). mcc.h: Remove use of krb5_ccache_sessions mcc_destry.c (krb5_mcc_destroy): Remove use of krb5_ccache_sessions mcc_gennew.c (krb5_mcc_generate_new): Remove use of krb5_ccache_sessions mcc_reslv.c (krb5_mcc_resolve): Remove use of krb5_ccache_sessions git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7019 dc483132-0cff-0310-8789-dd5450dbe970
* Added the ccache/memory subdirectoryTheodore Tso1995-11-042-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7018 dc483132-0cff-0310-8789-dd5450dbe970
* Added memory subdirectoryTheodore Tso1995-11-042-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7017 dc483132-0cff-0310-8789-dd5450dbe970
* Added memory-based credentials cacheTheodore Tso1995-11-0422-0/+1486
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7016 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out festering ImakefilesMark Eichin1995-11-033-87/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7015 dc483132-0cff-0310-8789-dd5450dbe970
* remove rcs keyword cruft which doesn't make much sense in CVS.Mark Eichin1995-11-0348-156/+83
| | | | | | | | removal simplifies merging. I left in the RCSID's that are in actual error table values (*_RCSID typically) but comments had them elided (Source keywords replaced with a literal pathname, Id totally removed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7014 dc483132-0cff-0310-8789-dd5450dbe970
* * adm.h : Constant changes for the new kadmin code.Chris Provenzano1995-11-033-12/+19
| | | | | | | | * kdb.h : Added attribute bit KRB5_KDB_NEW_PRINC. This will allow kadmin administrators with add acls to modify a principal until this bit is cleared. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7013 dc483132-0cff-0310-8789-dd5450dbe970
* * decrypt_key.c (krb5_dbekd_decrypt_key_data()) : If key salt lengthChris Provenzano1995-11-034-40/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | is 0 then set keysalt->data.data to NULL. * kdb_cpw.c (add_key_rnd(), add_key_pwd()) : When creating new keys for a new kvno and there are multiple enctypes that use a common keytype, then set the enctype in the key to the first specified enctype and skip all other enctypes that use the same keytype. (This assumes the salt type is the same too.) This way when the kdc needs to get the server key it doesn't need to gues what enctypes the server supports. * kdb_xdr.c (krb5_dbe_find_enctype()): Match keys that use common keytypes but different enctypes. Eg. ENCTYPE_DES_CBC_MD5 matches ENCTYPE_DES_CBC_CRC and vice versa. * kdb_xdr.c krb5_dbe_find_enctype()): If kvno = 0 then determine maxkvno for all the keys and then search keys for a key that matches enctype salttype and has kvno == maxkvno. This is different than when kvno = -1 which searches the keys for THE key with the greatest kvno which also matches enctype and salttype. * kdb_kdr.c (krb5_dbe_find_enctype()): If kvno = ktype = stype = -1 then set kvno = 0. The first doesn't make a lot of sense. * kdb_xdr.c (krb5_dbe_encode_last_pwd_change(), krb5_dbe_decode_last_pwd_change()) : Added. * kdb_xdr.c (krb5_decode_princ_contents()) : Don't try to allocate space for keys if n_key_data = 0. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7012 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for Linux shared librariesTheodore Tso1995-11-025-4/+62
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7011 dc483132-0cff-0310-8789-dd5450dbe970
* If invoked with the -D port option, do not die if proper entry is missingEzra Peisach1995-11-024-42/+65
| | | | | | | | | from /etc/services... This is for the dejagnu suite running on a machine following the installation instructions - i.e. make, make check. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7010 dc483132-0cff-0310-8789-dd5450dbe970
* Make mit_des_finish_key() safe to call even if there is no key thatTheodore Tso1995-11-012-2/+10
| | | | | | needs to be freed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7009 dc483132-0cff-0310-8789-dd5450dbe970
* Missing 'break' statement during option parsing;Richard Basch1995-10-301-0/+1
| | | | | | -p <port> could not be specified, without falling into the usage message. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7006 dc483132-0cff-0310-8789-dd5450dbe970
* Fix all paths in document, convert tabs to spaces for TeX, and checkEzra Peisach1995-10-302-87/+132
| | | | | | spelling. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7005 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
* Add /usr/lib/ispell/ispell.words for LinuxEzra Peisach1995-10-302-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7003 dc483132-0cff-0310-8789-dd5450dbe970
* Extensive reworking of the structure of this file to make it possibleTheodore Tso1995-10-282-203/+333
| | | | | | to support preauthentication. (interim checkin) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7002 dc483132-0cff-0310-8789-dd5450dbe970
* 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
* Fix to properly malloc password buffer, instead of returning a pointerTheodore Tso1995-10-252-6/+18
| | | | | | to an automatic variable(!). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6999 dc483132-0cff-0310-8789-dd5450dbe970
* Change the input type of do_mutual to be OM_int32 instead of an int,Theodore Tso1995-10-252-1/+8
| | | | | | | to prevent lossage under windows, since the passed in type size is a OM_int32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6998 dc483132-0cff-0310-8789-dd5450dbe970
* For the windows, add the oldnames library to the link lines forTheodore Tso1995-10-252-2/+7
| | | | | | gssapi.dll and libkrb5.dll. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6997 dc483132-0cff-0310-8789-dd5450dbe970
* Run db checks before going into subdirs and dejagnu test..Ezra Peisach1995-10-252-1/+5
| | | | | | We really want to do the lower level tests before dealing with network connections. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6996 dc483132-0cff-0310-8789-dd5450dbe970
* Disallow changes to AOUT_LD_* environment variablesRichard Basch1995-10-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6995 dc483132-0cff-0310-8789-dd5450dbe970
* For compatibility with older .conf files, keep the domain name checkRichard Basch1995-10-241-4/+6
| | | | | | | | | being done in lower case, and if necessary, convert it to upper case if the domain is being used as the default realm. In addition, there was an extra free without an associated *alloc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6994 dc483132-0cff-0310-8789-dd5450dbe970
* Reversed the check for strchr(). If strchr(varp, '=') is true then weRichard Basch1995-10-241-1/+1
| | | | | | reject the bad environment variable as it contains an =. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6993 dc483132-0cff-0310-8789-dd5450dbe970
* Manually defined PROVIDE_* for Macintosh and MS-DOS so that libcryptoTheodore Tso1995-10-242-0/+25
| | | | | | | knows which encryption systems to include. Otherwise, we would be building an exportable (and useless) krb5 library for the Mac and PC. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6992 dc483132-0cff-0310-8789-dd5450dbe970
* Added new error code KRB5_GET_IN_TKT_LOOPTheodore Tso1995-10-242-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6991 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
* Try to do a best realm match for a hostname, trying all the domain components.Richard Basch1995-10-241-30/+60
| | | | | | | | For example, the realm search for a host A.B.C.D will include A.B.C.D .B.C.D B.C.D .C.D C.D .D D If all of them fail, assume the realm is B.C.D (as was previously the case). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6988 dc483132-0cff-0310-8789-dd5450dbe970
* 1. Do not end syslog messages with \n (it messes up the logs).Richard Basch1995-10-231-24/+21
| | | | | | | | 2. Prototyped envvarok() to ensure proper usage. 3. Prohibit the change of ELF_LD_* environment variables (Linux) 4. Syslog attempts to pass bad environment variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6987 dc483132-0cff-0310-8789-dd5450dbe970
* Print messages using \r\n so that the display in binary mode will be correct.Richard Basch1995-10-231-129/+129
| | | | | | Additionally, perror should not be using \n as it appends the error message. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6986 dc483132-0cff-0310-8789-dd5450dbe970
* Print all statements using \r\n so that they will be properly formattedRichard Basch1995-10-232-7/+7
| | | | | | when binary mode is being used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6985 dc483132-0cff-0310-8789-dd5450dbe970
* syslog statements should not be called with \nRichard Basch1995-10-232-5/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6984 dc483132-0cff-0310-8789-dd5450dbe970
* Add new option 's' which automatically stashes the master key in theTheodore Tso1995-10-232-1/+26
| | | | | | | key stash file. This eliminates the need for the admin to type kdb5_stash right after kdb5_create. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6983 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typoSam Hartman1995-10-232-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6982 dc483132-0cff-0310-8789-dd5450dbe970
* rd_req_dec.c (krb5_rd_req_decoded): For heirarchal cross-realm,Ezra Peisach1995-10-233-2/+14
| | | | | | | | | | set the length after initializing string. rd_req.c (krb5_rd_req): If a new auth_context is created and then there is an error, make sure return pointer is not looking at freed memory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6981 dc483132-0cff-0310-8789-dd5450dbe970
* Minor fix to last commitSam Hartman1995-10-222-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6980 dc483132-0cff-0310-8789-dd5450dbe970
* Incorperate utmpx patch to take advantage of longer utmpx host namesSam Hartman1995-10-215-5/+59
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6979 dc483132-0cff-0310-8789-dd5450dbe970
* Integrate patch including functionality from David Borman's latestSam Hartman1995-10-212-0/+29
| | | | | | telnet, adapted for krb5. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6978 dc483132-0cff-0310-8789-dd5450dbe970
* Go into config-files subdir in order to install the manual pages sitting thereEzra Peisach1995-10-212-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6977 dc483132-0cff-0310-8789-dd5450dbe970
* Install the manual pages and fix typo in kdc.conf.MEzra Peisach1995-10-216-1/+26
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6976 dc483132-0cff-0310-8789-dd5450dbe970
* Install in ADMIN_BINDIR/ADMIN_MANDIR for concistency with other v5 adminEzra Peisach1995-10-212-2/+6
| | | | | | client programs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6975 dc483132-0cff-0310-8789-dd5450dbe970
* Document shared library support - includingEzra Peisach1995-10-202-76/+202
| | | | | | | | gotchas on individual platforms. Add initial comments on SGI 5.2 libsocket brokeness (fixed in 5.3) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6974 dc483132-0cff-0310-8789-dd5450dbe970
* Simple Makefile to build the dvi and info forms of the manual. CleanEzra Peisach1995-10-171-0/+15
| | | | | | rules work as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6973 dc483132-0cff-0310-8789-dd5450dbe970
* * .Sanitize (Things-to-keep): Add MakefileEzra Peisach1995-10-173-4/+62
| | | | | | | | | | | | * Makefile: Simple file to build both dvi and info versions of install and allow for easy cleaning. * install.texi (Options to Configure): Updated to reflect current major configuration options. I have not documented that kdb4 and dbm database options. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6972 dc483132-0cff-0310-8789-dd5450dbe970
* ----------------------------------------------------------------------Sam Hartman1995-10-162-1/+6
| | | | | | | | | | | automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: ---------------------------------------------------------------------- login.krb5: Don't display warning about no tickets being obtained if -F, -f or -k specified. CVS: git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6971 dc483132-0cff-0310-8789-dd5450dbe970