diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-09-24 12:30:32 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-30 09:55:02 -0400 |
commit | d7c7edcf4c7014dff3f84b5b56dbd4453cf608aa (patch) | |
tree | 590d1aef39ad1d9db4bf974c7e28b4af03d1b9a5 | |
parent | 87dfdc7068ea97c426a332adc2008d83c91b721f (diff) | |
download | sssd-d7c7edcf4c7014dff3f84b5b56dbd4453cf608aa.tar.gz sssd-d7c7edcf4c7014dff3f84b5b56dbd4453cf608aa.tar.xz sssd-d7c7edcf4c7014dff3f84b5b56dbd4453cf608aa.zip |
IPA access: hostname comparison should be case-insensitive
-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; } |