diff options
author | Herb Lewis <herb@samba.org> | 2006-12-12 20:27:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:26 -0500 |
commit | dc06fda6c7b87a3e2a8521269f4fca3f70969281 (patch) | |
tree | e0ed28a1141e195501586c69224e40442a3a3c43 /source3/libads/sasl.c | |
parent | 6914b29daa6700f0d4f1b93866074ce71f63a626 (diff) | |
download | samba-dc06fda6c7b87a3e2a8521269f4fca3f70969281.tar.gz |
r20132: get rid of defined but not used warning - static function only used
inside the #ifdef HAVE_KRB5
(This used to be commit c6cdf76c5809b4a4b145acb7dd4a695aaf7fcd28)
Diffstat (limited to 'source3/libads/sasl.c')
-rw-r--r-- | source3/libads/sasl.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |