How to add LDAP entry that with more than one OU
Posted on 2014-01-17
I have been adding new entries to AD using ldf for a long time very successfully. The beginning of the entry looks like:
Now, I need to add very similar entries into the OU:
The obvious to me was:
but I get the following error:
C:\d drive scripts>ldifde -i -f "2014-01-16-NewAD_1.ldf" -s seacat -j "c:\d drive scripts"
Connecting to "seacat"
Logging in as current user using SSPI
Importing directory from file "2014-01-16-NewAD_1.ldf"
Add error on entry starting on line 6: Invalid DN Syntax
The server side error is: 0x2081 Multiple values were specified for an attribute
that can have only one value.
The extended server error is:
00002081: NameErr: DSID-03050C42, problem 2003 (BAD_ATT_SYNTAX), data 0, best ma
The entire entry (with name obsfucated) is:
# Creates built at: 01/16/2014 16:27
# LDAPJacks_Name_Lookup has been updated, so if this batch is not processed that file will need to be manipulated
dn: CN=Last\, First,OU=Import,OU=Stu_Applicants,DC=jacks,DC=local
cn: Last, First Middle
displayname: Last, First Middle - SDSU Student
name: First Middle Last
streetAddress: Off Campus
physicalDeliveryOfficeName: Off Campus
userParameters: m: d\t