Hi,
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,
dn: uid=testoprldap,dc=test,dc=com
uid: testoprldap
cn: testoprldap
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: organizationRole
objectClass: UserMail
userPassword: {crypt}$1$OaJH.Q.E$oGqx0aMeL9Z1NE1w7kmM//
shadowLastChange: 15581
shadowMin: 0
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 10115
gidNumber: 10001
role: ldap-operator
usermail:
testoprldap@testoprldap.com
homeDirectory: /home/testoprldap