outpost/ldap: add sAMAccountName on groups for compatibility
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -182,6 +182,10 @@ func (pi *ProviderInstance) GroupEntry(g LDAPGroup) *ldap.Entry {
|
|||||||
Name: "uid",
|
Name: "uid",
|
||||||
Values: []string{g.uid},
|
Values: []string{g.uid},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Name: "sAMAccountName",
|
||||||
|
Values: []string{g.cn},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Name: "gidNumber",
|
Name: "gidNumber",
|
||||||
Values: []string{g.gidNumber},
|
Values: []string{g.gidNumber},
|
||||||
|
Reference in New Issue
Block a user