svn commit: samba r25328 - in branches: SAMBA_3_2/source/libads SAMBA_3_2_0/source/libads

gd at samba.org gd at samba.org
Wed Sep 26 01:02:54 GMT 2007


Author: gd
Date: 2007-09-26 01:02:52 +0000 (Wed, 26 Sep 2007)
New Revision: 25328

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25328

Log:
When using ldap sasl wrapping with gssapi it's important to receive warnings
for clock-skew errors.

Guenther

Modified:
   branches/SAMBA_3_2/source/libads/sasl.c
   branches/SAMBA_3_2_0/source/libads/sasl.c


Changeset:
Modified: branches/SAMBA_3_2/source/libads/sasl.c
===================================================================
--- branches/SAMBA_3_2/source/libads/sasl.c	2007-09-25 23:26:05 UTC (rev 25327)
+++ branches/SAMBA_3_2/source/libads/sasl.c	2007-09-26 01:02:52 UTC (rev 25328)
@@ -811,6 +811,11 @@
 
 		if (ADS_ERR_OK(status)) {
 			status = ads_sasl_spnego_krb5_bind(ads, &p);
+			if (!ADS_ERR_OK(status)) {
+				DEBUG(0,("kinit succeeded but "
+					"ads_sasl_spnego_krb5_bind failed: %s\n",
+					ads_errstr(status)));
+			}
 		}
 
 		ads_free_service_principal(&p);

Modified: branches/SAMBA_3_2_0/source/libads/sasl.c
===================================================================
--- branches/SAMBA_3_2_0/source/libads/sasl.c	2007-09-25 23:26:05 UTC (rev 25327)
+++ branches/SAMBA_3_2_0/source/libads/sasl.c	2007-09-26 01:02:52 UTC (rev 25328)
@@ -811,6 +811,11 @@
 
 		if (ADS_ERR_OK(status)) {
 			status = ads_sasl_spnego_krb5_bind(ads, &p);
+			if (!ADS_ERR_OK(status)) {
+				DEBUG(0,("kinit succeeded but "
+					"ads_sasl_spnego_krb5_bind failed: %s\n",
+					ads_errstr(status)));
+			}
 		}
 
 		ads_free_service_principal(&p);



More information about the samba-cvs mailing list