mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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:
parent
a533f398aa
commit
5bf803ff82
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user