-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling the primary usergroup that is not in <memberOf> #6
Comments
I'd say that
You could probably just push a real PR. |
Just had a look at information from an Active Directory and there is no Possibly independently of this answer, I wonder if this should be added as a configuration option; something like "Include group membership from user's primary group ID"? |
@xperseguers , the gidNumber attribute is part of the NIS Schema extension described in RFC2307. If this schema extension is activated in any given LDAP server, you can use it (but you don't have to) - depends on how the LDAP data is structured in a given organization. One should expect a lot of LDAP servers used in a unix environment to be set up with that extension. Not sure whether OpenLDAP has it enabled by default but I would think so. It's not enabled in a native AD and I'd guess it is used there rarely (but it can be added and used). Long story short: the coloumn may or may not be present in either case (AD vs OpenLDAP [vs random LDAP server]), so if support for gidNumber would be added, making its configurable would be a strong suggestion. Even if it's supported, there may be cases where some users have a gidNumber while others have not (e.g. an AD serving Windows and Unix machines with some users Windows only and others on Unix or on both. A lot of organizations I'm aware of play it save and put members explicitly into the group represented by the gidNumber as a lot of LDAP coupled tools are unaware of gidNumber. |
In the ldap system I integrate typo3 with, each user has a primary usergroup via
<gidnumber>
, but this group is not in the<memberOf>
list. I need both group membership sources for correct permissions.I have currently jury-rigged this in via
Is there a better / official way to do this?
Thanks.
The text was updated successfully, but these errors were encountered: