[Samba] Network Help

Rubin Bennett rbennett at thatitguy.com
Mon Sep 15 20:20:37 GMT 2008


On Mon, 2008-09-15 at 14:44 -0500, Darryl Tidd wrote:
> I have searched the internet, and have tried some things I have found, 
> but cannot resolve my issue.  Hoping to find some help here.
> I have a peer to peer network static IP on all workstations, 
> approximately 100 computers running Windows XP pro, and Windows 2000 
> pro.  My desktop, Ubuntu, and one Linux Server, running Red Hat 9.  The 
> RH9 machine has Samba v2.27 running as WINS.  It is set as master 
> browser and preferred master.  However, it seems that it loses its 
> master and preferred browser status.  When browsing the network from a 
> workstation, most of the computers or none of the computers, are listed 
> in the "View all Network Computers."  Would like to have Samba as master 
> at all times.  Any ideas that may help me out?
> 
> Thanks in advance.
> 
> smb.conf
> # Samba config file created using SWAT
> # from 0.0.0.0 (0.0.0.0)
> # Date: 2008/09/05 13:10:52
> 
> # Global parameters
> [global]
>     netbios name = LINUXBOX
>     server string = linuxbox
>     security = user
>     encrypt passwords = Yes
>     null passwords = Yes
>     username map = /etc/samba/smbusers
>     syslog only = Yes
>     announce version = 5
>     name resolve order = wins hosts bcast lmhosts
>     socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192
>     printcap name = CUPS
>     os level = 66
                ^^^^
I believe this is your issue - I've seen a number of non-definitive
answers over the years on this one; clarification would be greatly
appreciated.  However, my general practice is to never exceed 64 for the
os level parameter.  I find that values over 64 ofter return unexpected
results, and I've found that my Samba servers don't lose elections in
recent memory and I usually leave them at the default value in smb.conf
of 33.

HTH,
Rubin

>     preferred master = Yes
>     dns proxy = No
>     wins support = Yes
>     guest account = nobody
>     printing = cups
> 
> [print$]
>     path = /var/lib/samba/printers
>     write list = root
>     create mask = 0664
>     directory mask = 0775
>     guest ok = Yes
> 
> [printers]
>     path = /tmp
>     guest ok = Yes
>     printable = Yes
>     browseable = No
> 
> [Myfiles]
>     path = /media/samba
>     force user = root
>     force group = root
>     read only = No
>     create mask = 0664
> 
> [jakarta-tomcat-5]
>     comment = TOMCAT
>     path = ../jakarta-tomcat-5
>     read only = No
> 
> [homes]
>     valid users = %S
>     read only = No
>     browseable = yes
> 
> -- 
> Darryl Tidd PC Specialist Dealers Auto Auction of OKC 1028 S. Portland 
> Oklahoma City, OK 73108 (405)947-2886 x130 Contact Me 
> <mailto:darryl.tidd at daaokc.com>
-- 
Rubin Bennett
RB Technologies
http://thatitguy.com
rbennett at thatitguy.com
(802)223-4448

Think for yourselves and let others enjoy the privilege to do so, too.
~Voltaire




More information about the samba mailing list