summaryrefslogtreecommitdiff
path: root/source3/libads/sasl.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-09-26 01:02:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:00 -0500
commit3309aacc991605a430bde23f284870eeb31a20a8 (patch)
treea3a2d3633dea6251c77c3c6a966c2e3da419c9fd /source3/libads/sasl.c
parentaea0d4b9a0540e31392712bfeeb2185975919c42 (diff)
downloadsamba-3309aacc991605a430bde23f284870eeb31a20a8.tar.gz
samba-3309aacc991605a430bde23f284870eeb31a20a8.tar.bz2
samba-3309aacc991605a430bde23f284870eeb31a20a8.zip
r25328: When using ldap sasl wrapping with gssapi it's important to receive warnings
for clock-skew errors. Guenther (This used to be commit 53c99d415d605ab03e3646f6096aff794457dd33)
Diffstat (limited to 'source3/libads/sasl.c')
-rw-r--r--source3/libads/sasl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index c4b383e026..dec8756a86 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -811,6 +811,11 @@ static ADS_STATUS ads_sasl_spnego_bind(ADS_STRUCT *ads)
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);