[PATCH][WIP] Use tldap as the transport for ldb_ildap

Andrew Bartlett abartlet at samba.org
Thu Jul 12 01:39:33 MDT 2012

I've been working on a branch to change the underlying ldap client
transport layer that the ldb_ildap module uses to be tldap.

The reason I started on this was due to a bug in the 'tls_socket'
wrapper, that I suspect is fixed in the tstream_tls implement ion. 

It would also make it possible to remove the gensec_socket wrapper. 

The work in progress is at

There is a lot still to do - for one, I need to make it work reliably.
As I expected, I'm having challenges propagating the right callbacks to
all the right spots.  I also need to clean-up the commit list, squash
patches, make some changes preparatory where possible etc.  I also think
tldap should probably move to libcli/ldap as this starts to make it used
in common. 

However, at this point I am interested in any comments or thoughts, or
any fundamental reasons why this can't or shouldn't be done.

It has been an interesting exercise - I've used it as a way to learn
about tevent_req hands-on. 


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

More information about the samba-technical mailing list