1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

r6877: added CLDAP testing to test_ldap.sh

This commit is contained in:
Andrew Tridgell 2005-05-18 04:23:12 +00:00 committed by Gerald (Jerry) Carter
parent ee75a8353b
commit b64936b9a9

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