summaryrefslogtreecommitdiff
path: root/server/providers/data_provider_fo.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-15Don't consider one address with different port numbers as the sameMartin Nagy1-8/+5
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-12-07Fix bug #311, properly set callback attributeSimo Sorce1-0/+1
2009-11-20Add initial failover support for ldap and ipaSimo Sorce1-0/+358
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.