[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2763-g18b8c2c

Günther Deschner gd at samba.org
Thu Mar 6 11:29:38 GMT 2008


The branch, v3-2-test has been updated
       via  18b8c2c19e50aee8fc900c7507244cb95014a4fa (commit)
      from  9e4f576abfdd5605f4db9bb87c22ec68c94ff850 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 18b8c2c19e50aee8fc900c7507244cb95014a4fa
Author: Günther Deschner <gd at samba.org>
Date:   Thu Mar 6 12:24:37 2008 +0100

    Be more verbose why create local token has failed during
    NTLMSSP and Kerberos session setup
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/auth/auth_ntlmssp.c |    3 ++-
 source/smbd/sesssetup.c    |    2 ++
 2 files changed, 4 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/auth/auth_ntlmssp.c b/source/auth/auth_ntlmssp.c
index ed66d0d..b6c26a1 100644
--- a/source/auth/auth_ntlmssp.c
+++ b/source/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/source/smbd/sesssetup.c b/source/smbd/sesssetup.c
index 9baa029..5578daf 100644
--- a/source/smbd/sesssetup.c
+++ b/source/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);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list