diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-09-24 12:30:32 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-10-26 10:29:39 -0400 |
commit | 57193e2334935343c6128eb7fc71743e4376aa09 (patch) | |
tree | 0b5f21f632c6aad4fa414e3a6bb8dea21434b402 /src | |
parent | bb027d200647488dc5a378140988f0ecb9ae1cae (diff) | |
download | sssd-57193e2334935343c6128eb7fc71743e4376aa09.tar.gz sssd-57193e2334935343c6128eb7fc71743e4376aa09.tar.xz sssd-57193e2334935343c6128eb7fc71743e4376aa09.zip |
IPA access: hostname comparison should be case-insensitive
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ipa/ipa_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c index 3bd377320..083d8e7a6 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; } |