Help - Search - Members - Calendar
Full Version: Wins server in samba [solved]
MandrivaUsers.org > Advanced Topics > Other Linux and Unix Distributions
Trgy
Hello everyone.
Reacently I installed Ubuntu on my server and I wanted to run wins in samba for my network. This is my config file

[global]
workgroup = EUROM
server string = ed
interfaces = domain.eurom
bind interfaces only = Yes
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *passwd:*password\supdated\ssuccessfully* .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = wins bcast host
os level = 99
wins support = Yes
panic action = /usr/share/samba/panic-action %d
invalid users = root

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
__________________

Problem Is that it seems wins are not working. I cant browse any computers in my workgroup. I dit configure IP adress of wins server in other computers on the network. I probably messed something up in that smb.conf, please help
ianw1974
Are all machines in the same WORKGROUP?
Trgy
Yes they are. Can I somevhow check Is my ubuntu computer master browser on the network. I sett os level to 99 and read that it should beat all other computers in ellection.
ianw1974
Check if this helps:

http://www.defcon1.org/html/Software_Artic...-1/samba-2.html

further down the page it gives some config for smb.conf to ensure your machine is master browser.

And on ubuntu, maybe this is better:

http://ubuntuforums.org/archive/index.php/t-598285.html

it shows some other config of setting OS level higher, but also the preferred master, domain master, local master properties (that the first link also shows).
Trgy
Thanx i think this will solve my confusion smile.gif
Trgy
Could samba occure problems like browsing service in windovs if there is more than one network card installed (multihome)?
Trgy
I m happy to inform U that I have solved my problem today. On my network I m using some kind of intellinet server appliance, it s just a box with two hdd s in mirror and it s managed through internet explorer. So that thing somehow became master browser on my network. I don’t know how because it does not have any operating system installed. If you have a problem with master browser on your network you can use this easy gui tool to discover it. You just have to setup name of workgroup or domain and it will tell you name of the computer that is master browser for your network. The link is here http://www.dynawell.com/reskit/microsoft/win2000/browmon.zip. It works only on windows machines. So I just put that server appliance in other workgroup and restarted my ubuntu pc and that s it. Browsing is working just fine. Now I can try to setup my domain smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.