Absent Member.
Absent Member.

LDAP - eDir - Forward reference - Unknown objectclass


I have the following question:

When loading a LDIF file and when "Forward Reference" is checked while
importing the LDIF file, attributes which contains a DN like cn=a,o=b will
automatic create an object from the objectclass "Unknown" when the object
does not exist in eDir. When later on the object is found in the LDIF file,
the object is changed and updated to its proper objectclass and properties.
If the object is not found in the ldif file the created object stays from
the type objectclass "Unknown" until later another LDIF file was loaded
which contains the object.

So far so good. But I need to do this manualy.

I want to create is the following application which is loading objects from
"a source", one by one and create them in eDir.
If one of those objects contains an attribute with a DN like cn=a,o=b the
object can not be created when the refering object does not exist in eDir.
Although I can create an object of the objectclass "Unknown" before
creating the object.
This makes the creation of the object possible.

But can I later overwrite the created object from the objectclass "Unknown"
with its proper properties when the object is discovered from the source?
So what I mean is, can I alter the objectclass attribute and fill in the
proper attributes?

Untill now I had no success or did not find any examples.

Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.