I am getting the error below when trying to import ldf file with bunch of attributes. WE have custom schema so I need to find out which attributes it is complaning about.
DO you know how can I compare attributes source and target schemas and determine the custom attributes that I am missing in my target schema? I can then use script to import only the ones that I have in the schema. Please note that LDIFDE script doesn't allow me to exclude attributes but I can list the attributes that I want to import. So, I would like to get the list of the attributes that are present in both schemas and attributes that are custom.
Here is the error:
Add error on line 2: No Such Attribute
The server side error is "The parameter is incorrect."
0 entries modified successfully.
An error has occurred in the program
Also this error tells me the line 2.....but still not sure which attribute on line 2. See below:
onnecting to "server01.lab.contoso.com"
Logging in as current user using SSPI
Importing directory from file "OutputUser2.ldf"
1: CN=Ong\, Khoon Doe,OU=Asia Pacific,OU=Terminated Users,DC=lab,DC=contoso,DC=com
Entry DN: CN=Ong\, Khoon Doe,OU=Asia Pacific,OU=Terminated Users,DC=lab,DC=contoso,DC=com
Attribute 0) objectClass:top person organizationalPerson user
Attribute 1) cn:Ong, Khoon Doe
Attribute 2) sn:Ong
Attribute 3) c:CN
Attribute 4) l:Tsimshatsui
Attribute 5) st:Hong Kong ,SAR