openldap simple bind patch
Andrew Bartlett
abartlet at samba.org
Thu Nov 4 16:36:02 MDT 2010
On Fri, 2010-11-05 at 00:09 +0200, Anatoliy Atanasov wrote:
> Hi List,
>
> Zahari found a problem when trying to bind with openldap simple bind against samba4. We made a test to prove the behavior - the test is correct against Windows 2k3 but fails against 2k8 and so this problem we found happens only on Windows 2k3 systems.
> The proposed fix is in my repo: http://git.samba.org/?p=anatoliy/anatoliy.git;a=shortlog;h=refs/heads/simple-bind
> Basically i changed the logon_parameters for simple bind, with the defaults i found in ntlmssp_server.
You should not need to use OL to do a simple bind. Instead, use
creds.set_bind_dn() and we will do a simple bind from LDB.
Also, why do you need to system("sudo ldbsearch")?
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: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101105/8828ad1c/attachment.pgp>
More information about the samba-technical
mailing list