summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-08-09 08:08:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:36 -0500
commit9b1cdd45ebaf70fd6160d4805931c5ee31dddcde (patch)
treeba3ff78a9332e9c2bff4ffd849c69eee6f0fb20e /source4
parent4792285282e2ec78ccb0ebc3cac6465d1d26ef10 (diff)
downloadsamba-9b1cdd45ebaf70fd6160d4805931c5ee31dddcde.tar.gz
samba-9b1cdd45ebaf70fd6160d4805931c5ee31dddcde.tar.bz2
samba-9b1cdd45ebaf70fd6160d4805931c5ee31dddcde.zip
r24285: 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 eccc2d11da86661cb2086a6f5ce970571d744ec9)
Diffstat (limited to 'source4')
-rw-r--r--source4/nsswitch/wb_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nsswitch/wb_common.c b/source4/nsswitch/wb_common.c
index 7c17c32937..e2b84e9f69 100644
--- a/source4/nsswitch/wb_common.c
+++ b/source4/nsswitch/wb_common.c
@@ -308,7 +308,7 @@ int winbind_open_pipe_sock(void)
return winbindd_fd;
}
-#ifdef DEVELOPER
+#ifdef SOCKET_WRAPPER
winbindd_socket_dir_env = getenv(WINBINDD_SOCKET_DIR_ENV);
if (!winbindd_socket_dir_env)