1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source4/libcli/ldap
Stefan Metzmacher 27324112b6 s4:libcli/ldap: just use gensec_update() in ldap_bind_sasl()
We're in a blocking/sync call, we should avoid using nested event loops for
this. As far as I can see ldap_bind_sasl() is only called from command line
tools, which are ok to block.

Resolving this requires also resolving the general case in LDB, as that is the
API this is used from.  We would need ldb_connect_send() and ldb_connect_recv()
at a start.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon May 22 01:12:23 CEST 2017 on sn-devel-144
2017-05-22 01:12:23 +02:00
..
ldap_bind.c s4:libcli/ldap: just use gensec_update() in ldap_bind_sasl() 2017-05-22 01:12:23 +02:00
ldap_client.c typo: mplementation => implementation 2016-05-06 05:03:16 +02:00
ldap_client.h s4:libcli/ldap: conversion to tstream 2015-06-23 22:12:08 +02:00
ldap_controls.c typo: mplementation => implementation 2016-05-06 05:03:16 +02:00
ldap_ildap.c typo: mplementation => implementation 2016-05-06 05:03:16 +02:00
libcli_ldap.h s4:libcli/ldap Rename ldap.h to libcli_ldap.h 2010-05-21 17:39:15 +10:00
wscript_build s4-libcli: Add missing ldb header 2016-02-19 15:58:22 +01:00