37 lines
777 B
INI
37 lines
777 B
INI
|
debug = true
|
||
|
|
||
|
[ldap]
|
||
|
enabled = true
|
||
|
listen = "0.0.0.0:389"
|
||
|
|
||
|
[ldaps]
|
||
|
enabled = false
|
||
|
|
||
|
[backend]
|
||
|
datastore = "config"
|
||
|
baseDN = "dc=example,dc=com"
|
||
|
|
||
|
[[users]]
|
||
|
name = "admin"
|
||
|
mail = "admin@localhost"
|
||
|
uidnumber = 5001
|
||
|
primarygroup = 5501
|
||
|
passsha256 = "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918" # admin
|
||
|
[[users.capabilities]]
|
||
|
action = "search"
|
||
|
object = "*"
|
||
|
[[users.customattributes]]
|
||
|
objectClass = [ "inetOrgPerson" ]
|
||
|
|
||
|
[[users]]
|
||
|
name = "jdoe"
|
||
|
mail = "jdoe@localhost"
|
||
|
uidnumber = 5006
|
||
|
primarygroup = 5501
|
||
|
passsha256 = "d30a5f57532a603697ccbb51558fa02ccadd74a0c499fcf9d45b33863ee1582f" # jdoe
|
||
|
[[users.customattributes]]
|
||
|
objectClass = [ "inetOrgPerson" ]
|
||
|
|
||
|
[[groups]]
|
||
|
name = "webapps"
|
||
|
gidnumber = 5501
|