Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: abgar on May 29, 2009, 11:41:51 am

Title: Ebox as WINS server - newbie question -SOLVED
Post by: abgar on May 29, 2009, 11:41:51 am
Hello,
I am rather fresh linux user, so please be patient ;)
I am currently integrating 3 remote LANS in one VPN tunelled network using Mikrotik routers. Things are going OK.
The main problem in tunelled ethernet LANs is bad performance of Windows name resolution.
So I intend to establish a simple linux machine to act as WINS server ( to by configured along with router's DHCP server )
So my question is: how to make Ebox to act as WINS server in my network ? By far as I understood there should be put into samba.conf:
[global]
   wins support = yes
   name resolve order = wins lmhosts hosts bcast

How to do it ?
Regards
--------------------------------------------------------------
I worked it out. Now my windows network works like a charm :D
In case any1 needs that solution: You must edit samba.conf file and make shure, that following lines are present ( in case of absence: add them )

wins support = Yes
local master = Yes
os level = 99
preferred master = Yes

Byt the way: it would be great to have it in EBox admin interface as it is faiirly easy to do
Title: Re: Ebox as WINS server - newbie question -SOLVED
Post by: poundjd on May 29, 2009, 10:32:06 pm
Abgar,  Did you make the changes to the samba.conf file or did you change the samba.conf.mas file?  If you did not make the changes to the .mas file the next time eBox updates that configuration it will overwrite the samba.conf file.
-jeff

I also support getting this added to the eBox UI.
-jeff
Title: Re: Ebox as WINS server - newbie question -SOLVED
Post by: abgar on May 30, 2009, 05:52:13 pm
Thank You for this advice. I modified only samba.conf file.

Finally made it work. The file name is: smb.conf.mas
Title: Re: Ebox as WINS server - newbie question -SOLVED
Post by: poundjd on May 31, 2009, 01:42:14 am
Abgar, I have gotten soo much help here, I have to give some back.  Glad I was able to help if even only a little.
-jeff
Title: Re: Ebox as WINS server - newbie question -SOLVED
Post by: abgar on May 31, 2009, 04:05:28 am
poundjd - thank You and have a nice weekend  :)
Title: Re: Ebox as WINS server - newbie question -SOLVED
Post by: poundjd on May 31, 2009, 07:00:24 pm
Abgar
     you too!
-jeff
Title: Re: Ebox as WINS server - newbie question -SOLVED
Post by: viperef on June 01, 2009, 05:18:21 pm
in new version i cant find samba.conf i did whereis samba.conf and only found smb.conf
Title: Re: Ebox as WINS server - newbie question -SOLVED
Post by: cheesyking on June 04, 2009, 06:09:58 pm
in new version i cant find samba.conf i did whereis samba.conf and only found smb.conf

it's smb.conf that you want... and don't forget that bit about editing /usr/share/ebox/stubs/samba/smb.conf.mas rather than /etc/samba/smb.conf