summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-188-8/+28
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add commented out AC_OUTPUT to force autoreconf toTom Yu1998-02-122-0/+6
| | | | | | rebuild the configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10425 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-1212-19/+38
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add cccopy.cTom Yu1997-12-063-0/+65
| | | | | | * cccopy.c: New file; krb5_cc_copy_creds from Cygnus. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10319 dc483132-0cff-0310-8789-dd5450dbe970
* scc_maybe.c: Added kludge for the Macintosh, since fopen() doesn't setTheodore Tso1997-11-112-2/+47
| | | | | | errno, although open() does. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10272 dc483132-0cff-0310-8789-dd5450dbe970
* Remove KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF, and replaceTom Yu1997-09-265-3/+14
| | | | | | | with appropriate autoconf-style symbols. See individual ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10202 dc483132-0cff-0310-8789-dd5450dbe970
* * ccbase.c (krb5_cc_resolve): Incoming cache name is constEzra Peisach1997-09-152-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10196 dc483132-0cff-0310-8789-dd5450dbe970
* * mcc-proto.h, mcc_reslv.c (krb5_mcc_resolve): Incoming nameEzra Peisach1997-09-153-2/+7
| | | | | | is const char * git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10195 dc483132-0cff-0310-8789-dd5450dbe970
* * scc-proto.h, scc_reslv.c (krb5_scc_resolve): Incoming nameEzra Peisach1997-09-153-2/+7
| | | | | | is const char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10194 dc483132-0cff-0310-8789-dd5450dbe970
* * fcc-proto.h, fcc_reslv.c (krb5_fcc_resolve): Incoming nameEzra Peisach1997-09-153-2/+7
| | | | | | is const char * git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10193 dc483132-0cff-0310-8789-dd5450dbe970
* Moved some of the library list file build logic from the individual MakefilesRichard Basch1997-02-233-18/+13
| | | | | | to config/win-post.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9964 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-0912-55/+59
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1997-02-0637-65/+105
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
* * scc_retrv.c: Fix def'n of flags_match to be properlyTom Yu1996-08-152-1/+6
| | | | | | parenthesized (noticed by -Wall) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8943 dc483132-0cff-0310-8789-dd5450dbe970
* * mcc_retrv.c: Add parens to def'n of flags_match because == hasTom Yu1996-08-152-1/+6
| | | | | | higher precedence than &. (noticed by -Wall) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8942 dc483132-0cff-0310-8789-dd5450dbe970
* * fcc_retrv.c (flags_match): Add parens to def'n of flags_match toTom Yu1996-08-152-1/+6
| | | | | | make comparison correct. (== has higher precedence than &) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8941 dc483132-0cff-0310-8789-dd5450dbe970
* scc_read.c:Theodore Tso1996-06-123-5/+11
| | | | | | | scc_gennew.c (krb5_scc_generate_new): Change _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8313 dc483132-0cff-0310-8789-dd5450dbe970
* fcc-proto.h: Change use of PROTOTYPE to KRB5_PROTOTYPE.Theodore Tso1996-06-125-65/+81
| | | | | | | | | | | | | Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP. fcc-getnam.c: Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP, since fcc_getname returns a char * and the old INTERFACE method bombs out when the return type contains an indirection. fcc_read.c: fcc_ops.c: Change _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8312 dc483132-0cff-0310-8789-dd5450dbe970
* Remove inclusion of malloc.h..Ezra Peisach1996-06-122-1/+4
| | | | | | | If it was really needed, it would have been included in several files, not just this one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8296 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-104-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Don't pass $(LIBCMD) on the command line. It's set in the windows.inTheodore Tso1996-06-062-1/+6
| | | | | | prologue for all Makefiles anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8271 dc483132-0cff-0310-8789-dd5450dbe970
* Updated .Sanitize fileTheodore Tso1996-06-061-7/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8248 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-061-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* For windows, mask off low 16 bits because Gradient DCE does thingsTheodore Tso1996-04-304-1/+57
| | | | | | wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7866 dc483132-0cff-0310-8789-dd5450dbe970
* Added prototype of krb5_scc_skip_header to fix Windows lint flamesTheodore Tso1996-03-212-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7690 dc483132-0cff-0310-8789-dd5450dbe970
* Added prototype of krb5_fcc_skip_header to fix Windows lint flamesTheodore Tso1996-03-212-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7689 dc483132-0cff-0310-8789-dd5450dbe970
* use KRB5_PROTOTYPEMark Eichin1996-03-121-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7607 dc483132-0cff-0310-8789-dd5450dbe970
* For MS-DOS filesystems, you must close the file before unlinking it,Theodore Tso1996-02-252-5/+11
| | | | | | otherwise the unlink() will fail. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7531 dc483132-0cff-0310-8789-dd5450dbe970
* If version is not FVNO_4, do not seek forwar a random stack value.Ezra Peisach1996-02-152-2/+9
| | | | | | Also check resturn status of lseek. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7481 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
* * 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
* Folded in danw's changes to allow building Makefiles for theTheodore Tso1996-02-072-0/+8
| | | | | | | 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
* 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
* Previously, ktype_match only made sure that the enctype was validSam Hartman1996-01-256-15/+35
| | | | | | | | | and in the set of default tgs enctypes. Now, if matching on keytype, do an exact match, else use ktype_reasonable (renamed ktype_match) to make sure the ticket is in the default tgs enctypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7384 dc483132-0cff-0310-8789-dd5450dbe970
* scc.h (KRB5_SCC_DEFAULT_VNO): Remove KRB5_SCC_DEFAULT_VNO; now set inTheodore Tso1996-01-115-13/+21
| | | | | | | | | | | | | | init_ctx.c. scc_maybe.c (krb5_scc_open_file): scc_gennew.c (krb5_scc_generate_new): Use context->scc_default_format to determine the credentials ccache type. scc_read.c (krb5_scc_read_keyblock): If reading in a version 3 credentials cache, ignore the second enctype stored in the ccache; just read it into a dummy variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7302 dc483132-0cff-0310-8789-dd5450dbe970
* fcc.h (KRB5_FCC_DEFAULT_VNO): Remove KRB5_FCC_DEFAULT_VNO; now set inTheodore Tso1996-01-114-11/+15
| | | | | | | | | | init_ctx.c. fcc_maybe.c (krb5_fcc_open_file): fcc_gennew.c (krb5_fcc_generate_new): Use context->fcc_default_format to determine the credentials cache type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7301 dc483132-0cff-0310-8789-dd5450dbe970
* If reading in a version 3 credentials cache, ignore the second enctypeTheodore Tso1996-01-112-1/+7
| | | | | | stored in the ccache; just read it into a dummy variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7290 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
* 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
* Added support for matching against a supported app. session key typeRichard Basch1995-12-053-0/+81
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7170 dc483132-0cff-0310-8789-dd5450dbe970
* Added Changelog fileTheodore Tso1995-12-011-0/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7152 dc483132-0cff-0310-8789-dd5450dbe970
* * *.c (*): initialize lock_arg to a copy of a staticMark Eichin1995-11-162-0/+9
| | | | | | | | | | | | | | (thus zero) struct flock, to avoid panic'ing sunos 4.1.4. If you call fcntl F_SETLKW with l_type == F_UNLCK and l_xxx == 15 (GRANT_LOCK_FLAG) you'll panic sunos 4.1.4 with assertion failed: ld->l_xxx != GRANT_LOCK_FLAG, file: ../../ufs/ufs_lockf.c, line: 995 Since automatic structs like these have random values in uninitialized fields, we initialize from a static struct (since using memset in this case is abhorrent, and naming l_xxx is non POSIX.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7109 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 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
* Remove ##DOS!include of config/windows.in. config/windows.in is nowTheodore Tso1995-10-074-2/+10
| | | | | | included by wconfig. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6944 dc483132-0cff-0310-8789-dd5450dbe970
* Removed "foo:: foo-$(WHAT)" lines from the MakefileTheodore Tso1995-09-256-12/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6860 dc483132-0cff-0310-8789-dd5450dbe970