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.