summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async.c
Commit message (Collapse)AuthorAgeFilesLines
* 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