summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-06-19 15:29:42 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-06-19 15:31:54 +1000
commitec47444a7ea33e6417bac472c863b43db5baeaae (patch)
tree4e37f23ba62591a313bf397792ec9542f91e4b59
parentc0d681a73f01d3482c07aee62a33423ef18bac28 (diff)
downloadsamba-ec47444a7ea33e6417bac472c863b43db5baeaae.tar.gz
samba-ec47444a7ea33e6417bac472c863b43db5baeaae.tar.bz2
samba-ec47444a7ea33e6417bac472c863b43db5baeaae.zip
Allow developers access the the privilaged ldapi socket for the moment
This allows us some time to get the EXTERNAL bind working
-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)
{