diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-04-30 15:25:54 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-02 16:48:12 +0200 |
commit | 4e748c28dec6fcb732ebe24829f1b750074d488e (patch) | |
tree | b185c59627c33dfb92699edf3010b54402db9269 | |
parent | a679f0167b646cffdae86546ed77e105576991b0 (diff) | |
download | sssd-4e748c28dec6fcb732ebe24829f1b750074d488e.tar.gz sssd-4e748c28dec6fcb732ebe24829f1b750074d488e.tar.bz2 sssd-4e748c28dec6fcb732ebe24829f1b750074d488e.zip |
dns srv plugin: compare domain names case insensitive
-rw-r--r-- | src/providers/fail_over_srv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/fail_over_srv.c b/src/providers/fail_over_srv.c index c16bea27..9ff3de98 100644 --- a/src/providers/fail_over_srv.c +++ b/src/providers/fail_over_srv.c @@ -585,7 +585,7 @@ static errno_t fo_resolve_srv_dns_discover(struct tevent_req *req) goto done; } - if (strcmp(ctx->detected_domain, ctx->sssd_domain) != 0) { + if (strcasecmp(ctx->detected_domain, ctx->sssd_domain) != 0) { domains[1] = talloc_strdup(domains, ctx->sssd_domain); if (domains[1] == NULL) { ret = ENOMEM; |