Ahhh - thanks!
I found the lock dir and pid dir param but must have missed the private dir param when 
searching the smb.conf manpage.
maybe i had an outdated manpage?

i give it a try.

it`s strange that google gives me "only" 365 hits when searching for <"private dir" 
smb.conf> (there are thousands of smb.conf
documents out there on the net!  is that a brand new param ?

so - only one issue left :

> > - i have no clue why nmbd binds to IP #1 or #2  AND to 0.0.0.0:138 THOUGH i 
> > configured bind interfaces only (bug?). that must be
the
> > reason why browsing doesn`t work when 2 instances are up and running.

:)

regards
roland


----- Original Message ----- 
From: "Herb Lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 27, 2004 6:08 PM
Subject: Re: [Samba] samba multiple instances


> check out the following smb.conf parameters
>
> private dir
> lock directory
> pid directory
>
>
> [EMAIL PROTECTED] wrote:
> > Hi !
> > I want to run 2 samba instances on my linux server.
> > the server has 2 ip adresses and i made 2 different smb.conf`s (2 different 
> > netbios-names/workgroups bound to specific
interfaces -
> > params "interfaces" , "bind interfaces only" and "socket address")
> > furthermore i cloned the start/stopscripts (cp smb/nmb  to smb2/nmb2) to use that 
> > different smb.conf`s.
> >
> > but that doesnt work perfect - i can connect to the different ip`s and have 2 
> > smbd`s serving files - but i wonder about the
> > following:
> >
> > - i have no clue how to make samba instance #1 use /var/lib/samba and instance #2 
> > use /var/lib/samba2 for their TDB backend
files.
> > also nmbd writes a browse.dat - so - we have concurrent access on that file if 2 
> > nmbd`s are running, right?
> > hardcoded paths ?
> >
> > - i have no clue why nmbd binds to IP #1 or #2  AND to 0.0.0.0:138 THOUGH i 
> > configured bind interfaces only (bug?). that must be
the
> > reason why browsing doesn`t work when 2 instances are up and running.
> >
> > can someone help me with this ?
> >
> > i`m sure that multi-instance of samba should work in general - but there seem to 
> > be some bells and whistles.....
> >
> > regards
> > roland
> >
> >
> >
>

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to