Description of problem:
I use sssd to authenticate to my company's network via krb5/ldap.
Earlier when i used ldap/krb5 conf-files, secondary groups where shown with id. This only worked when I added "nss_map_attribute uniqueMember member" in /etc/ldap.conf.
uid=2111(testuser) gid=1180(testgroup) groups=1017(edb),1180(testgroup)
When i changed to sssd, only primary group is shown.
uid=2111(testuser) gid=1180(testgroup) groups=1180(testgroup)
Is it possible to get this info using sssd also?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Ok, this has been a bone of contention in the setup for a while.
What's going on here is that your LDAP server is operating in compliance with the RFC2307bis standard, while SSSD assumes by default that it is running with RFC2307.
The short answer is: for your deployment, you want to set the variable
ldap_schema = rfc2307bis
in your [domain/<yourdomain>] section of /etc/sssd/sssd.conf
For a little additional information, the difference between the RFC2307bis standard and the RFC2307 standard is this:
RFC2307 uses the 'memberUid' attribute to store the name of members
RFC2307bis uses the 'member' attribute to store the DN of members (which allows things like nested groups)
I have a bug open upstream ( https://fedorahosted.org/sssd/ticket/438 ) to add some additional comments into the sample sssd.conf file that we install to make this more clear.
If setting this value resolves your issue, please close this bug.
Yep, this fixes my bug. :-)