diff options
-rwxr-xr-x | source4/script/tests/test_ldap.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/script/tests/test_ldap.sh b/source4/script/tests/test_ldap.sh index 1aeb74baa8..ea2e6ad7aa 100755 --- a/source4/script/tests/test_ldap.sh +++ b/source4/script/tests/test_ldap.sh @@ -13,8 +13,11 @@ echo "BASEDN is $BASEDN" 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" -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 |