Allow developers access the the privilaged ldapi socket for the moment
authorAndrew Bartlett <abartlet@samba.org>
Fri, 19 Jun 2009 05:29:42 +0000 (15:29 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 19 Jun 2009 05:31:54 +0000 (15:31 +1000)
This allows us some time to get the EXTERNAL bind working

source4/ldap_server/ldap_server.c

index 9611ad67339d715bfe7ace6d53ab0f61a405530a..05a095d6f4d06a977a5573871b67fdbee551b8f0 100644 (file)
@@ -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)
 {