Parancsolj, a honlapon található gyakorlat anyag hasznos.
meres@linux:~> ldapsearch -H ldap://localhost:389 -x -b "ou=Hotels,dc=irf,dc=local" -s one "(objectclass=organizationalunit)" dn ou
# extended LDIF
#
# LDAPv3
# base <ou=Hotels,dc=irf,dc=local> with scope oneLevel
# filter: (objectclass=organizationalunit)
# requesting: dn ou
#
# Europe, Hotels, irf.local
dn: ou=Europe,ou=Hotels,dc=irf,dc=local
ou: Europe
# Asia, Hotels, irf.local
dn: ou=Asia,ou=Hotels,dc=irf,dc=local
ou: Asia
# Africa, Hotels, irf.local
dn: ou=Africa,ou=Hotels,dc=irf,dc=local
ou: Africa
# search result
search: 2
result: 0 Success
# numResponses: 4
# numEntries: 3