53 lines
1.0 KiB
INI
53 lines
1.0 KiB
INI
|
[ldap]
|
||
|
enabled = true
|
||
|
listen = "0.0.0.0:389"
|
||
|
|
||
|
[ldaps]
|
||
|
enabled = false
|
||
|
|
||
|
[backend]
|
||
|
datastore = "config"
|
||
|
baseDN = "dc=example,dc=com"
|
||
|
|
||
|
[[groups]]
|
||
|
name = "svc"
|
||
|
gidnumber = 5500
|
||
|
|
||
|
[[groups]]
|
||
|
name = "people"
|
||
|
gidnumber = 5501
|
||
|
|
||
|
[[users]]
|
||
|
name = "svc"
|
||
|
uidnumber = 5000
|
||
|
primarygroup = 5500
|
||
|
passsha256 = "ef797c8118f02dfb649607dd5d3f8c7623048c9c063d532cc95c5ed7a898a64f"
|
||
|
|
||
|
[[users.capabilities]]
|
||
|
action = "search"
|
||
|
object = "*"
|
||
|
|
||
|
[[users]]
|
||
|
name = "admin"
|
||
|
uidnumber = 5001
|
||
|
primarygroup = 5501
|
||
|
passsha256 = "ef797c8118f02dfb649607dd5d3f8c7623048c9c063d532cc95c5ed7a898a64f"
|
||
|
|
||
|
[[users]]
|
||
|
name = "user1"
|
||
|
uidnumber = 5002
|
||
|
primarygroup = 5501
|
||
|
passsha256 = "ef797c8118f02dfb649607dd5d3f8c7623048c9c063d532cc95c5ed7a898a64f"
|
||
|
|
||
|
[[users]]
|
||
|
name = "user2"
|
||
|
uidnumber = 5003
|
||
|
primarygroup = 5501
|
||
|
passsha256 = "ef797c8118f02dfb649607dd5d3f8c7623048c9c063d532cc95c5ed7a898a64f"
|
||
|
|
||
|
[[users]]
|
||
|
name = "user3"
|
||
|
uidnumber = 5004
|
||
|
primarygroup = 5501
|
||
|
passsha256 = "ef797c8118f02dfb649607dd5d3f8c7623048c9c063d532cc95c5ed7a898a64f"
|