outpost/ldap: add sAMAccountName on groups for compatibility
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
669b5db8e5
commit
54b7ef42f5
|
@ -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