ldap_auth is unable to resolv group membership
|Assignee:||Javi Fontan||% Done:|
|Category:||Drivers - Auth|
|Target version:||Release 4.10.1|
|Affected Versions:||OpenNebula 4.10|
just tried to connect one to our openldap-system. It failed, because (our) openldap (it's a ucs - univention corporate server / samba4) isn't returning the memberOf attribute if you do not ask for.
So attached my small patch which will request the attribute.
I also added a ".uniq" to the returned grouplist to avoid useless loops.
bug #3354: ask for memberOf attribute in ldap auth
Patch sent by Fabian Zimmermann.