Quick Actions
ldapcompare
Description
Compare an attribute value with an LDAP entry.
Command
ldapcompare
Examples
Compare attribute value
ldapcompare -H ldap://localhost:389 -D "cn=admin,dc=example,dc=com" -w password "uid=john,ou=people,dc=example,dc=com" -a mail "john@example.com"
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
-H |
string | No | LDAP server URI |
-D |
string | No | Bind DN |
-w |
string | No | Bind password |
-a |
string | No | Attribute name |
Command Info
Category:
Search Operations
Type:
Ldap
Views:
12
Status:
Active
Tags
compare
attribute
value