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> |
bf54fbed126ec3d459af40ea370ffadacd31c76d |
|
11-Feb-2015 |
Jakub Hrozek <jhrozek@redhat.com> |
RESOLV: Add an internal function to read TTL from a DNS packet
Related:
https://fedorahosted.org/sssd/ticket/1884
Adds an internal resolver function that reads the TTL for SRV records as
specified by RFC-2181. Several internal c-ares definitions are used
until c-ares contains a function that exposes all this information via a
parsing function.
Reviewed-by: Pavel Březina <pbrezina@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> |
c7c01428baf8e29a7997cb879cea109d63c4e581 |
|
09-Dec-2013 |
Pavel Březina <pbrezina@redhat.com> |
failover: check dns_domain if primary servers lookup failed
If primary servers lookup failed, dns_domain is not set.
Resolves:
https://fedorahosted.org/sssd/ticket/2173 |
0e65abe5cf2abf5d4b431cf6bd161b419f07901d |
|
11-Sep-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Fix formating of variables with type: size_t |
002113460c411cab449c0d7dea824cea1a6c68e7 |
|
05-Sep-2013 |
Pavel Březina <pbrezina@redhat.com> |
fo srv: add priority to fo_server_info
This will give SRV plugins all information needed for additional
sorting. |
87158890d6e7239167d7c8089070f3d2cdf5e58d |
|
05-Sep-2013 |
Pavel Březina <pbrezina@redhat.com> |
resolv_sort_srv_reply: remove unnecessary mem_ctx |
d98fdd80331e93cd698281341360a3ce3e30afbe |
|
02-Sep-2013 |
Pavel Březina <pbrezina@redhat.com> |
Fix czech specific character in my name |
07065554c8963e2aa9fc227a51480135bc4d5130 |
|
25-Jun-2013 |
Pavel Březina <pbrezina@redhat.com> |
fix dead code in fail_over_srv.c
https://fedorahosted.org/sssd/ticket/1969
The dead code is in fo_discover_servers_primary_done(). By fixing
it I have also added a debug message on ret != EOK. This change is
done also in fo_discover_servers_backup_done(). |
e3db994ddc8eda225c4cc3c90e9c0bd82281faf6 |
|
03-May-2013 |
Pavel Březina <pbrezina@redhat.com> |
fo_discover_servers_send: don't crash when backup_domain is NULL |
4e748c28dec6fcb732ebe24829f1b750074d488e |
|
02-May-2013 |
Pavel Březina <pbrezina@redhat.com> |
dns srv plugin: compare domain names case insensitive |
1099620d87afcee7e239cbb75fd364643c8c1124 |
|
02-May-2013 |
Pavel Březina <pbrezina@redhat.com> |
add fo_discover_servers request
This request takes discovery domain for primary servers and other
domain for backup servers and returns list of primary and backup
servers.
If primary domain is not reachable, it returns servers found in
backup domain as primary servers. |
77d165f0629966db65753a3aee84a8b4971673af |
|
10-Apr-2013 |
Pavel Březina <pbrezina@redhat.com> |
DNS sites support - SRV DNS lookup plugin
https://fedorahosted.org/sssd/ticket/1032
This plugin mimics the current behaviour.
If discovery_domain is set it is the only domain that is tried.
If discovery_domain is not set, we try to autodetect domain first
and if that fails or SRV lookup on this domain fails, we fallback
to SSSD domain name. |