summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed typo (missing comma) in fileTheodore Tso1995-12-211-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7247 dc483132-0cff-0310-8789-dd5450dbe970
* Changed KRB5_SENDAUTH_MUTUAL_FAILED to KRB5_MUTUAL_FAILED (since theTheodore Tso1995-12-212-1/+10
| | | | | | | error code is no longer used in sendauth). Added KRB5_CC_FORMAT for indicating a problem in the credentials cache format. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7246 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of KRB5_SENDAUTH_MUTUAL_FAILED to KRB5_MUTUAL_FAILEDTheodore Tso1995-12-212-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7245 dc483132-0cff-0310-8789-dd5450dbe970
* In the case of SCC_OPEN_AND_ERASE, unlink the filename first, in caseTheodore Tso1995-12-212-0/+13
| | | | | | | there's a symbolic link lurking about. (We should do an exclusive open then, but there's no such thing in stdio.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7244 dc483132-0cff-0310-8789-dd5450dbe970
* In the case of FCC_OPEN_AND_ERASE, unlink the old filename, and thenTheodore Tso1995-12-212-1/+9
| | | | | | | add the O_EXCL open flag, to prevent O_CREAT from following a symbolic link. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7243 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for the stat call, since profile_update_fileTheodore Tso1995-12-213-4/+24
| | | | | | | | | | | needs to know whether it exists. (It doesn't on the Mac.) * prof_file.c (profile_update_file): Change use of HAS_STAT to HAVE_STAT, to confirm with autoconf test. If the stat() call does not exist, assume that our in-core memory image is correct, and never re-read the profile file unless we explicitly close it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7242 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (t_an_to_ln): Use $(LD) instead of $(CC) to link finalTheodore Tso1995-12-213-33/+32
| | | | | | | | | | executables, so that we can more easily use purify. * hst_realm.c (krb5_get_host_realm): Eliminate memory leak; realm was already being allocated by the profile library; no reason to reallocate it again. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7241 dc483132-0cff-0310-8789-dd5450dbe970
* Missing parenthesis meant that wrong number of bytes was beingTheodore Tso1995-12-202-1/+7
| | | | | | allocated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7240 dc483132-0cff-0310-8789-dd5450dbe970
* New function for doing generic tty input and output. EventuallyTheodore Tso1995-12-203-0/+171
| | | | | | read_password should use this function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7239 dc483132-0cff-0310-8789-dd5450dbe970
* Don't drag in syslog.c if vsyslog() is not defined. Only drag it inTheodore Tso1995-12-192-2/+6
| | | | | | if syslog() isn't available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7238 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use vsyslog; use syslog instead. Fixed lint flamesTheodore Tso1995-12-192-11/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7237 dc483132-0cff-0310-8789-dd5450dbe970
* Also include unistd.h, if it's availableTheodore Tso1995-12-192-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7236 dc483132-0cff-0310-8789-dd5450dbe970
* Remove declaration of LineNbr; no longer exported by kparse.cTheodore Tso1995-12-192-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7235 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (krb5_ktkdb_resolve): Fix castingEzra Peisach1995-12-183-13/+16
| | | | | | * t_kdb.c (add_principal): Remove mkvno git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7234 dc483132-0cff-0310-8789-dd5450dbe970
* Add a blank line to work around a misfeature in DecUnix 3.2's fgrep whereEzra Peisach1995-12-182-0/+5
| | | | | | | | | there is a line limit. autoheader (which is only used by developers) tries to put together a very long line with is then parsed - but due to fgreps line length limitation this breaks. By adding the blank line autoheader divides the work into multiple sections and wins. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7233 dc483132-0cff-0310-8789-dd5450dbe970
* Merge in changes between 1.4 and 1.5 in RCS file; this delta is MarkSam Hartman1995-12-141-3/+6
| | | | | | | Eichin's patch to fall back to /usr/adm/wtmp. Somehow, this was lost in 1.6. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7232 dc483132-0cff-0310-8789-dd5450dbe970
* * t_verify.c: Added an n-fold testRichard Basch1995-12-141-0/+36
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7231 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: test that kadmin_modify doesn't corrupt key entriesMark Eichin1995-12-132-0/+14
| | | | | | (I think proven's changes fix this, but this will help keep it fixed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7230 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in : Remove subdirectory dbChris Provenzano1995-12-132-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7225 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in : Move db keytab routines to lib/kdbChris Provenzano1995-12-132-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7224 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, keytab.c : Move db keytab routines hereChris Provenzano1995-12-133-0/+124
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7223 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_mkdums.c : Remove mkvno from krb5_db_entryChris Provenzano1995-12-132-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7222 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_verify.c : Remove mkvno for krb5_db_entryChris Provenzano1995-12-132-6/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7221 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_xdr.c : Remove mkvno for krb5_db_entryChris Provenzano1995-12-132-10/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7220 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos_v4.c : Remove mkvno for krb5_db_entryChris Provenzano1995-12-132-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7219 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_funcs.c : Remove mkvno for krb5_db_entryChris Provenzano1995-12-132-5/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7218 dc483132-0cff-0310-8789-dd5450dbe970
* * adm_funcs.c : Remove mkvno for krb5_db_entryChris Provenzano1995-12-132-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7217 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb.h : Remove mkvno for krb5_db_entryChris Provenzano1995-12-132-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7216 dc483132-0cff-0310-8789-dd5450dbe970
* * dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :Chris Provenzano1995-12-135-15/+13
| | | | | | Remove mkvno from krb5_db_entry. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7215 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_create.c : Remove mkvno from krb5_db_entryChris Provenzano1995-12-132-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7214 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc.conf: Added examples of "supported_enctypes" and "master_key_type"Richard Basch1995-12-121-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7212 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c: Changed krb5_db_fetch_mkey() such that it will only tryRichard Basch1995-12-121-1/+3
| | | | | | | to set the enctype of the keyblock if the keyblock had it set to ENCTYPE_UNKNOWN. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7211 dc483132-0cff-0310-8789-dd5450dbe970
* * fetch_mkey: Changed krb5_db_fetch_mkey() such that it will only tryRichard Basch1995-12-121-1/+1
| | | | | | | to set the enctype of the keyblock if the keyblock had it set to ENCTYPE_UNKNOWN. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7210 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c: Changed krb5_db_fetch_mkey() such that it will only tryRichard Basch1995-12-121-4/+4
| | | | | | | to set the enctype of the keyblock if the keyblock had it set to ENCTYPE_UNKNOWN. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7209 dc483132-0cff-0310-8789-dd5450dbe970
* * d3_str2ky.c: Updated to include some of the randomness throughoutRichard Basch1995-12-121-7/+3
| | | | | | | the entire key. The second 3-DES CBC encryption of the block should use an ivec of the last cipher block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7208 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up repository - don't check in configure add .Sanitize and .cvsignoreEzra Peisach1995-12-123-1009/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7205 dc483132-0cff-0310-8789-dd5450dbe970
* * TODO: Done: keytab routines to access to database.Chris Provenzano1995-12-122-0/+12
| | | | | | Todo: Create a real krb5_db_context after 1.0 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7204 dc483132-0cff-0310-8789-dd5450dbe970
* New directory for the kdb keytab functions. Currently there is only get andChris Provenzano1995-12-124-0/+1156
| | | | | | | | resolve but these are sufficient to remove the ugly hack where the key is passed to krb5_rd_req() in the user-to-user field of the auth_context. These functions do NOT need to be built on the Macintosh or Windows systems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7203 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in : Added subdirectory dbChris Provenzano1995-12-122-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7202 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_dbm.c : Move the krb5_db_context to include/krb5/kdb_dbc.h.Chris Provenzano1995-12-122-79/+113
| | | | | | | | | | * kdb_dbm.c krb5_dbm_db_set_mkey(), krb5_dbm_db_get_mkey(): Functions for associating a master key (krb5_encrypt_block *) to a krb5_db_context. Currently it associates it to the krb5_context and will be fixed once the krb5_db_context is better defined (Post 1.0). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7201 dc483132-0cff-0310-8789-dd5450dbe970
* * extern.h: Added a krb5_keytab to the realm context. The keytabChris Provenzano1995-12-124-14/+50
| | | | | | | | | | should be associated with a krb5_db_context which will make having a krb5_context unnecessary in the realm context. * kdc_util.c kdc_process_tgs_req(): Use the realm keytab instead of faking up a user-to-user key to pass to krb5_rd_req_decode(). * main.c: Added code to use the new database keytab routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7200 dc483132-0cff-0310-8789-dd5450dbe970
* * adm.h: Added principal flag keywords KRB5_ADM_KW_SETFLAGS andChris Provenzano1995-12-124-0/+75
| | | | | | | | | | | KRB5_ADM_KW_UNSETFLAGS because relative flag modification is just a good idea. * kdb.h: typedef kdb5_dispatch_table so prototypes that need it compile even if KDB5_DISPATCH isn't defined. * kdb_dbc.h: The start of the database context, which should be removed from the krb5_context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7199 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c: Use the master key enctype from the stash file if noneRichard Basch1995-12-121-10/+12
| | | | | | is specified (set the keyblock enctype to NULL). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7198 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_edit.c: Use the master key enctype from the stash file if noneRichard Basch1995-12-121-11/+18
| | | | | | is specified (set the keyblock enctype to NULL). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7197 dc483132-0cff-0310-8789-dd5450dbe970
* * fetch_mkey.c: If the keyblock is initialized with an enctype ofRichard Basch1995-12-121-1/+3
| | | | | | | NULL, simply read in the enctype from the stash file and don't try to check it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7196 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c: Rely on stashed master key enctype instead of hardcodingRichard Basch1995-12-121-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7195 dc483132-0cff-0310-8789-dd5450dbe970
* * d3_str2ky.c: Revised 3-DES String-To-Key algorithm to encrypt theRichard Basch1995-12-121-1/+8
| | | | | | folded result twice in the folded key. [Courtesy Uri Blumenthal] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7194 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_preauth.c return_padata(): Initialize local variable "size"Chris Provenzano1995-12-112-1/+6
| | | | | | to 0 before using it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7192 dc483132-0cff-0310-8789-dd5450dbe970
* * adm_proto.h: Moved many string conversion functions to libkrb5Richard Basch1995-12-111-25/+0
| | | | | | for better support of multiple encryption type selection git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7191 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: Moved string conversion functions from libkadmRichard Basch1995-12-111-0/+27
| | | | | | for better support of multiple encryption type selection git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7190 dc483132-0cff-0310-8789-dd5450dbe970