1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

r6877: added CLDAP testing to test_ldap.sh

(This used to be commit b64936b9a9123da0335a67865fb356dde9753714)
This commit is contained in:
Andrew Tridgell 2005-05-18 04:23:12 +00:00 committed by Gerald (Jerry) Carter
parent 13a3fdf933
commit e87dd1091a

View File

@ -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