Translating ldapsearch arguments to LDAP configuration items
Purpose | ldapsearch argument | ldap { … } config item |
---|---|---|
Limit number of search results |
|
Not supported. |
Use basic authentication |
|
Set by default. |
LDAP Host URI |
|
|
Base DN |
|
|
Bind DN |
|
|
Bind Password |
|
|
Enable LDAPS |
|
|
Enable StartTLS |
|
|
Specify RootCA and intermediaries |
|
|
Require cert validation to succeed |
|
|
Users
Purpose | ldap { user { … } } config item |
---|---|
Specify where to search for users |
|
Specify how to find a user |
```filter = "(&(<user_filter>)(<user_uid_attribute>=%{&Stripped-User-Name |
&User-Name)"``` |
|
Retrieve a "known good" password |
|
Allow accounts to be explicitly disabled |
|
Require accounts to be explicitly enabled |
|
Groups - Common
Purpose | ldap { group { … } } config item |
---|---|
Specify where to search for group |
|
Specify which objects are groups |
|
Specify which attribute in a group object identifies the group |
|
Groups - variant 1
User objects reference groups using DNs.
Purpose | ldap { group { … } } config item |
---|---|
Specify how to find group objects by DN, when referenced by a user object. |
|
Groups - variant 2
User objects reference groups using group names.
Purpose | ldap { group { … } } config item |
---|---|
Specify how to find group objects by name, when referenced by a user object. |
|