Refactor of Binary DN code

Andrew Bartlett abartlet at samba.org
Thu Nov 5 00:02:21 MST 2009


I wanted to bring your attention to my GIT branch dsdb-dn
http://gitweb.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/dsdb-dn

This creates a new struct dsdb_dn and associated functions, taking over
from ldb_dn for the DN+Binary and DN+String code.

I feel this is a cleaner separation than we had previously, and should
fix some reported issues with the OpenLDAP backend.  (We need to be able
to deal with the linear form of these DNs as a whole, and as the
'normal' part differently in different portions of the code).

It also adds functions to allow these DNs to be searched for correctly,
as the DN is now able to be casefolded independently of the binary or
string prefix. 

The next step is to write specific tests for this new code, and to
validate that I've not broken 'net vampire' and replication (for which
this code was added in the first place). 

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

-------------- 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/pipermail/samba-technical/attachments/20091105/7b7bec49/attachment.pgp>


More information about the samba-technical mailing list