The proper place for ldb templates

Simo Sorce idra at
Thu Jul 21 09:11:19 GMT 2005

On Thu, 2005-07-21 at 18:24 +1000, Andrew Bartlett wrote:
> On Thu, 2005-07-21 at 09:55 +0200, Simo Sorce wrote:
> > On Thu, 2005-07-21 at 12:33 +1000, Andrew Bartlett wrote:
> > 
> > > (In the meantime, I'm just going to use the feature of ldb_tdb, that the
> > > dn is not checked for a proper structure, just is taken as a string).
> > 
> > This is not true, all the ldn dn comparisons are made using
> > ldb_dn_explode() that checks very carefully for dn correctness.
> > 
> > If you find places where this is not done, than that's my fault in not
> > catching them , please make me aware where they are.
> So I learnt today, when working with your very nice DN manipulation
> functions.  However, it seems to cope very well with adding
> CN=templated,dc=samba4,dc=abartlet,dc=net before
> dc=samba4,dc=abartlet,dc=net exists, which was my point.

ah sure, my functions just check the dn is in a valid form, they do not
check there's any consistency in the ldb database :-)

we will add that later I think in a form of ldb_module used by the ldap
server only.


Simo Sorce    -  idra at
Samba Team    -
Italian Site  -

More information about the samba-technical mailing list