简体   繁体   中英

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

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*

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM