Set up db_module_dir correctly in krb5.conf for test
authorTom Yu <tlyu@mit.edu>
Sat, 4 Oct 2008 00:01:25 +0000 (00:01 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 4 Oct 2008 00:01:25 +0000 (00:01 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20823 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/mkeystash_compat/Makefile.in

index b4fd7e45dcdf209a1c57aac63b26fca3a58cb9c0..2ae3caea60fcb944426825c17043547c5ab137fd 100644 (file)
@@ -32,6 +32,9 @@ kdc.conf: Makefile
 
 krb5.conf: Makefile
        cat $(SRCTOP)/config-files/krb5.conf > krb5.new
+       echo "[dbmodules]" >> krb5.new
+       echo " db_module_dir = $(BUILDTOP)/util/fakedest$(KRB5_DB_MODULE_DIR)" >> krb5.new
+       mv krb5.new krb5.conf
 
 # Verify that the mkey stash code is backward compat with old/non-keytab stashfile format
 mkeystash_check: kdc.conf krb5.conf bigendian