svn commit: samba r6877 - in branches/SAMBA_4_0/source/script/tests: .

tridge at samba.org tridge at samba.org
Wed May 18 04:23:12 GMT 2005


Author: tridge
Date: 2005-05-18 04:23:12 +0000 (Wed, 18 May 2005)
New Revision: 6877

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6877

Log:
added CLDAP testing to test_ldap.sh

Modified:
   branches/SAMBA_4_0/source/script/tests/test_ldap.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_ldap.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_ldap.sh	2005-05-18 04:18:19 UTC (rev 6876)
+++ branches/SAMBA_4_0/source/script/tests/test_ldap.sh	2005-05-18 04:23:12 UTC (rev 6877)
@@ -13,8 +13,11 @@
 
 
 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
+



More information about the samba-cvs mailing list