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:
parent
13a3fdf933
commit
e87dd1091a
@ -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