From 4e748c28dec6fcb732ebe24829f1b750074d488e Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Tue, 30 Apr 2013 15:25:54 +0200 Subject: dns srv plugin: compare domain names case insensitive --- src/providers/fail_over_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit