1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/libcli
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
..
composite s4:libcli/composite: correctly finish composite smb and smb2 requests 2014-09-19 09:15:10 +02:00
dgram dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
ldap s4:libcli/ldap: just use gensec_update() in ldap_bind_sasl() 2017-05-22 01:12:23 +02:00
rap s4-libcli: Add null check for ndr functions in rap. 2013-02-22 16:36:12 +01:00
raw s4-libcli: remove some dead prototypes 2017-05-10 15:53:20 +02:00
resolve s4:libcli:resolve: fix O3 error unused result of write 2016-05-13 00:16:15 +02:00
security/tests s4:libcli/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
smb2 s4:libcli/smb2: make smb2_session_setup_spnego_* completely async 2017-05-21 21:05:13 +02:00
smb_composite CVE-2016-2115: s4:libcli/raw: pass the minprotocol to smb_raw_negotiate*() 2016-04-12 19:25:26 +02:00
smbc
util pyerrors: Add PyErr_Set{WERROR,HRESULT,NTSTATUS}_and_string() 2016-11-04 04:41:19 +01:00
wbclient wbclient: "ev" is no longer used in wbc_xids_to_sids 2016-09-28 00:04:36 +02:00
wrepl
cliconnect.c s4:libcli: fix 'Conditional jump or move' valgrind error 2016-04-25 10:35:15 +02:00
clideltree.c
clifile.c source4/libcli: Only set ctemp set on success 2013-04-24 23:58:43 +02:00
clilist.c s4:libcli fix compiler warnings 2013-12-12 14:21:28 -08:00
climessage.c s4-libcli: Check return value of smbcli_request_setup(). 2013-02-22 16:36:13 +01:00
clireadwrite.c s4-libcli: Use a do-while loop. 2012-12-21 13:56:01 +01:00
clitrans2.c
finddc.h
finddcs_cldap.c s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used 2015-05-20 19:29:30 +02:00
finddcs_nbt.c s4:libcli: avoid talloc_reference() in finddcs_nbt_send() 2013-08-12 16:48:47 +12:00
libcli.h s4:libcli/raw: implement on top of smbXcli_conn/req 2011-11-30 15:13:36 +01:00
pysmb.c pysmb: Check for credentials using same method as pyrpc 2017-03-29 02:37:25 +02:00
wscript_build wscript: remove executable bits for all wscript* files 2017-01-11 20:21:01 +01:00