1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r9346: allow test_ldap.sh to be called when $CONFFILE is not set

(This used to be commit 3ad02091f6)
This commit is contained in:
Andrew Tridgell 2005-08-17 02:56:39 +00:00 committed by Gerald (Jerry) Carter
parent a533f398aa
commit 5bf803ff82

View File

@ -10,7 +10,7 @@ fi
# see if we support ldaps
if grep HAVE_LIBGNUTLS.1 include/config.h > /dev/null &&
grep tls.enabled.=yes $CONFFILE > /dev/null; then
test -n "$CONFFILE" && grep tls.enabled.=yes $CONFFILE > /dev/null; then
PROTOCOLS="ldap ldaps"
else
PROTOCOLS="ldap"