[ 
https://issues.apache.org/jira/browse/DIRSERVER-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247563#comment-16247563
 ] 

Emmanuel Lecharny commented on DIRSERVER-2213:
----------------------------------------------

No, you can't specify an order, not can you export the data in a specific order.

The rational is that an export is done using a filter like {{(ObjectClass=*)}}, 
which will not return the entries in a specific order. Would you like to get an 
ordered ldif, it would require multiple searches (one per entry) that would 
literally kill the performances.

Clicking on the "Continue on error" should work, but you will have to import 
your ldif file many times

> Importing LDIF via Apache Directory Studio generates error
> ----------------------------------------------------------
>
>                 Key: DIRSERVER-2213
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2213
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 2.0.0-M23
>         Environment: Windows server 2012
>            Reporter: Jeremy Jackson
>            Priority: Blocker
>
> After installing Apcheds on windows and using Directory Studio to import 
> LDIF, I continually receive the following type error messages:
> {noformat}
> # nga-admin, bicc_admin, groups, gcbipb
> #!RESULT ERROR
> #!CONNECTION ldap://160.106.131.42:10389
> #!DATE 2017-11-09T14:08:19.252
> #!ERROR [LDAP: error code 32 - NO_SUCH_OBJECT: failed for MessageType : 
> ADD_REQUEST 
> Message ID : 15     
> Add Request : Entry     
> dn[n]: uid=nga-admin,cn=bicc_admin,ou=groups,o=gcbipb     
> objectClass: top    
> objectClass: person     
> objectClass: organizationalPerson    
>  objectClass: inetOrgPerson     
> objectClass: gcbipb-Client     
> TenantPrimary: 1000     
> cn: Nga Tran     
> creatorsName: 0.9.2342.19200300.100.1.1=admin,2.5.4.11=system     
> subschemaSubentry: cn=schema     
> userPassword: 0x7B 0x53 0x53 0x48 0x41 0x7D 0x7A 0x74 0x6C 0x6F 0x66 0x7A 
> 0x41 0x45 0x55 0x2F ...     
> entryUUID: bfcc7260-f921-4a50-9b49-8f2a519bfd6d     
> uid: nga-admin     
> pwdHistory: 0x32 0x30 0x31 0x37 0x31 0x31 0x30 0x38 0x32 0x31 0x30 0x31 0x30 
> 0x33 0x2E 0x31 ...     
> TenantSecondary: 9993     
> nbSubordinates: 0     
> entryParentId: 3a33a4c1-5ad2-46f7-81ba-0653dd943fb4     
> nbChildren: 0     
> createTimestamp: 20171108210103.102Z     
> entryCSN: 20171108210103.102000Z#000000#001#000000     
> sn: Tran     
> entryDN: uid=nga-admin,cn=bicc_admin,ou=groups,o=gcbipb
> : ERR_251_PARENT_NOT_FOUND Parent cn=bicc_admin,ou=groups,o=gcbipb not found]
> {noformat}
> .
> I'm trying to create a backup and restore procedure, but I'm unable to import 
> an exported ldif file.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to