diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-11 17:53:59 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-11 17:54:50 +0200 |
commit | 2228001f0025ab7229b79fdf14718e1428e34007 (patch) | |
tree | be312791a338f86e327a8f646fd25994f2a2009a /src/providers/simple/simple_access_check.c | |
parent | c6291e9989994c56ab1ac5b88a6863388783458e (diff) | |
download | sssd-2228001f0025ab7229b79fdf14718e1428e34007.tar.gz sssd-2228001f0025ab7229b79fdf14718e1428e34007.tar.xz sssd-2228001f0025ab7229b79fdf14718e1428e34007.zip |
SIMPLE: Some extra debuggingrhel6.5
Diffstat (limited to 'src/providers/simple/simple_access_check.c')
-rw-r--r-- | src/providers/simple/simple_access_check.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/simple/simple_access_check.c b/src/providers/simple/simple_access_check.c index d490328b0..20dab784e 100644 --- a/src/providers/simple/simple_access_check.c +++ b/src/providers/simple/simple_access_check.c @@ -50,6 +50,9 @@ simple_check_users(struct simple_ctx *ctx, const char *username, /* First, check whether the user is in the allowed users list */ if (ctx->allow_users != NULL) { for(i = 0; ctx->allow_users[i] != NULL; i++) { + DEBUG(SSSDBG_TRACE_INTERNAL, + ("Comparing [%s] to [%s]\n", username, ctx->allow_users[i])); + if (sss_string_equal(cs, username, ctx->allow_users[i])) { DEBUG(SSSDBG_TRACE_LIBS, ("User [%s] found in allow list, access granted.\n", @@ -74,6 +77,9 @@ simple_check_users(struct simple_ctx *ctx, const char *username, /* Next check whether this user has been specifically denied */ if (ctx->deny_users != NULL) { for(i = 0; ctx->deny_users[i] != NULL; i++) { + DEBUG(SSSDBG_TRACE_INTERNAL, + ("Comparing [%s] to [%s]\n", username, ctx->deny_users[i])); + if (sss_string_equal(cs, username, ctx->deny_users[i])) { DEBUG(SSSDBG_TRACE_LIBS, ("User [%s] found in deny list, access denied.\n", |