1
0
Fork 0

LDAP: documentation

This commit is contained in:
baslr 2017-04-03 13:40:35 +02:00
parent d18428561d
commit d68f86b4c6
1 changed files with 10 additions and 4 deletions

View File

@ -52,17 +52,23 @@ If the user is found a authentication is done with the users DN and password and
#### additional options
--ldap.searchfilter "objectClass=*"
--ldap.search-filter "objectClass=*"
Restrict the search to specific object classes. The default is `objectClass=*`.
--ldap.searchattribute "uid"
--ldap.search-attribute "uid"
`--ldap.searchattribute` specifies which attribute to compare with the *username*.
`--ldap.search-attribute` specifies which attribute to compare with the *username*. The default is `uid`.
--ldap.search-scope sub
`--ldap.search-scope specifies in which scope to search for a user. Valid are one of *base*, *one* or *sub*. The default is *sub*.
### ldap url
--ldap.url <string> ldap url, eg. TBD (default: "")
--ldap.url ldap://ldap.server.com:1234/dc=example,dc=com?uid?sub
The ldap url consists of the ldap server and port, a *basedn*, a search attribute and a scope which can be one of *base*, *one* or *sub*.
### TLS options