r13244: Allow control of the location of the Samba3-compatible winbindd pipe
authorAndrew Bartlett <abartlet@samba.org>
Tue, 31 Jan 2006 00:48:57 +0000 (00:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:37 +0000 (13:51 -0500)
commit8866aa06ffc3896094c878e9c07b40c03826d9a7
tree1c2d4e2032e870d56ed266ae1e46a53df15237eb
parent92eec049628a79f8d9496c6d199d6de0238e7940
r13244: Allow control of the location of the Samba3-compatible winbindd pipe
in Samba4.  This allows us to start winbindd by default, including in
'make test'.

This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple
clients).

I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.

The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think).  For this reason, this
functionality should probably be ported to Samba3 as well.

The default for Samba4 is PREFIX/var/run/winbind_pipe.

I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.

Andrew Bartlett
source/build/m4/check_path.m4
source/build/smb_build/makefile.pm
source/dynconfig.c
source/include/dynconfig.h
source/lib/util.c
source/main.mk
source/nsswitch/winbindd_nss.h
source/param/loadparm.c
source/script/tests/selftest.sh
source/winbind/wb_server.c
source/winbind/wb_server.h