The proper place for ldb templates

Andrew Bartlett abartlet at samba.org
Thu Jul 21 08:24:47 GMT 2005


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.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.        http://suse.de
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20050721/b17039a5/attachment.bin


More information about the samba-technical mailing list