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

Christian M Ambach CAMBACH1 at de.ibm.com
Mon Aug 14 10:06:03 GMT 2006


Hi list,

we had some problems while doing a net ads join (the problem was a wrong 
name resolution setup).
While debugging that, I found that errors given by the ldap library are 
not logged or shown to the user in any way.

I wrote a small patch so that you can see that the ldap connect failed 
instead of just displaying "Operations Error".
It will also output the LDAP server name and port which it was trying to 
connect to.

Feel free to adjust the debug level or ignore the patch at all if you 
don't consider it useful.



Mit freundlichen Grüßen / Best regards
          Christian Ambach

IBM Deutschland GmbH
Filesystem Center of Competence
Dept. 0A182
Hechtsheimer Str. 2, Geb. 20, Axis 1D
55131-20 Mainz, Germany
Phone: (49) 6131 84 3192, Fax - 4274
Internet: cambach1 at de.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldaperrno.diff
Type: application/octet-stream
Size: 1115 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060814/be77fd32/ldaperrno.obj


More information about the samba-technical mailing list