From ec47444a7ea33e6417bac472c863b43db5baeaae Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 19 Jun 2009 15:29:42 +1000 Subject: Allow developers access the the privilaged ldapi socket for the moment This allows us some time to get the EXTERNAL bind working --- source4/ldap_server/ldap_server.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/ldap_server/ldap_server.c') 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) { -- cgit