
Troubleshooting LDIF Files 35
5.2.1 Enabling Forward References
You might occasionally encounter LDIF files in which a record to add one entry comes before a
record to add its parents. When this happens, an error is generated because the new entry’s parent
does not exist when the LDAP server attempts to add the entry.
To solve this problem, simply enable the use of forward references. When you enable the creation of
forward references and an entry is going to be created before its parent exists, a placeholder called a
forward reference is created for the entry’s parent to allow the entry to be successfully created. If a
later operation creates the parent, the forward reference is changed into a normal entry.
It is possible that one or more forward references will remain after your LDIF import is complete (if,
for example, the LDIF file never created the parent for an entry). In this case, the forward reference
will appear as an Unknown object in ConsoleOne and iManager. Although you can search on a
forward reference entry, you cannot read attributes (except objectClass) from the forward reference
entry because it does not have any attributes or attribute values. However, all LDAP operations will
work normally on the real object entries located below the forward reference.
Identifying Forward Reference Entries
Forward reference entries have an object class of Unknown and also have their internal NDS
EF_REFERENCE entry flag set. In ConsoleOne and iManager, entries with an object class of
Unknown are represented by a round yellow icon with a question mark in the center. You can use
LDAP to search for objects with an Unknown object class, although there is currently no way to
access the entry flag settings through LDAP to be sure that they are forward reference entries.
Changing Forward Reference Entries into Normal Objects
You can change a forward reference entry into an normal object by simply creating it (using, for
example, an LDIF file or an LDAP client request). When you ask eDirectory to create an entry that
already exists as a forward reference, eDirectory transforms the existing forward reference entry into
the object you asked it to create.
Using the Novell eDirectory Import Convert Export Wizard
To enable forward references during an LDIF import:
1 In Novell iManager, click the Roles and Tasks button .
2 Click eDirectory Maintenance > Import Convert Export Wizard.
3 Click Import Data from File on Disk, then click Next.
4 Select LDIF as the type of file you want to import.
5 Specify the name of the file containing the data you want to import, specify the appropriate
options, then click Next.
6 Specify the LDAP server where the data will be imported.
7 Add the appropriate options, as described in the following table:
Comentarios a estos manuales