Zentyal Forum, Linux Small Business Server
Zentyal Server => Other modules => Topic started by: gararda on December 17, 2015, 12:12:34 pm
-
Hi,
I have a Zentyal 3.2 running as a PDC and Samba server.
I the DHCP option, I have checked the option "Servidor WINS - Zental local". But I seems the Zentyal is not responding. In the following command, Zentyal have IP 192.168.12.1, but is not elected as master browser:
mblookup -M -- -
192.168.12.50 __MSBROWSE__<01> // IP of the windows machine in the same IP subnet
192.168.12.126 __MSBROWSE__<01> // client itself
10.0.101.4 __MSBROWSE__<01> // IP of the windows machine in another IP subnet
10.0.100.3 __MSBROWSE__<01> // IP of the windows machine in another IP subnet
In other subnets, Zentyal is responding fine:
nmblookup -M -- -
192.168.14.159 __MSBROWSE__<01> // client itself
192.168.14.1 __MSBROWSE__<01> // Zentyal server
In the cofiguration file "smb.conf.mas" I can not nothing about "wins support = yes"
How can I check if the wins server of Zentyal is working fine?
Best regards.
-
I have configured other ubuntu to be the master browser on this LAN and all is working fine:
smb.conf
## Browsing/Identification ###
wins support = no
domain master = yes
local master = yes
preferred master = yes
but this is not the ideal solution. I wan to be Zentyal the master browser, so I want to configure it.
I think I must change the config file /usr/share/zentyal/stubs/samba/smb.conf.mas and add the commands under "[global]"
Is this correct?
regards
-
You should do a custom stub instead:
mkdir -p /etc/zentyal/stubs/samba
cp /usr/share/zentyal/stubs/samba/smb.conf.mas /etc/zentyal/stubs/samba/
and do changes on /etc/zentyal/stubs/samba/smb.conf.mas
O therwise you might lose your changes on any possible zentyal-samba package update.
-
Thank you so much jbahillo, I will try¡¡¡
regards
-
It works perfectly. Brief summary:
- Create a new stub
mkdir -p /etc/zentyal/stubs/samba
cp /usr/share/zentyal/stubs/samba/smb.conf.mas /etc/zentyal/stubs/samba/
Add the following code at [global] level to: /etc/zentyal/stubs/samba/smb.conf.mas
domain master = yes
wins support = yes
local master = yes
os level = 255
preferred master = yes
Regards.