summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* hostaddr.c (krb5_os_hostaddr): New function which takes a hostname andTheodore Tso1996-01-053-0/+90
| | | | | | | returns a list of krb5 addresses. (This is basically a glue routine that converts the result of gethostbyname() to krb5 addresses.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7277 dc483132-0cff-0310-8789-dd5450dbe970
* gssapiP_generic.h (TWRITE_INT16, TREAD_INT16): Added new macrosTheodore Tso1996-01-052-0/+13
| | | | | | to read and write two byte integers from the wire. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7276 dc483132-0cff-0310-8789-dd5450dbe970
* gssapiP_generic.h: Don't include <sys/types.h> since it's alreadyTheodore Tso1996-01-053-3/+9
| | | | | | | | included by gssapi.h. gssapi.h: Add a #ifndef _MACINTOSH around include of <sys/types.h> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7275 dc483132-0cff-0310-8789-dd5450dbe970
* Removed check for sys/fcntl.h; the source now always includes <fcntl.h>Richard Basch1996-01-041-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7273 dc483132-0cff-0310-8789-dd5450dbe970
* Removed #undef NEED_SYS_FCNTL_H since we now always use <fcntl.h>Richard Basch1996-01-041-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7272 dc483132-0cff-0310-8789-dd5450dbe970
* Always include <fcntl.h> instead of checking for <sys/fcntl.h>Richard Basch1996-01-042-8/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7271 dc483132-0cff-0310-8789-dd5450dbe970
* Removed checking for <sys/fcntl.h>; always use <fcntl.h>Richard Basch1996-01-041-21/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7270 dc483132-0cff-0310-8789-dd5450dbe970
* Always include <fcntl.h> instead of checking for <sys/fcntl.h>Richard Basch1996-01-048-22/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7269 dc483132-0cff-0310-8789-dd5450dbe970
* Removed sys/fcntl.h checking (always use fcntl.h instead)Richard Basch1996-01-048-21/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7268 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4, acconfig.hRichard Basch1996-01-041-1/+2
| | | | | | | | | Removed sys/fcntl.h checking (always use fcntl.h instead) * TODO Documented that sys/fcntl.h checks have been removed. Added a KDC bug that needs to be investigated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7267 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for presense of setenv(), unsetenv(), andTheodore Tso1996-01-044-1/+190
| | | | | | | | | getenv() from the C library. * Makefile.in: New file: setenv.c --- provides routines for setting the environment. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7266 dc483132-0cff-0310-8789-dd5450dbe970
* * gss-client.c (main, client_establish_context): If the -d flag isTheodore Tso1996-01-043-6/+25
| | | | | | | given to the client, then try to delegate credentials when establishing the context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7265 dc483132-0cff-0310-8789-dd5450dbe970
* * rd_cred.c (krb5_rd_cred_basic): When the keyblock is NULL, assumeTheodore Tso1996-01-043-25/+67
| | | | | | | | | | | | | | | | we're being called from the gssapi code, which doesn't have access to the sender or receive address information, don't check the sender address, since it won't be available. * rd_cred.c (decrypt_credencdata): When calling krb5_rd_credd(), if the keyblock is null, just copy the encoded structure from the "ciphertext" part of the structure and decode it. * mk_cred.c (encrypt_credencpart): When calling krb5_mk_cred(), if the keyblock is NULL, don't encrypt it; just encode it and leave it in the ciphertext area of the structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7264 dc483132-0cff-0310-8789-dd5450dbe970
* ktutil.c (ktutil_write_v4): Call ktutil_write_srvtab not ktutil_write_keytabEzra Peisach1995-12-253-1/+11
| | | | | | ktutil_funcs.c (ktutil_write_srvtab): Clear malloced memory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7250 dc483132-0cff-0310-8789-dd5450dbe970
* If HAVE_SHADOW is defined, and no shadow password entry is availble,Theodore Tso1995-12-222-2/+7
| | | | | | try using the password entry in the password file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7249 dc483132-0cff-0310-8789-dd5450dbe970
* Use KRB5_CC_FORMAT as an error code instead of KRB5_CCACHE_BADVNO,Theodore Tso1995-12-214-8/+14
| | | | | | when it's really a format error in the credentials cache file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7248 dc483132-0cff-0310-8789-dd5450dbe970
* 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