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
