summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-09-24 12:30:32 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-09-28 09:06:57 -0400
commitea40c46597f124f08802b6a6422394777d9bfb91 (patch)
treed92d47ed665d43886246e0ee7bc260ad229ea7bd /src
parentf5b6f977d4144c28e9c66f3f1c9d634d595d1117 (diff)
downloadsssd-ea40c46597f124f08802b6a6422394777d9bfb91.tar.gz
sssd-ea40c46597f124f08802b6a6422394777d9bfb91.tar.bz2
sssd-ea40c46597f124f08802b6a6422394777d9bfb91.zip
IPA access: hostname comparison should be case-insensitive
Diffstat (limited to 'src')
-rw-r--r--src/providers/ipa/ipa_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c
index a74d6a97..10f1cb7e 100644
--- a/src/providers/ipa/ipa_access.c
+++ b/src/providers/ipa/ipa_access.c
@@ -380,7 +380,7 @@ static void hbac_get_rule_info_step(struct tevent_req *req)
goto fail;
}
- if (strcmp(hostname, ipa_hostname) == 0) {
+ if (strcasecmp(hostname, ipa_hostname) == 0) {
hbac_ctx->ipa_host = hbac_ctx->hosts[i];
break;
}