diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/auth_winbind.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c index 26a1b7f101..20faa95b01 100644 --- a/source3/auth/auth_winbind.c +++ b/source3/auth/auth_winbind.c @@ -80,6 +80,11 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context, wbc_status = wbcAuthenticateUserEx(¶ms, &info, &err); unbecome_root(); + if (!WBC_ERROR_IS_OK(wbc_status)) { + DEBUG(10,("check_winbind_security: wbcAuthenticateUserEx failed: %s\n", + wbcErrorString(wbc_status))); + } + if (wbc_status == WBC_ERR_NO_MEMORY) { return NT_STATUS_NO_MEMORY; } |