1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-28 03:22:19 +02:00

Match aliases as groups

This commit is contained in:
Yohann D'ANELLO
2021-01-03 05:07:25 +01:00
parent 8d2adad509
commit 7e0ee7aba5
3 changed files with 30 additions and 11 deletions

View File

@ -42,7 +42,7 @@ func New() *Config {
Credentials: make(map[string]string),
},
LDAP: ldap.Options{
Aliases: make(map[string]string),
Aliases: make(map[string]map[string]string),
URI: "ldap://127.0.0.1:389",
UserDn: "cn=users,dc=example,dc=com",
},