Adding users to multiple groups in Openldap
I need to modify user properties to add them in multiple groups. I have modified GID of user to make it the member of particular group. Not sure if this fine but its working for me.
But want to know that how to add one user in multiple groups.
This is my ldif file,
What you need to do to put a user in multiple groups is to modify the LDAP entries of the secondary grouo(s) and add a memberUid field with the user's name. This is morally the same as adding the user to the group by editing the entry in /etc/groups on a non-LDAP system.
In short, you caan only change the primary GID by editing the user's DN. To modify the secondary group entries, you need to modify the DNs of the affected group(s).
|All times are GMT -5. The time now is 04:17 AM.|