summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/fail_over_srv.c2
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;