Hi everyone,
I am trying to import existing members to a distribution group I already created. Knowing only a few things about LDAP and the LDIF files, I browsed the Internet and found this code:
version: 1
dn: cn=test,ou=myusers,DC=domain
changetype: modify
add: groupMembership
groupMembership: cn=group1,ou=mygroups,DC=domain
-
dn: cn=group1,ou=mygroups,DC=domain
changetype: modify
add: member
member: cn=test,ou=myusers,DC=domain
-
This is what I get from the CLI when I enter:
C:\myldapfiles>ldifde -i -f test.ldf -k -j C:\myldapfiles
Connecting to "***"
Logging in as current user using SSPI
Importing directory from file "test.ldf"
Loading entries.
Add error on entry starting on line 3: No Such Attribute
The server side error is: 0x57 The parameter is incorrect.
The extended server error is:
00000057: LdapErr: DSID-0C090B73, comment: Error in attribute conversion operation, data 0, v1772
0 entries modified successfully.
An error has occurred in the program
I really don't understand what is wrong with this code. I tested it and found it worked when I removed the groupMembership attribute and keep only the second half of the file. Could someone give me some pointers, please ?
Thanks!
Coyoth
Bookmarks