Can some one tell me how to add users to group using ldif file?
what should be in the ldif file
for example
cn=group1,ou=Groups,dc=mydom,dc=com
changetype: modify
what else?
It would depend on objectclass you're using for group. If it's groupOfNames, LDIF file would be:
dn: cn=group1,ou=Groups,dc=mydom,dc=com
changetype: modify
add: member
member: *DN_you_want_to_add_goes_here*
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more