diff options
author | Sumit Bose <sbose@redhat.com> | 2011-06-27 10:03:03 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-07-13 12:35:45 -0400 |
commit | ddcbb85ed4402b6e877b22d60610d206b1a19bc8 (patch) | |
tree | ac80de4a876a046945e0a17b99d1cde5b5710920 /src/providers/ldap/sdap_async_private.h | |
parent | 90f150f678347f1f73ee4280cd523021e307d861 (diff) | |
download | sssd-ddcbb85ed4402b6e877b22d60610d206b1a19bc8.tar.gz sssd-ddcbb85ed4402b6e877b22d60610d206b1a19bc8.tar.xz sssd-ddcbb85ed4402b6e877b22d60610d206b1a19bc8.zip |
Fix TLS/SSL validation after switch to ldap_init_fd
Add sockaddr_storage to sdap_service
Add sdap_call_conn_cb() to call add connection callback directly
Use name based URI instead of IP address based URIs
Use ldap_init_fd() instead of ldap_initialize() if available
Do not access state after tevent_req_done() is called.
Call ldap_install_tls() on ldaps connections
Diffstat (limited to 'src/providers/ldap/sdap_async_private.h')
-rw-r--r-- | src/providers/ldap/sdap_async_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_private.h b/src/providers/ldap/sdap_async_private.h index f049fa6aa..b29b18dfa 100644 --- a/src/providers/ldap/sdap_async_private.h +++ b/src/providers/ldap/sdap_async_private.h @@ -40,6 +40,8 @@ int get_fd_from_ldap(LDAP *ldap, int *fd); errno_t sdap_set_connected(struct sdap_handle *sh, struct tevent_context *ev); +errno_t sdap_call_conn_cb(const char *uri,int fd, struct sdap_handle *sh); + int sdap_op_add(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, int msgid, sdap_op_callback_t *callback, void *data, |