LDAP "bind" paramater ignores users in the subgroups that are members of the bound group (no recursive user import)
Only ActiveDirectory/LDAP users that are directly added to the bound RocketChat access ldap group are getting access to RocketChat. Users within groups that are menbers of the bound acces Group are ignored/not imported. So there seems to be no recursive user Import, even if the "sub" param is set to the "filter sting" of the bind search.
@finius can you help to fix this?
I must confess, I am no LDAP/AD expert at all. Maybe this can be solved by simply modifying the filter string. If none can support here I will see if the can a simple user sided solution be found. But maybe the developers should take a look at ownCloud and it's LDAP integration.
I haven't made any progress in this matter. Any AD/LDAP experts in here?
@Megatronic79 Can you help us here?
So the issue is with users that say belong to a group within a group not authenticating?
Such as domain.com (OU) > groups (OU) > ROCKET_CHAT > SUBGROUP (users live here) ?
Right. Say, ldap authentification is enabled for a group ROCKETCHAT. Users that belong to that group (are direct members of this group) can authenticate. If you now add a group VIPUSER as a member to the group ROCKETCHAT, the members of VIP can't authenticate...
Ok thanks for the confirmation @finius we can look at that one.
Hi guys, do we know if this is still an issue?
This is not a problem with RocketChat, but with the LDAP search. To correct this you can use Matching Rule OID. For this case change MemberOf=SG to MemberOf:1.2.840.113556.1.4.1941:=SG Where SG is the parent security group.
See https://msdn.microsoft.com/en-us/library/aa746475(VS.85).aspx for more information.
I found this from http://stackoverflow.com/questions/6195812/ldap-nested-group-membership
@plutz thanks for the info, will review and see i it helps our issue.
@plutz solution worked for me.
Closing this for @plutz solution. If the problem persists, please reopen this with updated details. Thanks!