Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm setting up ldap authentication with sssd for a linux server. everything works fine. however, the users from the ldap server have a default group User. which is,

uid=10001 (larry), gid= 20001 (User), groups = 20001 (User), 20002 (dev)

I'm wondering is there anyway to override/filter the default User group so it will be something like?

uid=10001 (larry), gid= 10001 (larry), groups = 20002 (dev), which is like default linux user/group,

or

uid=10001 (larry), gid= 20002 (dev), groups = 20002 (dev)

share|improve this question

1 Answer 1

The only possibility I know is using nss_override_attribute_value. I don't know if this helps for your specific case. Example:

nss_override_attribute_value gidNumber 20002
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.