Allows you to search the ldap Directory
usage: ldapsearch [options] [filter [attributes...]]
Search | Example |
---|---|
Add | '(&(mail=*)(uid=provisioner*))' |
OR | '(|(member=*)(mail=*))' |
example
|
These parameters are used with all ldap commands
Parameter | Description | Example |
---|---|---|
-D binddn | Bind DN | -D cn=admin,dc=pci,dc=irdeto,dc=com |
-w passwd | Bind password (for simple authentication) | -w xxxxxx |
-b basedn | Base DN | -b 'dc=pci,dc=irdeto,dc=com' |
-h host | LDAP Server | -h localhost |
-H URI | LDAP URI | -H ldaps:// |
-p port | Port on LDAP server Not required when using -H URI | -p 389 |
|