r24286: (missed from previous commit)
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Aug 2007 08:43:15 +0000 (08:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:01:37 +0000 (15:01 -0500)
A number of machines on the build farm fail because while they use
SOCKET_WRAPPER, they don't compile with --enable-developer.  As such
the winbind tests fail.

We need to ensure that on production systems we never have
SOCKET_WRAPPER set, or this could be a security issue.

Andrew Bartlett
(This used to be commit 3d2dbcf50dbe3d36ec86e1bc1d7bdcb72dbdef00)

source4/nsswitch/winbindd_nss.h

index 68aa41f45e73ccb91781958decd03a0c89f0f295..75c040d8302a3dcc9b35ff99ac28d8417d634b99 100644 (file)
@@ -40,7 +40,7 @@
 #define WINBINDD_DOMAIN_ENV  "WINBINDD_DOMAIN" /* Environment variables */
 #define WINBINDD_DONT_ENV    "_NO_WINBINDD"
 
-#ifdef DEVELOPER
+#ifdef SOCKET_WRAPPER
 #define WINBINDD_SOCKET_DIR_ENV "WINBINDD_SOCKET_DIR"
 #endif