forked from mirror/prosody
e6415fa513
This commit updates the docker-compose.yml file to use example.com domain instead of localhost. It also adds a new Prosody instance using LDAP authentication with glauth as the backend. The commit also includes a new file config.cfg for the glauth server configuration.
52 lines
1 KiB
INI
52 lines
1 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"
|