summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/providers/ipa/ipa_access.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c
index d88e5c931..abb6edb7a 100644
--- a/src/providers/ipa/ipa_access.c
+++ b/src/providers/ipa/ipa_access.c
@@ -1127,7 +1127,7 @@ enum check_result check_user(struct hbac_ctx *hbac_ctx,
return RULE_ERROR;
}
if (el->num_values == 0) {
- DEBUG(9, ("USer category is not set.\n"));
+ DEBUG(9, ("User category is not set.\n"));
} else {
for (i = 0; i < el->num_values; i++) {
if (strncasecmp("all", (const char *) el->values[i].data,
@@ -1148,7 +1148,7 @@ enum check_result check_user(struct hbac_ctx *hbac_ctx,
}
if (el->num_values == 0) {
DEBUG(9, ("No user specified, rule does not apply.\n"));
- return RULE_APPLICABLE;
+ return RULE_NOT_APPLICABLE;
} else {
for (i = 0; i < el->num_values; i++) {
DEBUG(9, ("Searching matches for [%.*s].\n", el->values[i].length,