summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_async.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-07ldap: add checks to determine if USN features are available.Simo Sorce1-0/+1
2010-11-05Review comments for namingContexts patchesSumit Bose1-9/+9
2010-11-04Use (default)namingContext to set empty search basesSumit Bose1-1/+1
2010-11-04Add defaultNamingContext to RootDSE attributesSumit Bose1-0/+1
2010-10-22Add some missing ldap_memfree()Sumit Bose1-1/+2
2010-09-15Check if control is supported before using it.Simo Sorce1-7/+9
2010-09-15Revert "Make ldap bind asynchronous"Jakub Hrozek1-201/+70
This reverts 56d8d19ac9d857580a233d8264e851883b883c67
2010-09-02Make ldap bind asynchronousMartin Nagy1-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.
2010-09-02Properly handle errors from a password change operationStephen Gallagher1-8/+14
2010-07-09Log TLS errors to syslogStephen Gallagher1-1/+17
Also adds support for detecting LDAPS errors by adding a check for SDAP_DIAGNOSTIC_MESSAGE after ldap_search_ext()
2010-07-09Remove remainder of now unused global LDAP connection handle.eindenbom1-1/+1
2010-06-28Make RootDSE optionalStephen Gallagher1-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
2010-06-28Add explicit requests for several operational attrsAlexander Gordeev1-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>
2010-05-07Use all available servers in LDAP providerJakub Hrozek1-1/+5
2010-05-03Avoid freeing sdap_handle too earlySimo Sorce1-18/+40
Prevent freeing the sdap_handle by failing in the destructor if we are trying to recurse.
2010-04-26Make the handling of fd events opaqueSumit Bose1-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.
2010-03-22Lower debug level of unexpected LDAP result codesSumit Bose1-0/+5
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+1018
Also update BUILD.txt