summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-18 04:23:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:53 -0500
commite87dd1091ac7abc6d733b87dabde2a71cdb16253 (patch)
treef555e91060987c06e1f23857c2af89b613ea4f10 /source4
parent13a3fdf933c3ebdc0fd5bc0f3460d201a7c6b229 (diff)
downloadsamba-e87dd1091ac7abc6d733b87dabde2a71cdb16253.tar.gz
samba-e87dd1091ac7abc6d733b87dabde2a71cdb16253.tar.bz2
samba-e87dd1091ac7abc6d733b87dabde2a71cdb16253.zip
r6877: added CLDAP testing to test_ldap.sh
(This used to be commit b64936b9a9123da0335a67865fb356dde9753714)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/tests/test_ldap.sh7
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