Reputation: 924
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
Upvotes: 0
Views: 245
Reputation: 26
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*
Upvotes: 1