summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-12 20:27:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:26 -0500
commitdc06fda6c7b87a3e2a8521269f4fca3f70969281 (patch)
treee0ed28a1141e195501586c69224e40442a3a3c43
parent6914b29daa6700f0d4f1b93866074ce71f63a626 (diff)
downloadsamba-dc06fda6c7b87a3e2a8521269f4fca3f70969281.tar.gz
samba-dc06fda6c7b87a3e2a8521269f4fca3f70969281.tar.bz2
samba-dc06fda6c7b87a3e2a8521269f4fca3f70969281.zip
r20132: get rid of defined but not used warning - static function only used
inside the #ifdef HAVE_KRB5 (This used to be commit c6cdf76c5809b4a4b145acb7dd4a695aaf7fcd28)
-rw-r--r--source3/libads/sasl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index c3f496938a..7d1fd0d1a8 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