svn commit: samba r13244 - in branches/SAMBA_4_0/source: . build/m4 build/smb_build include lib nsswitch param script/tests winbind

abartlet at samba.org abartlet at samba.org
Tue Jan 31 00:48:59 GMT 2006


Author: abartlet
Date: 2006-01-31 00:48:57 +0000 (Tue, 31 Jan 2006)
New Revision: 13244

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13244

Log:
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

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


Changeset:
Sorry, the patch is too large (330 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13244


More information about the samba-cvs mailing list