summaryrefslogtreecommitdiffstats
path: root/src/util/sss_ldap.c
Commit message (Collapse)AuthorAgeFilesLines
* Handle timeout during sss_ldap_init_sendJakub Hrozek2011-12-131-1/+35
| | | | | | | | | In some cases, where there would be no response from the LDAP server, there would be no R/W events on the LDAP fd, so sdap_async_sys_connect_done would never be called. This patch adds a tevent timer that cancels the connection after SDAP_NETWORK_TIMEOUT seconds.
* Do not attempt to close() a file descriptor < 0Stephen Gallagher2011-10-261-1/+3
| | | | Coverity 10886
* Use sss_ldap_err2string() instead of ldap_err2string()Pavel Březina2011-10-261-3/+15
| | | | | | | | | | sss_ldap_err2string() - function created https://fedorahosted.org/sssd/ticket/986 sss_ldap_err2string() - ldap_err2string() to sss_ldap_err2string() https://fedorahosted.org/sssd/ticket/986
* Fix TLS/SSL validation after switch to ldap_init_fdSumit Bose2011-10-261-0/+357
| | | | | | | | | | | | | | 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
* Properly support IPv6 in LDAP URIs for IPA and LDAP providersJakub Hrozek2011-10-261-0/+8
| | | | | | | | | | | | | | | | | Add utility function to return IP address as string Add a utility function to escape IPv6 address for use in URIs Use escaped IP addresses in LDAP provider Escape IPv6 IP addresses in the IPA provider https://fedorahosted.org/sssd/ticket/880 Fix bad merge We merged in a patch, but missed that it missed a dependency added by another earlier patch.
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+70
Also update BUILD.txt