svn commit: samba r22350 - in branches/SAMBA_3_0/source/smbd: .
jra at samba.org
jra at samba.org
Thu Apr 19 00:35:21 GMT 2007
Author: jra
Date: 2007-04-19 00:35:18 +0000 (Thu, 19 Apr 2007)
New Revision: 22350
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22350
Log:
Add some helpful debug messages.
Jeremy.
Modified:
branches/SAMBA_3_0/source/smbd/seal.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/seal.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/seal.c 2007-04-18 22:34:23 UTC (rev 22349)
+++ branches/SAMBA_3_0/source/smbd/seal.c 2007-04-19 00:35:18 UTC (rev 22350)
@@ -119,13 +119,16 @@
&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 @@
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);
}
More information about the samba-cvs
mailing list