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:
parent
ee75a8353b
commit
b64936b9a9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user