03cb5ac6aa4c60d2c64c6fdc2daae656bf5493f4 |
|
22-Sep-2016 |
Pavel Březina <pbrezina@redhat.com> |
failover: proceed normally when no new server is found
Multiple failover requests come in same time, the first one will
result in collapsing the meta server but multiple resolution of
SRV records are triggered. The first one finishes normally but the
others won't find any new server thus ends with an error.
This patch makes failover to proceed normally even in such case.
Resolves:
https://fedorahosted.org/sssd/ticket/3131
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> |
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45 |
|
16-Aug-2016 |
Pavel Březina <pbrezina@redhat.com> |
sssctl: print active server and server list
Resolves:
https://fedorahosted.org/sssd/ticket/3069
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
c420ce830ac0b0b288a2a887ec2cfce5c748018c |
|
12-Jul-2016 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Set port to NOT_WORKING when trying a next server
Resolves: https://fedorahosted.org/sssd/ticket/3009
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
5a7f17aedad34a8618765bc33342c109a6958ab5 |
|
19-Jan-2016 |
Sumit Bose <sbose@redhat.com> |
FO: add fo_get_active_server()
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
a92f68763a57b211a1bf6b80b6dd80c4a1aa2738 |
|
07-Dec-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Use tevent_req_defer_callback() when notifying callers
If a fo_resolve_service callback would modify the server->common member
in any way, for example by dereferencing the server and lowering the
refcount to 0, which would free the common structure, then the next
iteration of fo_resolve_service_done would access memory that was
already gone.
Please see
https://tevent.samba.org/group__tevent__request.html#ga09373077d0b39e321a196a86bfebf280
for more details.
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
acd615cffd144b69e2558a0fc45c6966423f2d02 |
|
10-Nov-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
FAIL_OVER: Fix warning value computed is not used
src/providers/fail_over.c: In function ‘fo_ref_server’:
src/providers/fail_over.c:861: warning: value computed is not used
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
10c07e188323a2f9824b5e34379f3b1a9b37759e |
|
23-Oct-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Use refcount to keep track of servers returned to callers
Resolves:
https://fedorahosted.org/sssd/ticket/2829
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
63af9215ea9114062fd87003161e6b5982bf9b1f |
|
23-Oct-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Don't free rc-allocated structure
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
bc58e1cfee742178f95922d964349d6c262f6df7 |
|
23-Sep-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Also reset the server common data in addition to SRV
In a server that is expanded from a SRV query was reset, only it's
'meta-server' status was set to neutral, but the server->common
structure still retained its not_working status.
This patch also resets the status of the common structure so that both
the SRV query and resolving the server are retried next time.
Reviewed-by: Sumit Bose <sbose@redhat.com> |
669ce24f8157b7d79914b3eb5a18214ef42aacc8 |
|
23-Sep-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Add an API to reset all servers in a single service
Required for:
https://fedorahosted.org/sssd/ticket/2639
Previously, we had a function that allowed the caller to reset the
status of all services in the global fail over context. This patch adds
a new function that allows the caller to reset a single service instead.
The main user would be IPA subdomain provider that might need to reset
the status of an AD trusted domain on demand.
Reviewed-by: Sumit Bose <sbose@redhat.com> |
9797aa5907191cef5db8279e20ec75fd0abbe980 |
|
24-Mar-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
Resolv: re-read SRV query every time if its TTL is 0
We should make sure the client re-checks the SRV query each request if
the SRV query is 0.
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6d |
|
03-Mar-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Use SRV TTL in fail over code
Resolves:
https://fedorahosted.org/sssd/ticket/1884
Removes the hardcoded SRV TTL timeout and uses TTL from the DNS instead.
Reviewed-by: Pavel Březina <pbrezina@redhat.com> |
c683b8d730f4ec838244147d70a0275d53459aa5 |
|
29-Sep-2014 |
Pavel Reichl <preichl@redhat.com> |
Fix debug messages - trailing '.'
Fix debug messages where '\n' was wrongly followed by '.'.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
5490fa3ea4f6a4118a5188acb0e05daa302ed9d6 |
|
31-Jul-2014 |
Pavel Březina <pbrezina@redhat.com> |
failover: set port status to not working if previous srv lookup failed
The meta server status consists of two parts:
A) port status - managed by failover mechanism
B) SRV lookup status - managed by SRV resolver
Both parts are resetted to "neutral" after some time, having
B timeout greater than A timeout.
We were hitting the following issue:
1. SRV lookup fails (DNS is not reachable), this will set A to
"not working and B to "resolve error". Then the next server is
tried but fails as well.
2. If SSSD tries to go back online the failover will set A to
"neutral" and it will try to resolve SRV again. But B status is
still set to "resolve error" since we haven't reached the timeout
yet and SRV resolution fails immediately. But the next server
is not tried since the port status (A) remains "neutral".
This patch sets the port status to "not working" making the
failover to continue with the next server as expected.
https://fedorahosted.org/sssd/ticket/2390
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com> |
8ed6630fb25c7d5af6e2d9915786b94600198b01 |
|
14-Apr-2014 |
Pavel Reichl <preichl@redhat.com> |
failover: Shorter retry time for failed SRV
Until now there was only one timeout used to re-resolve SRV queries.
This patch adds new (shorter) timeout that will be used for queries that
previously failed.
Resolves:
https://fedorahosted.org/sssd/ticket/1885
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
a842b7eb49fd640d66aeaec26c05166ef55784f8 |
|
26-Feb-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
Remove unused structures.
Reported by: cppcheck
'struct py_sss_transaction', 'struct resolve_get_domain_stat',
'struct sync_op_res' were defined in implementation modules, but they were not
used anywhere.
Reviewed-by: Michal Žídek <mzidek@redhat.com> |
83bf46f4066e3d5e838a32357c201de9bd6ecdfd |
|
12-Feb-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
Update DEBUG* invocations to use new levels
Use a script to update DEBUG* macro invocations, which use literal
numbers for levels, to use bitmask macros instead:
grep -rl --include '*.[hc]' DEBUG . |
while read f; do
mv "$f"{,.orig}
perl -e 'use strict;
use File::Slurp;
my @map=qw"
SSSDBG_FATAL_FAILURE
SSSDBG_CRIT_FAILURE
SSSDBG_OP_FAILURE
SSSDBG_MINOR_FAILURE
SSSDBG_CONF_SETTINGS
SSSDBG_FUNC_DATA
SSSDBG_TRACE_FUNC
SSSDBG_TRACE_LIBS
SSSDBG_TRACE_INTERNAL
SSSDBG_TRACE_ALL
";
my $text=read_file(\*STDIN);
my $repl;
$text=~s/
^
(
.*
\b
(DEBUG|DEBUG_PAM_DATA|DEBUG_GR_MEM)
\s*
\(\s*
)(
[0-9]
)(
\s*,
)
(
\s*
)
(
.*
)
$
/
$repl = $1.$map[$3].$4.$5.$6,
length($repl) <= 80
? $repl
: $1.$map[$3].$4."\n".(" " x length($1)).$6
/xmge;
print $text;
' < "$f.orig" > "$f"
rm "$f.orig"
done
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com> |
a3c8390d19593b1e5277d95bfb4ab206d4785150 |
|
12-Feb-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
Make DEBUG macro invocations variadic
Use a script to update DEBUG macro invocations to use it as a variadic
macro, supplying format string and its arguments directly, instead of
wrapping them in parens.
This script was used to update the code:
grep -rwl --include '*.[hc]' DEBUG . |
while read f; do
mv "$f"{,.orig}
perl -e \
'use strict;
use File::Slurp;
my $text=read_file(\*STDIN);
$text=~s#(\bDEBUG\s*\([^(]+)\((.*?)\)\s*\)\s*;#$1$2);#gs;
print $text;' < "$f.orig" > "$f"
rm "$f.orig"
done
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com> |
937928d1161a4f7bd894cb365ada97569ab0f78f |
|
11-Sep-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Fix formating of variables with type: time_t |
f6693151b0959f079271f5ab3976befb02ea91a9 |
|
11-Jul-2013 |
Michal Zidek <mzidek@redhat.com> |
Always set port status to neutral when resetting service.
We did not set port status for metaservers (srv servers)
in fo_reset_services().
Fixes:
https://fedorahosted.org/sssd/ticket/1933 |
5e0da22f4dcc7157233e0dd4efc67bc7d217f163 |
|
21-Jun-2013 |
Pavel Březina <pbrezina@redhat.com> |
failover: if expanded server is marked as neutral, invoke srv collapse
https://fedorahosted.org/sssd/ticket/1947
Otherwise we will do the SRV expansion once again:
1. leaving the old servers in server list
2. meta server is not inserted back in the list, the newly found
servers are inserted behind meta server, meta server is orphaned
and the new servers are forgotten |
d12a07608a321f211a74643df7db9bcef76e2ca6 |
|
21-Jun-2013 |
Pavel Březina <pbrezina@redhat.com> |
collapse_srv_lookup may free the server, make it clear from the API
https://fedorahosted.org/sssd/ticket/1947 |
e5f455afbc2d149527bfd08f4e89903a3a8da17a |
|
21-Jun-2013 |
Pavel Březina <pbrezina@redhat.com> |
failover: return error when SRV lookup returned only duplicates
https://fedorahosted.org/sssd/ticket/1947
Otherwise we risk that the meta server is removed from the server list,
but without a chance to return, because there may be no fo_server with
srv_data = meta.
Also if state->meta->next is NULL (it is still orphaned because we try
to errornously expand it without invoking collapse first), state->out
will be NULL and SSSD will crash.
New error code: ERR_SRV_DUPLICATES |
b509de2164be8fa9a8d52d70883f4ec70b4bddf8 |
|
21-Jun-2013 |
Pavel Březina <pbrezina@redhat.com> |
failover: do not return invalid pointer when server is already present
https://fedorahosted.org/sssd/ticket/1947 |
7d9e5527237b1a779b4cb464f64eae72c3a2162d |
|
21-Jun-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Check the return value of send_fn |
d3b39cf07164b23d47bbce3d6e6541b13fc895f5 |
|
14-Jun-2013 |
Pavel Březina <pbrezina@redhat.com> |
failover: set state->out when meta server remains in SRV_RESOLVE_ERROR
https://fedorahosted.org/sssd/ticket/1886 |
06dad7ed041e90b106475e06d4eb542548d560ed |
|
03-Jun-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Use deep copy for dns_domain and discovery_domain
https://fedorahosted.org/sssd/ticket/1929 |
7a5a121ae04e3609628855b8383a5d74d405a70d |
|
28-May-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Fix setting status of duplicates |
e26a019fbac96b7697c180124fe1d4894962e3a0 |
|
10-Apr-2013 |
Pavel Březina <pbrezina@redhat.com> |
DNS sites support - replace SRV lookup code with a plugin call
https://fedorahosted.org/sssd/ticket/1032
Removes hard coded SRV lookup code with a plugin call. This patch
breaks SRV lookups as there is currently no plugin in use. It is
fixed in next patch. |
c65f009dac1f8ca935e572a0812711b91cfbf9bf |
|
10-Apr-2013 |
Pavel Březina <pbrezina@redhat.com> |
fail over - add function to insert multiple servers to the list |
f9961e5f82e0ef474d6492371bfdf9e74e208a99 |
|
10-Apr-2013 |
Pavel Březina <pbrezina@redhat.com> |
DNS sites support - SRV lookup plugin interface
https://fedorahosted.org/sssd/ticket/1032
Introduces two new error codes:
- ERR_SRV_NOT_FOUND
- ERR_SRV_LOOKUP_ERROR
Since id_provider is authoritative in case of SRV plugin choise,
ability to override the selected pluging during runtime is not
desirable. We rely on the fact that id_provider is initialized
before all other providers, thus the plugin is set correctly. |
e148ba6dbb26a0eac162ac9a2ff550da2c883808 |
|
18-Dec-2012 |
Pavel Březina <pbrezina@redhat.com> |
try primary server after retry_timeout + 1 seconds when switching to backup
https://fedorahosted.org/sssd/ticket/1679
The problem is when we are about to reset the server status, we don't
get through the timeout (30 seconds) because the "switch to primary
server" task is scheduled 30 seconds after fall back to a backup
server. Thus the server status remains "not working" and is resetted
after another 30 seconds.
We need to make sure that the server status is tried after the
timeout period. retry_timeout is currently hardcoded to 30, thus
the change in man page. |
46d2643b60231ce8634c4683107649c07d3226a9 |
|
24-Sep-2012 |
Michal Zidek <mzidek@redhat.com> |
Bad debug message when no dns_discovery_domain specified.
https://fedorahosted.org/sssd/ticket/920 |
d25e7c659361ebd794ef011dc9305543f266e8c4 |
|
13-Sep-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Check server validity before setting status
The list of resolved servers is allocated on the back end context and
kept in the fo_service structure. However, a single request often
resolves a server and keeps a pointer until the end of a request and
only then gives feedback about the server based on the request result.
This presents a big race condition in case the SRV resolution is used.
When there are requests coming in in parallel, it is possible that an
incoming request will invalidate a server until another request that
holds a pointer to the original server is able to give a feedback.
This patch simply checks if a server is in the list of servers
maintained by a service before reading its status.
https://fedorahosted.org/sssd/ticket/1364 |
058a3f229f00053bfcb25486e25e39cd618ccbef |
|
15-Aug-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Return EAGAIN if there are more servers to try
The caller should issue a next request, which would just shortcut with
ENOENT. |
34a158bbda215b1ceec833359dd5b889c9abfb4b |
|
15-Aug-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
FO: Don't retry the same server if it's not working |
9ab243b369ba317cc964080786dbcdebaf23d6be |
|
15-Aug-2012 |
Michal Zidek <mzidek@redhat.com> |
Duplicate detection in fail over did not work.
https://fedorahosted.org/sssd/ticket/1472 |
47d52632d2aaf93e685a6b7c9e3e43972998cf83 |
|
09-Aug-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
Don't use server after SRV data collapsed |
2ed0dc0bbe1335153339cc05fac7f6bfed12c86b |
|
07-Aug-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
Always mark SRV servers as primary
https://fedorahosted.org/sssd/ticket/1459 |
10a67601de071a664df84dd98255b629d739710f |
|
07-Aug-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
Failover: Return last tried server if it's still being tried
In the failover, we treat both KDC and LDAP on the IPA server as a single
"port", numbered 0. This was done in order to make sure that the SSSD
always talks to the same server for both LDAP and Kerberos.
However, this clever hack breaks when the IPA provider needs to establish an
GSSAPI encrypted LDAP connection because we're asking the fail over code to
yield a server while no server has yet been marked as tried. This triggers a
fail over for the KDC, so in effect, the TGT is received from second server.
If the second server is not available for some reason, the whole provider
goes offline.
The fail over needs to detect that the server asked for is still being
resolved and return the same pointer. |
5d84e8a9624be1268c3d64a67f2afc7d5dcf49e1 |
|
03-Aug-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
Don't call fo_set_{server,port}_status for SRV servers
This bug was producing harmless, but annoying error messages. |
bbd33e46aa6194c1086939f7cf8538c067186455 |
|
01-Aug-2012 |
Jan Zeleny <jzeleny@redhat.com> |
Primary server support: basic support in failover code
Now there are two list of servers for each service. If currently
selected server is only backup, then an event will be scheduled which
tries to get connection to one of primary servers and if it succeeds,
it starts using this server instead of the one which is currently
connected to. |
387349ae092f6dbeb8e4bca291a772695836629c |
|
20-Jun-2012 |
Stef Walter <stefw@gnome.org> |
Move some debug lines to new debug log levels
* These are common lines of debug output when starting
up sssd
https://bugzilla.redhat.com/show_bug.cgi?id=811113 |
64f398dca52df6313169f33cfc20a69d51c3bc2b |
|
29-Mar-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
Return correct resolv_status on resolver timeout
https://fedorahosted.org/sssd/ticket/1274 |
b300bad539e9a9ad7f3a88dc91253afff0425cb6 |
|
06-Mar-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
Only do one cycle when resolving a server
https://fedorahosted.org/sssd/ticket/1214 |
b8ecc581cdd8c7d097bf9db67a4cb220fbbcff6d |
|
20-Dec-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Failover: Introduce a per-service timeout
https://fedorahosted.org/sssd/ticket/976 |
f76cb01f05f7c1764028084b166f65c3ff4e670f |
|
20-Dec-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Do not touch resolve_service_state in fo_resolve_service_done |
4a6a5421113ab662a665c62ed6a24b61a5a36950 |
|
28-Sep-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Multiline macro cleanup
This is mostly a cosmetic patch.
The purpose of wrapping a multi-line macro in a do { } while(0) is to
make the macro usable as a regular statement, not a compound statement.
When the while(0) is terminated with a semicolon, the do { } while(0);
block becomes a compound statement again. |
9b85268eabe33d624b9d184251e89c0c7ae829a2 |
|
21-Jul-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
fo_get_server_name() getter for a server name
Allows to be more concise in tests and more defensive in resolve
callbacks |
363d2fba991eae199d017f5b2d1b458f070fac6b |
|
21-Jul-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Rename fo_get_server_name to fo_get_server_str_name |
1240496176a07e804c57d43926509d5ccbf0fc41 |
|
15-Jun-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Switch resolver to using resolv_hostent and honor TTL |
44e1f778342e0317a5b4287cea7bc23b78ce8568 |
|
02-May-2011 |
Stephen Gallagher <sgallagh@redhat.com> |
Fix minor typo in error message
https://fedorahosted.org/sssd/ticket/825 |
771127e2d24bbb8f7344840fdfa5936a61209c7e |
|
15-Apr-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Set same status for duplicate servers |
fc5fc2c1a28664b727ace6c18eb4fbeb9ce15ab0 |
|
11-Apr-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Remove detection of duplicates from SRV result processing |
63d85fff72563cb913287ab7785c551fa98fc35d |
|
01-Apr-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Do not attempt to resolve nameless servers
The failover code is not strictly in charge of resolving. Its main
function is to provide a server to connect to for a service.
It is legal, although not currently used, to have a server that has no
name (server->common == NULL). In this case, no resolving should be done
and it is assumed that the failover user, which are the SSSD back ends
in our case, would perform any resolving out of band, perhaps using the
user_data attribute of fo_server structure. |
5f4b4fb5a26ddcfa578a368688e81b36b5612d06 |
|
09-Mar-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Run callbacks if server IP changes |
6a39087fc54c7fd53b834cf5a973c4d36cf9bd30 |
|
08-Mar-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Always expire host name resolution
The previous version of the patch only expired a resolved host name
if the port was being reset. We want to always expire it so we notice
IP address changes even if the previous server is still up. |
c825253e74027f87b900c0b811ae019d767c0848 |
|
07-Mar-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Prevent segfault in failover code |
6c9cb2b20ce9b9a1b9ce8d7485e95ac294555398 |
|
28-Feb-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Reset server status after timeout
https://fedorahosted.org/sssd/ticket/809 |
eaee7fa08b609215fcb1aa04db5ec5683d4d3d0b |
|
21-Jan-2011 |
Stephen Gallagher <sgallagh@redhat.com> |
Rename dns_domain to discovery domain for fo_add_srv_server() |
9917b96e31df3fa992d235a050ed1dc0e9939b3d |
|
21-Jan-2011 |
Stephen Gallagher <sgallagh@redhat.com> |
Allow fallback to SSSD domain
For backwards-compatibility with older versions of the SSSD (such
as 1.2.x), we need to be able to have our DNS SRV record lookup be
capable of falling back to using the SSSD domain name as the DNS
discovery domain.
This patch modifies our DNS lookups so that they behave as
follows:
If dns_discovery_domain is specified, it is considered
authoritative. No other discovery domains will be attempted.
If dns_discovery_domain is not specified, we first attempt to look
up the SRV records using the domain portion of the machine's
hostname. If this returns "NOTFOUND", we will try performing an
SRV record query using the SSSD domain name as the DNS discovery
domain.
https://fedorahosted.org/sssd/ticket/754 |
0b586311f6a077deba5f43ca85a8536bfd203c66 |
|
05-Jan-2011 |
Sumit Bose <sbose@redhat.com> |
Rename SRV_NOT_RESOLVED to SRV_RESOLVE_ERROR |
7daf6c9f7a0e583a1ba033bb858208b51358bf2f |
|
05-Jan-2011 |
Sumit Bose <sbose@redhat.com> |
Use the right status when resetting service discovery |
b1df1383dcefa38f9f5d52be3a11e8bb1f465bbf |
|
14-Dec-2010 |
Sumit Bose <sbose@redhat.com> |
Fix incorrect return value on failure in resolve_get_domain_send()
https://fedorahosted.org/sssd/ticket/721 |
6ad2d3a368074266cbf1420cc96922cc86876139 |
|
14-Dec-2010 |
Sumit Bose <sbose@redhat.com> |
Fix improper NULL check in fo_add_srv_server()
https://fedorahosted.org/sssd/ticket/717 |
c8708cd958c633cc3c57a3460bdb15391200e1e1 |
|
01-Dec-2010 |
Sumit Bose <sbose@redhat.com> |
Run checks before resetting offline state
Before setting the backend to online during a reset offline request the
check_online method if the ID provider is called. If the check_online
method returns that the ID provider is still not reachable the backend
stays offline. Otherwise the backend is switched to online and the
related callbacks are run.
Additionally the check online test is called during the res_init request
because a change in /etc/resolve.conf might also make a server reachable
which was assumed offline before. |
40def28805f9df3ff640209def765723cd8e2de3 |
|
01-Dec-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Allow protocol fallback for SRV queries
https://fedorahosted.org/sssd/ticket/691 |
084336613c29b6208dcd882a5a76887378372ec1 |
|
24-Nov-2010 |
Sumit Bose <sbose@redhat.com> |
fix typo in get_server_status() |
ea347b1e07843f7dfc2a0880e2283ee3e63caf4b |
|
07-Sep-2010 |
Jan Zeleny <jzeleny@redhat.com> |
Fixed small issue in memory context hierarchy
In fail_over.c, there was a small bug causing subrequest to have
wrong parent memory context. This patch fixes it. |
34e93359de515da5e75bb34f9f7569f1715f0aa0 |
|
03-Aug-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Return proper error value when SRV lookup fails
Fixes: #587 |
54577e54d1b6300aeb348087372c14ed72530f88 |
|
09-Jul-2010 |
eindenbom <eindenbom@gmail.com> |
Add an interface to try next fail-over server after connection to the active server was unexpectedly dropped. |
faace4bdd6b84f60d2f707c00d31a84c0e84d375 |
|
09-Jul-2010 |
eindenbom <eindenbom@gmail.com> |
Added an interface to query number of configured (and currently resolved through SRV records) failover servers. |
780ffc9f6d5e1fcd4df3d390b56cb98878223cc0 |
|
30-Jun-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Add dns_discovery_domain option
The service discovery used to use the SSSD domain name to perform DNS
queries. This is not an optimal solution, for example from the point of
view of authconfig.
This patch introduces a new option "dns_discovery_domain" that allows to set
the domain part of a DNS SRV query. If this option is not set, the
default behavior is to use the domain part of the machine's hostname.
Fixes: #479 |
8c804f6c4c6d5b701b2d688e924b6c2c70057565 |
|
09-Jun-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Fix Incorrect NULL check in get_server_common()
Fixes: #518 |
c67ddf1e339c164a310e3e93ef8fe08a7ffd7c49 |
|
09-Jun-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Fix potential NULL dereference in fail_over.c
Fixes: #505 |
68796aa0ae2641e2bfe5fe10a703bc705d10e9d4 |
|
03-May-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Fix uninitialized variable |
0d72f05cc87f42a8c2856c96501c64d69541be00 |
|
30-Apr-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Support SRV servers in failover
Adds a new failover API call fo_add_srv_server that allows the caller
to specify a server that is later resolved into a list of specific
servers using SRV requests.
Also adds a new failover option that specifies how often should the
servers resolved from SRV query considered valid until we need a
refresh.
The "real" servers to connect to are returned to the user as usual,
using the fo_resolve_service_{send,recv} calls.
Make SRV resolution work with c-ares 1.6 |
3765c2f9d4ba8aeffe140a8c5ab88acd79c66768 |
|
30-Apr-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Remove freed server_common entities from list |
6e52f3cd077a6d3df8093c38854d5bc835bb6378 |
|
26-Apr-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Treat server names as case-insensitive in failover code |
e0bb119bdc1549d731f371202428c0cb667d3388 |
|
22-Feb-2010 |
Jakub Hrozek <jhrozek@redhat.com> |
Restrict family lookups
Adds a new option that tells resolver which address family to prefer or
use exclusively.
Fixes: #404 |
1c48b5a62f73234ed26bb20f0ab345ab61cda0ab |
|
18-Feb-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Rename server/ directory to src/
Also update BUILD.txt |