summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache/file
Commit message (Collapse)AuthorAgeFilesLines
* Delete subdirectories we aren't compiling any more.Ken Raeburn2000-07-1429-3675/+0
| | | | | | | | Rescued contents of "README", "todo", and test cases. Test cases aren't actually used at present; this should be fixed, but they'll probably need some work. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12547 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unused variablesEzra Peisach2000-06-292-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12454 dc483132-0cff-0310-8789-dd5450dbe970
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-011-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
* log tritan's changesTom Yu1999-10-261-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES suchWilfredo Sanchez1999-10-261-1/+0
| | | | | | | that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11876 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-2423-23/+92
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* implement KRB5_TC_SUPPORTED_KTYPES and common _retrieve methods; from 1.1 branchKen Raeburn1999-09-012-0/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11768 dc483132-0cff-0310-8789-dd5450dbe970
* Use PostMessage instead of SendMessage so that we don't blockDanilo Almeida1999-06-102-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11508 dc483132-0cff-0310-8789-dd5450dbe970
* Do win32 build in subdirDanilo Almeida1999-05-102-8/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11432 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-053-156/+29
| | | | | | | | | | to buildtop and thisconfigdir, respectively.) fcc_maybe.c (fcc_lock_file): Removed all of the filesystem-dependent mess for file locking, which has been now properly moved to krb5_lock_file(), where it belongs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11068 dc483132-0cff-0310-8789-dd5450dbe970
* Replaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is ↵Miro Jurisic1998-07-171-1/+1
| | | | | | the standard symbol defined by all Mac compiler (oh, sure, it doesn't have _. but at least it's always there) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10653 dc483132-0cff-0310-8789-dd5450dbe970
* Collapse lib/krb5's configure.in files into a single top-levelTheodore Tso1998-02-282-1/+7
| | | | | | configure.in file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10476 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-182-2/+7
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-123-7/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* Remove KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF, and replaceTom Yu1997-09-263-2/+8
| | | | | | | 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
* * 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-232-14/+9
| | | | | | 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-093-12/+17
| | | | 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-0618-22/+44
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 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
* 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
* cvsignore hackeryTom Yu1996-06-101-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* For windows, mask off low 16 bits because Gradient DCE does thingsTheodore Tso1996-04-302-0/+23
| | | | | | wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7866 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
* 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
* * 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
* 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-252-5/+13
| | | | | | | | | 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
* 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-212-4/+7
| | | | | | 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 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-051-0/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7170 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
* Remove ##DOS!include of config/windows.in. config/windows.in is nowTheodore Tso1995-10-072-1/+5
| | | | | | 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-252-4/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6860 dc483132-0cff-0310-8789-dd5450dbe970
* signed/unsigned mismatchTheodore Tso1995-09-232-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6824 dc483132-0cff-0310-8789-dd5450dbe970
* Reintegrate changes lost during Macintosh checkinEzra Peisach1995-09-126-15/+62
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6763 dc483132-0cff-0310-8789-dd5450dbe970
* Mac Beta 1 submissionKeith Vetter1995-09-117-59/+32
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6749 dc483132-0cff-0310-8789-dd5450dbe970
* * file_read.c, file_write.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/gChris Provenzano1995-09-063-4/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6722 dc483132-0cff-0310-8789-dd5450dbe970
* * fcc.h : Add another KRB5_FCC_FVNO but don't up the default.Chris Provenzano1995-09-066-13/+51
| | | | | | | | | | * fcc_gennew.c, fcc_maybe.c : New version saves a length after version for whatever we want to put into the ccache before the first credential (like a time skew) * fcc_read.c, fcc_write.c : Remove krb5_enctype references, and replace with krb5_keytype where appropriate git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6683 dc483132-0cff-0310-8789-dd5450dbe970
* Add ccache serialization supportPaul Park1995-08-292-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6614 dc483132-0cff-0310-8789-dd5450dbe970
* Add prototype for krb5_fcc_readEzra Peisach1995-07-112-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6282 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for Macintosh implementationKeith Vetter1995-07-064-4/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6229 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef around switch statement for ETXTBUSYTheodore Tso1995-06-152-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6067 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure the status return from krb5_fcc_store_principal is reflectedTheodore Tso1995-06-102-1/+7
| | | | | | in the return status of krb5_fcc_initialize(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6030 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Remove standardized set of autoconf macros, which areTheodore Tso1995-06-093-4/+8
| | | | | | | | now handled by CONFIG_RULES. fcc_maybe.c: Fix -Wall nits git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6022 dc483132-0cff-0310-8789-dd5450dbe970
* Add support for building shared librariesTheodore Tso1995-05-273-1/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5904 dc483132-0cff-0310-8789-dd5450dbe970