summaryrefslogtreecommitdiffstats
path: root/source3/smbd/sesssetup.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-06 12:24:37 +0100
committerGünther Deschner <gd@samba.org>2008-03-06 12:27:11 +0100
commit23cd8e5ea7f2aac6cfdcb52666ba4e925740f63f (patch)
treef1afd253e2660f9f05a7d3c25d0d17321e9f8c07 /source3/smbd/sesssetup.c
parent7215b1f69aad2f12a8bc1e3647eaf0425d45f63b (diff)
downloadsamba-23cd8e5ea7f2aac6cfdcb52666ba4e925740f63f.tar.gz
samba-23cd8e5ea7f2aac6cfdcb52666ba4e925740f63f.tar.xz
samba-23cd8e5ea7f2aac6cfdcb52666ba4e925740f63f.zip
Be more verbose why create local token has failed during
NTLMSSP and Kerberos session setup Guenther (This used to be commit 18b8c2c19e50aee8fc900c7507244cb95014a4fa)
Diffstat (limited to 'source3/smbd/sesssetup.c')
-rw-r--r--source3/smbd/sesssetup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 9baa02977ad..5578dafd851 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);