We now use the correct name for function macros... release_3_0_6
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 17 Dec 2014 21:07:57 +0000 (16:07 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 17 Dec 2014 21:49:16 +0000 (16:49 -0500)
src/modules/rlm_ldap/ldap.c

index 060569b..a44fd40 100644 (file)
@@ -1392,7 +1392,7 @@ void *mod_conn_create(TALLOC_CTX *ctx, void *instance)
        do_ldap_option(LDAP_OPT_X_KEEPALIVE_INTERVAL, "keepalive interval", &(inst->keepalive_interval));
 #endif
 
-#ifdef HAVE_LDAP_START_TLS
+#ifdef HAVE_LDAP_START_TLS_S
        /*
         *      Set all of the TLS options
         */
@@ -1449,7 +1449,7 @@ void *mod_conn_create(TALLOC_CTX *ctx, void *instance)
                        goto error;
                }
        }
-#endif /* HAVE_LDAP_START_TLS */
+#endif /* HAVE_LDAP_START_TLS_S */
 
        status = rlm_ldap_bind(inst, NULL, &conn, inst->admin_dn, inst->password, false);
        if (status != LDAP_PROC_SUCCESS) {