[ https://issues.apache.org/jira/browse/DIRSERVER-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16246482#comment-16246482 ]
Emmanuel Lecharny commented on DIRSERVER-2213: ---------------------------------------------- The error message is pretty clear : the entry you try to add does not have a parent. That means there is no entry which DN is {{cn=bicc_admin,ou=groups,o=gcbipb}}. That might be due to the LDIF file you try to import : it's not ordered (parents first, then children, etc). > 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)