git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475c222
)
Set KRB5_CONFIG earlier in check-ldap
author
Nicolas Williams
<nico@twosigma.com>
Tue, 15 Nov 2016 20:16:54 +0000
(14:16 -0600)
committer
Nicolas Williams
<nico@twosigma.com>
Tue, 15 Nov 2016 20:16:54 +0000
(14:16 -0600)
Otherwise the kdc won't find the plugin.
tests/ldap/check-ldap.in
patch
|
blob
|
history
diff --git
a/tests/ldap/check-ldap.in
b/tests/ldap/check-ldap.in
index 3f706bd62a6b021c755932b4856be22b1929375f..28bf5eb3f32dc2b00d12c627a6855ac70a1c9a2d 100644
(file)
--- a/
tests/ldap/check-ldap.in
+++ b/
tests/ldap/check-ldap.in
@@
-52,6
+52,9
@@
kdc="${TESTS_ENVIRONMENT} ../../kdc/kdc --addresses=localhost -P $port"
testfailed="echo test failed; exit 1"
+KRB5_CONFIG="${objdir}/krb5.conf"
+export KRB5_CONFIG
+
# If there is no ldap support compile in, disable test
if ${kdc} --builtin-hdb | grep ldap > /dev/null ; then
:
@@
-84,9
+87,6
@@
sh ${objdir}/slapd-init || exit 1
trap "sh ${srcdir}/slapd-stop ; exit 1;" EXIT
-KRB5_CONFIG="${objdir}/krb5.conf"
-export KRB5_CONFIG
-
rm -f current-db*
> messages.log