[PATCH] More details on net ads join when LDAP connect fails

Christian M Ambach CAMBACH1 at de.ibm.com
Tue Aug 22 16:15:33 GMT 2006


"Gerald (Jerry) Carter" <jerry at samba.org> wrote on 22.08.2006 17:33:18:
> I've only seen one other report of this and neither Guenther
> nor I can really understand why.  What version of the OpenLDAP
> client libs are you using ?

I tested that on a SLES9 SP3 machine (openldap2-client-2.2.24-4.12).
In the ldap_open manpage, the errors section says
"If an error occurs, these routines will return NULL and errno should be 
set appropriately."

I can confirm this. There has been no error output while doing the net ads 
So I added some code to tell the user which server it was trying to 
contact and the error returned by the OpenLDAP library.

Volker has already checked my patch with revision 17536.


More information about the samba-technical mailing list