diff options
-rw-r--r-- | source3/auth/auth_ntlmssp.c | 3 | ||||
-rw-r--r-- | source3/smbd/sesssetup.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index ed66d0db0a..b6c26a1fc8 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -127,7 +127,8 @@ static NTSTATUS auth_ntlmssp_check_password(struct ntlmssp_state *ntlmssp_state, nt_status = create_local_token(auth_ntlmssp_state->server_info); if (!NT_STATUS_IS_OK(nt_status)) { - DEBUG(10, ("create_local_token failed\n")); + DEBUG(10, ("create_local_token failed: %s\n", + nt_errstr(nt_status))); return nt_status; } diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 9baa02977a..5578dafd85 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -539,6 +539,8 @@ static void reply_spnego_kerberos(struct smb_request *req, if ( !server_info->ptok ) { ret = create_local_token( server_info ); if ( !NT_STATUS_IS_OK(ret) ) { + DEBUG(10,("failed to create local token: %s\n", + nt_errstr(ret))); SAFE_FREE(client); data_blob_free(&ap_rep); data_blob_free(&session_key); |