diff options
Diffstat (limited to 'source/lib/smbldap.c')
-rw-r--r-- | source/lib/smbldap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c index 8e7ecdfcb04..7e9f1ac9158 100644 --- a/source/lib/smbldap.c +++ b/source/lib/smbldap.c @@ -581,7 +581,9 @@ static void smbldap_store_state(LDAP *ld, struct smbldap_state *smbldap_state) int smb_ldap_start_tls(LDAP *ldap_struct, int version) { +#ifdef LDAP_OPT_X_TLS int rc; +#endif if (lp_ldap_ssl() != LDAP_SSL_START_TLS) { return LDAP_SUCCESS; |