[Samba] Two winbinds in one machine?

Fernando del Valle delsat-sec at data54.com
Wed Jun 25 16:21:35 GMT 2003


I'm switching between two domains, and I need to make a couple of
Linux+Samba machines provide the same shares in both domains. I've set up
two sambas in the same machine, listening on different subinterfaces, but I
can't make winbind to behave properly. As soon as I start the second
winbind, the domain accounts provided by the first one become hidden (that
is, 'getent passwd' only shows the second domain). I found both winbinds use
the same UNIX socket/pipe. I found no way to choose the socket used, or to
make winbind share the socket, neither in the configure script nor in the
daemon options. Does anyone know how to work around this?

I use samba 2.2.3.

netstat -nap | grep winbindd shows this (.200 and .209 are the PDCs):

tcp        0      0
ESTABLISHED 24619/winbindd
tcp        0      0
ESTABLISHED 24619/winbindd
tcp        0      0
ESTABLISHED 24905/winbindd
unix  2      [ ACC ]     STREAM     LISTENING     114109 24619/winbindd
unix  2      [ ACC ]     STREAM     LISTENING     120740 24905/winbindd


Fernando del Valle

More information about the samba mailing list