summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async.c
Commit message (Collapse)AuthorAgeFilesLines
* Better handling for aliasesJakub Hrozek2011-10-061-0/+89
| | | | | | | | | | | | | | Add sysdb interface to get name aliases Add a sysdb_get_direct_parents function Store name aliases for users, groups Return users and groups based on alias https://fedorahosted.org/sssd/ticket/926 Fix typo in sysdb_get_direct_parents
* Use sss_ldap_err2string() instead of ldap_err2string()sssd-1.5.1-51.el6Pavel Březina2011-09-121-5/+5
| | | | | | | | | | 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
* Improve error message for LDAP password constraint violationJakub Hrozek2011-09-121-5/+12
| | | | https://fedorahosted.org/sssd/ticket/985
* Enable paging support for LDAPStephen Gallagher2011-05-241-23/+121
|
* Release handle if not connectedSumit Bose2011-03-091-0/+1
|
* Add timeout parameter to sdap_get_generic_send()Sumit Bose2011-01-171-5/+6
|
* ldap: add checks to determine if USN features are available.Simo Sorce2010-12-071-0/+1
|
* Review comments for namingContexts patchesSumit Bose2010-11-051-9/+9
|
* Use (default)namingContext to set empty search basesSumit Bose2010-11-041-1/+1
|
* Add defaultNamingContext to RootDSE attributesSumit Bose2010-11-041-0/+1
|
* Add some missing ldap_memfree()Sumit Bose2010-10-221-1/+2
|
* Check if control is supported before using it.Simo Sorce2010-09-151-7/+9
|
* Revert "Make ldap bind asynchronous"Jakub Hrozek2010-09-151-201/+70
| | | | This reverts 56d8d19ac9d857580a233d8264e851883b883c67
* Make ldap bind asynchronousMartin Nagy2010-09-021-70/+201
| | | | | | 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.
* Properly handle errors from a password change operationStephen Gallagher2010-09-021-8/+14
|
* Log TLS errors to syslogStephen Gallagher2010-07-091-1/+17
| | | | | Also adds support for detecting LDAPS errors by adding a check for SDAP_DIAGNOSTIC_MESSAGE after ldap_search_ext()
* Remove remainder of now unused global LDAP connection handle.eindenbom2010-07-091-1/+1
|
* Make RootDSE optionalStephen Gallagher2010-06-281-1/+3
| | | | | | | | | | | In violation of the standard, some LDAP servers control access to the RootDSE, thus preventing us from being able to read it before performing a bind. This patch will allow us to continue on if the RootDSE was inaccessible. All of the places that we use the return value of the RootDSE after this are already checked for NULL and use sane defaults if the RootDSE is unavailable
* Add explicit requests for several operational attrsAlexander Gordeev2010-06-281-1/+12
| | | | | | | | | | | | | | | | Operational attributes are not returned in searched requests unless explicitly requested according to RFC 4512 section 5.1. Therefore to get several standard attributes of root DSE we have to request for them. The requested attrs are: - altServer - namingContexts - supportedControl - supportedExtension - supportedFeatures - supportedLDAPVersion - supportedSASLMechanisms Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
* Use all available servers in LDAP providerJakub Hrozek2010-05-071-1/+5
|
* Avoid freeing sdap_handle too earlySimo Sorce2010-05-031-18/+40
| | | | | Prevent freeing the sdap_handle by failing in the destructor if we are trying to recurse.
* Make the handling of fd events opaqueSumit Bose2010-04-261-124/+3
| | | | | | | Depending on the version of the OpenLDAP libraries we use two different schemes to find the file descriptor of the connection to the LDAP server. This patch removes the related ifdefs from the main code and introduces helper functions which can handle the specific cases.
* Lower debug level of unexpected LDAP result codesSumit Bose2010-03-221-0/+5
|
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+1018
Also update BUILD.txt