Another LDB difference

simo simo at samba.org
Thu Jul 5 18:18:38 GMT 2007


On Thu, 2007-07-05 at 16:24 +1000, Andrew Bartlett wrote:
> Another difference in LDB compared with LDAP is in handling of multiple
> valued attributes
> 
> If we try to add 'bar: foo' to an attribute like:
> 
> bar: foo
> bar: foo2
> 
> we correctly fail.
> 
> but if we try to add:
> 
> bar: foo
> bar: foo
> 
> against LDB this succeeds.  Against OpenLDAP, it fails.  Is there any
> reason not to deal with this in ldb_tdb (ie, should I be waiting for
> full schema support?).  It seems easy enough to fix. 

We should probably do this in ldb_tdb, otherwise we would always have to
fetch values before doing any modify operation just to check they are
not there yet. But, on the other side I wonder which are the implication
with case sensitive/insensitive syntaxes ...

Simo.



More information about the samba-technical mailing list