Skip to content

Commit

Permalink
Add test KDB module
Browse files Browse the repository at this point in the history
Add a simple read-only KDB module which can be used to exercise KDB
behavior which the DB2 module cannot reach.  Right now it supports
very basic get_principal functionality, aliases, and delegation
policy; in the future it could issue referrals or sign authdata.
  • Loading branch information
greghudson committed Mar 10, 2015
1 parent 9c49132 commit c8608c5
Show file tree
Hide file tree
Showing 6 changed files with 546 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ SUBDIRS=util include lib \
plugins/pwqual/test \
plugins/kdb/db2 \
@ldap_plugin_dir@ \
plugins/kdb/test \
plugins/preauth/otp \
plugins/preauth/pkinit \
plugins/tls/k5tls \
Expand Down
1 change: 1 addition & 0 deletions src/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@ dnl ccapi ccapi/lib ccapi/lib/unix ccapi/server ccapi/server/unix ccapi/test
plugins/kdb/db2/libdb2/recno
plugins/kdb/db2/libdb2/test
plugins/kdb/hdb
plugins/kdb/test
plugins/preauth/cksum_body
plugins/preauth/otp
plugins/preauth/securid_sam2
Expand Down
21 changes: 21 additions & 0 deletions src/plugins/kdb/test/Makefile.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
mydir=plugins$(S)kdb$(S)test
BUILDTOP=$(REL)..$(S)..$(S)..

LIBBASE=test
LIBMAJOR=0
LIBMINOR=0
RELDIR=../plugins/kdb/test
SHLIB_EXPDEPS=$(KADMSRV_DEPLIB) $(KRB5_BASE_DEPLIBS)
SHLIB_EXPLIBS=$(KADMSRV_LIBS) $(KRB5_BASE_LIBS)
LOCALINCLUDES=-I../../../lib/kdb -I$(srcdir)/../../../lib/kdb

SRCS = $(srcdir)/kdb_test.c

STLIBOBJS = kdb_test.o

all-unix:: all-liblinks
install-unix::
clean-unix:: clean-liblinks clean-libs clean-libobjs

@libnover_frag@
@libobj_frag@
Empty file added src/plugins/kdb/test/deps
Empty file.

0 comments on commit c8608c5

Please sign in to comment.