summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ldap_server/ldap_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index 9611ad6733..05a095d6f4 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -458,6 +458,10 @@ static const struct stream_server_ops ldap_stream_nonpriv_ops = {
/* The feature removed behind an #ifdef until we can do it properly
* with an EXTERNAL bind. */
+#ifdef DEVELOPER
+#define WITH_LDAPI_PRIV_SOCKET
+#endif
+
#ifdef WITH_LDAPI_PRIV_SOCKET
static void ldapsrv_accept_priv(struct stream_connection *c)
{