LDB: schema syntax comparison

Matthias Dieter Wallnöfer mdw at samba.org
Thu Sep 12 12:01:50 CEST 2013


metze,

very impressive changes! Btw, I have fixed up also the other patch 
(test-generic.sh): 
http://gitweb.samba.org/samba.git/?p=mdw/samba.git;a=commitdiff;h=118a2eee516e1bf8c4c7b799f00fab2f567ac58d

Matthias
> Hi,
>
>>>> exception is raised during provisioning:
>>>>> ERROR(ldb): uncaught exception - attribute 'dn': value #0 on
>>>>> '@ATTRIBUTES' provided more than once
>>>> And I think this is index-entry related?
>>> Not necessarily, in any case it is a bug that needs to be addressed
>>> properly.
> I think I have some patches which are ready for master.
>
> First I fixed some const compiler warnings.
>
> The const changes don't really change the ABI, right?
>
> For the @ATTRIBUTES object we use ldb_schema_attribute_by_name("@")
> to get the default syntax for all attributes as
> they're already verified in ltdb_check_special_dn().
>
> I've changed ldb_msg_find_val_schema() to return
> LDB_ERR_COMPARE_TRUE or LDB_ERR_COMPARE_FALSE for the non-error
> case.
>
> metze



More information about the samba-technical mailing list