From fdd4c5f879c2bdfb9f15d18dd46736f7e05ec89d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 27 Mar 2007 08:06:05 +0000 Subject: r21971: Fill in some more values in config files from variables, so we can better setup multiple environments. Run the mk-keyblobs script before we need variables it defines. Andrew Bartlett (This used to be commit 448ffc68f35f54ea9e754764311eceaf84b465da) --- source4/script/tests/mktestdc.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/source4/script/tests/mktestdc.sh b/source4/script/tests/mktestdc.sh index da12857479..234a1dcdb9 100755 --- a/source4/script/tests/mktestdc.sh +++ b/source4/script/tests/mktestdc.sh @@ -17,6 +17,7 @@ if test -z "$SMBD_LOGLEVEL"; then SMBD_LOGLEVEL=1 fi +SERVER_ROLE="domain controller" DOMAIN=SAMBADOMAIN USERNAME=administrator REALM=SAMBA.EXAMPLE.COM @@ -86,7 +87,7 @@ cat >$CONFFILE</dev/null || exit 1 +. `dirname $0`/mk-keyblobs.sh + cat >$KRB5_CONFIG<$KRB5_CONFIG<$KRB5_CONFIG</dev/null 2>&1 || { echo "">&2 -- cgit