Skip to content

Commit

Permalink
Make ldap bind asynchronous
Browse files Browse the repository at this point in the history
Every ldap function that could possibly create a new connection is now
wrapped in a tevent_req. If the connection is created, we will call the
function again after the socket is ready for writing.
  • Loading branch information
Martin Nagy authored and sgallagher committed Sep 2, 2010
1 parent 602fa2c commit 56d8d19
Show file tree
Hide file tree
Showing 8 changed files with 1,222 additions and 167 deletions.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ dist_noinst_HEADERS = \
src/providers/krb5/krb5_common.h \
src/providers/krb5/krb5_utils.h \
src/providers/ldap/ldap_common.h \
src/providers/ldap/ldap_req_wrap.h \
src/providers/ldap/sdap.h \
src/providers/ldap/sdap_access.h \
src/providers/ldap/sdap_async.h \
Expand Down Expand Up @@ -731,6 +732,7 @@ libsss_ldap_la_SOURCES = \
src/providers/ldap/ldap_auth.c \
src/providers/ldap/ldap_init.c \
src/providers/ldap/ldap_common.c \
src/providers/ldap/ldap_req_wrap.c \
src/providers/ldap/sdap_async.c \
src/providers/ldap/sdap_async_accounts.c \
src/providers/ldap/sdap_async_connection.c \
Expand Down Expand Up @@ -811,6 +813,7 @@ libsss_ipa_la_SOURCES = \
src/providers/ldap/ldap_id_cleanup.c \
src/providers/ldap/ldap_auth.c \
src/providers/ldap/ldap_common.c \
src/providers/ldap/ldap_req_wrap.c \
src/providers/ldap/sdap_async.c \
src/providers/ldap/sdap_async_accounts.c \
src/providers/ldap/sdap_async_connection.c \
Expand Down

0 comments on commit 56d8d19

Please sign in to comment.