Skip to content

Commit

Permalink
Add the DIR ccache type
Browse files Browse the repository at this point in the history
The DIR ccache type supports a collection of credential caches within
a private directory (which must be created out of band).  One cache is
designated as primary at any given time.  Setting the default cache
name to DIR:dirname will cause caches within dirname to be present in
the global cache collection.

ticket: 6953

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25154 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
greghudson committed Sep 5, 2011
1 parent ca474e3 commit 319c01a
Show file tree
Hide file tree
Showing 7 changed files with 755 additions and 27 deletions.
3 changes: 3 additions & 0 deletions src/lib/krb5/ccache/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ STLIBOBJS= \
cccursor.o \
ccdefault.o \
ccdefops.o \
cc_dir.o \
cc_retr.o \
cc_file.o \
cc_memory.o \
Expand All @@ -36,6 +37,7 @@ OBJS= $(OUTPRE)ccbase.$(OBJEXT) \
$(OUTPRE)cccursor.$(OBJEXT) \
$(OUTPRE)ccdefault.$(OBJEXT) \
$(OUTPRE)ccdefops.$(OBJEXT) \
$(OUTPRE)cc_dir.$(OBJEXT) \
$(OUTPRE)cc_retr.$(OBJEXT) \
$(OUTPRE)cc_file.$(OBJEXT) \
$(OUTPRE)cc_memory.$(OBJEXT) \
Expand All @@ -48,6 +50,7 @@ SRCS= $(srcdir)/ccbase.c \
$(srcdir)/cccursor.c \
$(srcdir)/ccdefault.c \
$(srcdir)/ccdefops.c \
$(srcdir)/cc_dir.c \
$(srcdir)/cc_retr.c \
$(srcdir)/cc_file.c \
$(srcdir)/cc_memory.c \
Expand Down
3 changes: 3 additions & 0 deletions src/lib/krb5/ccache/cc-int.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,7 @@ k5_cc_mutex_force_unlock(k5_cc_mutex *m);
krb5_error_code
k5_cccol_force_unlock(void);

krb5_error_code
krb5int_fcc_new_unique(krb5_context context, char *template, krb5_ccache *id);

#endif /* __KRB5_CCACHE_H__ */
Loading

0 comments on commit 319c01a

Please sign in to comment.