summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-19 01:20:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:28 -0500
commite8d19d5e1aa6a101300879e94faacc8c4b3509a5 (patch)
tree217284124312ca5b2496a32c47e9ac6f8113b955
parentf7fc540d848d5f5950f4adf921b5972be2eb81a4 (diff)
downloadsamba-e8d19d5e1aa6a101300879e94faacc8c4b3509a5.tar.gz
samba-e8d19d5e1aa6a101300879e94faacc8c4b3509a5.tar.bz2
samba-e8d19d5e1aa6a101300879e94faacc8c4b3509a5.zip
r22355: Ensure we get good debug messages from gss_XX calls.
Jeremy. (This used to be commit fe36fc79ddd4f2f2c88204055fca60a193586234)
-rw-r--r--source3/libsmb/clifsinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c
index e46456abb1..a7bdeecca9 100644
--- a/source3/libsmb/clifsinfo.c
+++ b/source3/libsmb/clifsinfo.c
@@ -533,6 +533,9 @@ static NTSTATUS make_cli_gss_blob(struct smb_trans_enc_state *es,
status = map_nt_error_from_gss(ret, min);
if (!NT_STATUS_IS_OK(status) && !NT_STATUS_EQUAL(status,NT_STATUS_MORE_PROCESSING_REQUIRED)) {
+ ADS_STATUS adss = ADS_ERROR_GSS(ret, min);
+ DEBUG(10,("make_cli_gss_blob: gss_init_sec_context failed with %s\n",
+ ads_errstr(adss)));
goto fail;
}