LDB: schema syntax comparison

Simo simo at samba.org
Thu Sep 12 14:41:34 CEST 2013

On Thu, 2013-09-12 at 09:48 +0200, Stefan (metze) Metzmacher wrote:
> 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?

No, but they may break compilation because you change the API.
I would rather not bother to change the const, they are advisory at best

> 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
> case.

Looks good to me in a general way but have not had time to really drill
down, I would like to see another reviewer take a look.

Why 1.2 btw ?


More information about the samba-technical mailing list