summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-19 00:35:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:28 -0500
commit1adbf4af06a71ffea493a3a3750d163f85f62c7f (patch)
tree17f4b00c9dfbe4a14d73bc9dfc0f12b768ab9266 /source3/smbd
parentc5fb215efb757b0ed9a7010a0e44253c8e219aae (diff)
downloadsamba-1adbf4af06a71ffea493a3a3750d163f85f62c7f.tar.gz
samba-1adbf4af06a71ffea493a3a3750d163f85f62c7f.tar.bz2
samba-1adbf4af06a71ffea493a3a3750d163f85f62c7f.zip
r22350: Add some helpful debug messages.
Jeremy. (This used to be commit bf2e6bd82dc0d35313677c6cb04357da1e74ce4f)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/seal.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c
index c6fab5f078..c0682a8201 100644
--- a/source3/smbd/seal.c
+++ b/source3/smbd/seal.c
@@ -119,13 +119,16 @@ static NTSTATUS get_srv_gss_creds(const char *service,
&nt_hostbased_service,
&srv_name);
+ DEBUG(10,("get_srv_gss_creds: imported name %s\n",
+ host_princ_s ));
+
if (ret != GSS_S_COMPLETE) {
SAFE_FREE(host_princ_s);
return map_nt_error_from_gss(ret, min);
}
ret = gss_acquire_cred(&min,
- &srv_name,
+ srv_name,
GSS_C_INDEFINITE,
GSS_C_NULL_OID_SET,
cred_type,
@@ -134,6 +137,9 @@ static NTSTATUS get_srv_gss_creds(const char *service,
NULL);
if (ret != GSS_S_COMPLETE) {
+ ADS_STATUS adss = ADS_ERROR_GSS(ret, min);
+ DEBUG(10,("get_srv_gss_creds: gss_acquire_cred failed with %s\n",
+ ads_errstr(adss)));
status = map_nt_error_from_gss(ret, min);
}