summaryrefslogtreecommitdiff
path: root/server/providers/ldap/sdap_async_connection.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-15Don't consider one address with different port numbers as the sameMartin Nagy1-1/+3
There were two problems with the code. We were using fo_set_server_status() instead of fo_set_port_status() when we failed to connect to a service. This is a problem because if two services use the same server, or we want to use one server with two different ports, marking the whole server as bad is incorrect. The other problem was that be_resolve_server_done() was comparing the hostent structures -- these are, however, equal across multiple server:port pairs with the same server addresses. Fixes: #321
2009-11-25Get TGT in a child process.Jakub Hrozek1-164/+52
To avoid blocking in a synchronous call, the TGT is saved in a separate process Fixes: #277
2009-11-20Add initial failover support for ldap and ipaSimo Sorce1-8/+59
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.
2009-11-09Fix tevent_req error checking.Simo Sorce1-27/+12
When possible using a macro that correctly deals with tstate
2009-11-06Split async helpers in multiple filesSimo Sorce1-0/+1163
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.