From dc06fda6c7b87a3e2a8521269f4fca3f70969281 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Tue, 12 Dec 2006 20:27:01 +0000 Subject: [PATCH] r20132: get rid of defined but not used warning - static function only used inside the #ifdef HAVE_KRB5 (This used to be commit c6cdf76c5809b4a4b145acb7dd4a695aaf7fcd28) --- source3/libads/sasl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c index c3f496938ac..7d1fd0d1a83 100644 --- a/source3/libads/sasl.c +++ b/source3/libads/sasl.c @@ -136,6 +136,7 @@ static ADS_STATUS ads_sasl_spnego_ntlmssp_bind(ADS_STRUCT *ads) return ADS_ERROR(rc); } +#ifdef HAVE_KRB5 /* perform a LDAP/SASL/SPNEGO/KRB5 bind */ @@ -165,6 +166,7 @@ static ADS_STATUS ads_sasl_spnego_krb5_bind(ADS_STRUCT *ads, const char *princip return ADS_ERROR(rc); } +#endif /* this performs a SASL/SPNEGO bind -- 2.11.4.GIT