Hi,
 
I have configuration of 2 HYPERLINK
"http://us5.samba.org/samba/docs/man/Samba-HOWTO-Collection/cfgsmarts.html#i
d2640886"Multiple Virtual Server Personalities (one public, and another one
private) which are running.
smb.conf.<server>  are included in main smb.conf file, it works fine, but
comments of both servers are equals in the network neightborrood (comment
displayed : "Private server" for both servers) , it seems that this
parameter come from last configuration file loaded.
hows is it possible to have differents server string for both virtual server
?
Thanks in advance.
 
Francois
 
here is my configuration files :
 
smb.conf :
[global]
 
netbios aliases = public PRIVATE
smb ports = 139
workgroup = WORKGROUP
netbios name = PRIVATE
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
include = /etc/samba/smb.conf.%L

smb.conf.public :
[global]
 
workgroup = WORKGROUP
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
disable spoolss = yes
server string = Public server
 
[public]
        path = /tmp/public
        browseable = yes
        read only = no
        create mask = 777
        directory mask = 777
        guest ok = yes
        only guest = yes
        public = yes

smb.conf.PRIVATE :
[global]
 
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
server string = Private server
 
[private]
        path = /tmp/private
        valid users = fred
        browseable = yes
        read only = no
        create mask = 777
        directory mask = 777
        guest ok = no

 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 14/01/2006
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to