From 3309aacc991605a430bde23f284870eeb31a20a8 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 26 Sep 2007 01:02:52 +0000 Subject: 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) --- source3/libads/sasl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/libads/sasl.c') 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); -- cgit