|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Ldif file format
Hi This is my ldif file:
dn: cn=Manager,dc=test,dc=com dc: test description: This is my Wonderful company as much text as you want to put in this line upto 32 K objectClass: top objectClass: dcObject objectClass: person objectClass: organization objectClass: inetOrgPerson #First Level Hierarchy dn: cn=Manager,ou=people,dc=test,dc=com dc: test ou: people description: All people in organisation objectClass: organizationalunit cn: smith sn: rod mail:cn.sn at test dot com #dc: test.com #Second Level hierarchy dn: cn=Kevin Rule,ou=people,dc=test,dc=com dc:test objectClass: inetOrgPerson cn: Kevin Rule cn: kevin sn: rule mail:cn.sn at test dot com #dc: test.com When imported the same I get the following errors: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - invalid structural object class chain (person/organization)]; remaining name 'dc=test,dc=com' Can anyone tell me where is my ldif file wrong, or why is this error so. Thanks |
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > Ldif file format |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|