git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r6877: added CLDAP testing to test_ldap.sh
[samba.git]
/
source
/
script
/
tests
/
test_ldap.sh
diff --git
a/source/script/tests/test_ldap.sh
b/source/script/tests/test_ldap.sh
index 1aeb74baa8ee5ec25f3e28b7345b791303c33a00..ea2e6ad7aa17e9b85ccd8efc9ec1296439ecc43d 100755
(executable)
--- a/
source/script/tests/test_ldap.sh
+++ b/
source/script/tests/test_ldap.sh
@@
-13,8
+13,11
@@
echo "BASEDN is $BASEDN"
echo "Listing Users"
echo "Listing Users"
-ldbsearch -H ldap://$SERVER -b "$BASEDN" '(objectclass=user)' sAMAccountName
+ldbsearch -H ldap://$SERVER -b "$BASEDN" '(objectclass=user)' sAMAccountName
|| exit 1
echo "Listing Groups"
echo "Listing Groups"
-ldbsearch -H ldap://$SERVER -b "$BASEDN" '(objectclass=group)' sAMAccountName
+ldbsearch -H ldap://$SERVER -b "$BASEDN" '(objectclass=group)' sAMAccountName || exit 1
+
+echo "CLDAP test"
+bin/smbtorture //$SERVER/_none_ LDAP-CLDAP || exit 1