Proper LDIF format for adding Users to Groups.
(Last modified: 30May2006)
This document (10101120) is provided subject to the disclaimer at the end of this document.
goal
Proper LDIF format for adding Users to Groups.
fact
Novell eDirectory 8.8 for All Platforms
Novell eDirectory 8.7 for All Platforms
Novell eDirectory 8.6 for All Platforms
Novell eDirectory 8.5 for All Platforms
cause
When a User is added to a Group via any administration utility (NWADMIN, Console1, iManager), there are several things that happen because of the utility itself. The User gets 2 attributes (securityEquals and groupMembership) and the Group gets 2 attributes (member and equivalentToMe). There are also some hidden Reference attributes made, but these are also created with adding users with an LDF. The file format below will show you how to accomplish this in LDF format for various scenarios.
fix
#******** The User and Group Objects already exist in eDirectory ************
version: 1
dn: cn=user1,ou=users,o=novell
changetype: modify
add: securityEquals
securityEquals: cn=group1,ou=groups,o=novell
-
add:groupMembership
groupMembership: cn=group1,ou=groups,o=novell
changetype: modify
add: member
member: cn=user1,ou=users,o=novell
-
add: equivalentToMe
equivalentToMe: cn=user1,ou=users,o=novell
change
#******** The User and Group Objects already exist in eDirectory, add to multiple groups at once************
version: 1
dn: cn=user1,ou=users,o=novell
changetype: modify
add: securityEquals
securityEquals: cn=group1,ou=groups,o=novell
securityEquals: cn=group2,ou=groups,o=novell
-
add:groupMembership
groupMembership: cn=group1,ou=groups,o=novell
groupMembership: cn=group2,ou=groups,o=novell
dn: cn=group1,ou=groups,o=novell
changetype: modify
add: member
member: cn=user1,ou=users,o=novell
-
add: equivalentToMe
equivalentToMe: cn=user1,ou=users,o=novell
dn: cn=group2,ou=groups,o=novell
changetype: modify
add: member
member: cn=user1,ou=users,o=novell
-
add: equivalentToMe
equivalentToMe: cn=user1,ou=users,o=novell
document
Document Title: | Proper LDIF format for adding Users to Groups. |
Document ID: | 10101120 |
Solution ID: | NOVL105881 |
Creation Date: | 26May2006 |
Modified Date: | 30May2006 |
Novell Product Class: | Novell Directory Services |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.