[英]adding users to group in IBM Directory server (LDAP)
Can some one tell me how to add users to group using ldif file?有人可以告诉我如何使用 ldif 文件将用户添加到组中吗? what should be in the ldif file for example cn=group1,ou=Groups,dc=mydom,dc=com changetype: modify what else? ldif 文件中应该有什么,例如 cn=group1,ou=Groups,dc=mydom,dc=com changetype: 还修改什么?
Thanks Borna谢谢博尔纳
It would depend on objectclass you're using for group.这将取决于您用于组的对象类。 If it's groupOfNames , LDIF file would be:如果是groupOfNames ,LDIF 文件将是:
dn: cn=group1,ou=Groups,dc=mydom,dc=com
changetype: modify
add: member
member: *DN_you_want_to_add_goes_here*
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.