summaryrefslogtreecommitdiffstats
path: root/server/providers/ldap/sdap_async.h
Commit message (Collapse)AuthorAgeFilesLines
* Get TGT in a child process.Jakub Hrozek2009-11-251-0/+1
| | | | | | | To avoid blocking in a synchronous call, the TGT is saved in a separate process Fixes: #277
* Add initial failover support for ldap and ipaSimo Sorce2009-11-201-1/+6
| | | | | | | The retun values are still not directly used with ldap libraries that still do their own name resolution, but this patch introduces a very basic framework to have a multiple providers in one domain use and share a single failover service if they want to.
* Split async helpers in multiple filesSimo Sorce2009-11-061-0/+5
| | | | | | The size of sdap_async.c was unmanageable. This patch splits it into a generic file with common infrastructure calls, a file that handles connection calls and a file for id related calls.
* Unify parse routines, use maps in generic searchesSimo Sorce2009-11-061-1/+3
| | | | | This remove redundant code and also allows the generic search to be used to use maps to convert attributes.
* Add support to get rootDSE from the LDAP server.Simo Sorce2009-10-291-12/+14
| | | | | | | | | | | | Also fic sdap_get_generic_send() to be a bit more "generic" :-) Also figs bugs within it. This patch allow us 2 good things. A) we check that the server effectively supports GSSAPI auth before we try to use it. B) against IPA it substantially cuts delays when the server is offline because it uses a 5 second async timeout on the connection and doesn't try to do a slow synchronous kinit+sasl_bind if the server is not even available.
* added generic LDAP search sdap_get_generic_send/_recvSumit Bose2009-10-221-0/+13
|
* Make options parser available to all providersSimo Sorce2009-10-141-1/+1
|
* make sdap_id_connect_* independent of sdap_id_ctxSumit Bose2009-10-141-0/+6
| | | | | | | | The sdap_id_connect_* request tries to bind to an LDAP server with the default credentials. Only the opts component of the sdap_id_ctx context is used. A new request sdap_cli_connect_* is created which expects only the opts pointer as parameter and not the whole context. This makes it reusable by other providers.
* Initial implementation of sasl bind supportSimo Sorce2009-10-011-0/+10
| | | | | | Inits krb5 credentials, if sasl mech is GSSAPI. Tested with GSSAPI and host keytab as well as user credentials. Updates also manpages with the new options.
* Turn ldap driver options into multitypeSimo Sorce2009-09-141-1/+1
| | | | | | | | | | This patch makes basic options multiype, the init function assigns a type from the initialization array, and processes values fetched from confdb accordingly. 4 types are supported so far: string, number, blob and boolean Also convert defines into enums where appropriate. Add fetch functions that check the requested type.
* Make enumeration an independent taskSimo Sorce2009-08-271-2/+4
| | | | | | Always immediately return to DP, and update users/groups in the background. Also implements an optimization to retrieve only changed/new users/groups by filtering using the modifyTimestamp after the first query.
* enable usage of defaultBindDnSumit Bose2009-08-191-0/+1
|
* Consolidate tevent helpersJakub Hrozek2009-08-051-17/+0
|
* added LDAP change password backend targetSumit Bose2009-07-211-0/+8
|
* Implement the ldap identity module.Simo Sorce2009-07-081-4/+10
| | | | This uses and exapands the async helpers.
* Unify password caching ops in sysdbSimo Sorce2009-07-081-9/+0
|
* Add async helper functionsSimo Sorce2009-07-081-0/+90
These functions use the tevent_req async model, where a pair of _send/_recv functions pilot requests, with additional helpers like _done functions, and where needed multiple stage helpers.