[Date Prev][Date Next]
Re: entry has multiple objectClass attributes
On Tuesday, January 7, 2003, at 07:20 PM, Pierangelo Masarati wrote:
then slapd has a workaround to accept a badly formatted modification
very weird ...
Agreed. Do you think I should file this as a bug?
Meanwhile, I've been delving a little deeper into this problem, and have
I think figured out why it's not an issue when slurpd processes a replog
created by slapd...
slapd's replog includes a bunch of extra attributes, some of which I
others are new to me:
o: my-domain # <-- This is the last of my attributes
The interesting attribute here is structuralObjectClass, as the error
I'm seeing is coming from a function that is attempting to determine the
Structural Object Class... I'm still not 100% on why this is necessary,
something to do with the internals of slapd, and it's new since I
most of how slapd worked. I can easily add this attribute to the replog
create, I'm wondering if I should be adding entryCSN and entryUUID? What
are the rules for the values of those attributes? What are they used
My original plan was to just create a replog with the changes I wanted,
and to let slurpd apply them to the directory for me. I was hoping that
the create and modify name and timestamp attributes would be added by
directory when slapd performed the operations specified (I wasn't going
to specify updatedn on the target directory). Doesn't look like it's
as simple as I had hoped.
I know, slurpd isn't necessarily intended to be used in the way I'm
but it is very convenient as a way of handing off responsibility for
updates done asynchronously and relatively reliably. I think it would
good thing if this worked, without requiring the writer of the replog
through hoops and know how the internals of slapd work. The man page for
slapd.replog seems to imply that this is something that you should be
to do, but it doesn't mention any of the extra attributes you need to
to make it work.
So, should I file this as a bug? Is it a bug in slurpd or slapd or both?
Alternatively, if I should be adding the magic attributes to my replog,
can anyone tell me how I should construct the values for entry[CSN|UUID]
and what those attributes are actually used for?