Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

failed to import entry in AD

$
0
0

I am going to import below by using ldifde: 

dn: l=hjloc,ou=hjou,o=hj01,dc=hj,dc=com
name: hjloc
managedBy: CN=Administrator,CN=Users,dc=hj,dc=com
l: hjloc
objectClass: top
objectClass: Locality
distinguishedName: l=hjloc,ou=hjou,o=hj01,dc=hj,dc=com
objectCategory: CN=Locality,CN=Schema,CN=Configuration,dc=hj,dc=com

but always got below error:

Add error on entry starting on line 1: Object Class Violation
The server side error is: 0x207d An attempt was made to modify an object to include an attribute that is not legal for its class.

The extended server error is:
0000207D: UpdErr: DSID-0315121C, problem 6002 (OBJ_CLASS_VIOLATION), data 590477
0 entries modified successfully.
An error has occurred in the program

s, if I change l to ou,and Locality to Organizational-Unit, then I can import correctly, could any one tell me how to import for Locality type object? thanks


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>