[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6055) Re: Samba4 need 'name' implementation like AD (RDN-Name)

> On Tue, 2010-03-02 at 15:30 +1100, Andrew Bartlett wrote:
>> On Mon, 2009-08-03 at 20:44 +0200, masarati@aero.polimi.it wrote:
>> > [Resending because I forgot the ITS number in the subject]
>> >
>> > I have a simple prototype that on add/modrdn populates/maintains an
>> > attribute (rdnValue) with the distinguished values of the naming
>> > attributes of the RDN.  While doing this, it also checks for
>> uniqueness of
>> > the rdnValue value within siblings.
>> >
>> > You can find it here
>> > <ftp://ftp.openldap.org/incoming/pierangelo-masarati-2009-08-03-rdnval.2.c>
>> >
>> > Please test and comment.  I hope it does what intended.
>> I'm starting to look at this now.  I'm sorry so many months have past
>> since you posted it.
> I've now added it into Samba's provision, and using the diff I attach,
> against current 'master', I get the attached error.
> It seems to be unable to add the base DN. (The very first entry in the
> database).

Try this:
 In fact, when adding the suffix entry, the overlay was erroneously
checking its siblings from its superior, which is very likely to fail.