borna
borna

Reputation: 924

adding users to group in IBM Directory server (LDAP)

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

Answers (1)

btsdido
btsdido

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

Related Questions