Author Topic: Ebox as WINS server - newbie question -SOLVED  (Read 3869 times)

abgar

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Ebox as WINS server - newbie question -SOLVED
« 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
« Last Edit: May 29, 2009, 04:36:32 pm by abgar »

poundjd

  • Zen Warrior
  • ***
  • Posts: 243
  • Karma: +0/-0
  • To your own morals be true!
    • View Profile
Re: Ebox as WINS server - newbie question -SOLVED
« Reply #1 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
Jeffrey D. Pound, Sr.
CISSP
Still learning, hope to never stop!

abgar

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Ebox as WINS server - newbie question -SOLVED
« Reply #2 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
« Last Edit: May 31, 2009, 12:36:35 am by abgar »

poundjd

  • Zen Warrior
  • ***
  • Posts: 243
  • Karma: +0/-0
  • To your own morals be true!
    • View Profile
Re: Ebox as WINS server - newbie question -SOLVED
« Reply #3 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
Jeffrey D. Pound, Sr.
CISSP
Still learning, hope to never stop!

abgar

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Ebox as WINS server - newbie question -SOLVED
« Reply #4 on: May 31, 2009, 04:05:28 am »
poundjd - thank You and have a nice weekend  :)

poundjd

  • Zen Warrior
  • ***
  • Posts: 243
  • Karma: +0/-0
  • To your own morals be true!
    • View Profile
Re: Ebox as WINS server - newbie question -SOLVED
« Reply #5 on: May 31, 2009, 07:00:24 pm »
Abgar
     you too!
-jeff
Jeffrey D. Pound, Sr.
CISSP
Still learning, hope to never stop!

viperef

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Ebox as WINS server - newbie question -SOLVED
« Reply #6 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

cheesyking

  • Zen Warrior
  • ***
  • Posts: 148
  • Karma: +1/-0
    • View Profile
Re: Ebox as WINS server - newbie question -SOLVED
« Reply #7 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