0
votes

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?

Thanks Borna

1

1 Answers

1
votes

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*