[Samba] Still no browse list and no help!

Tom Skeren tms3 at fsklaw.com
Wed Feb 2 18:50:28 GMT 2005


Marvin Bonilla wrote:

>Unable to resolve my problem after long time of reading and searching I decide to ask for help to the experts. The problems is that  there is no browse list even thought everything works fine. I can share files with others machines but don't see anything on network neighborhood. We use the OpenBSD 3.6 box with Samba 2.2 only for DNS and Wins.
>Please Help!
>  
>
Are you using static IP's on the win boxes, or DHCP? If you are using 
DHCP, what DHCP server are you using? The reason I ask is that you need 
to have the Win boxes point to the Samba wins server for browsing to 
work right. It also helps to make sure the workgroup on the Win boxes is 
the same as the workgroup name in smb.conf.

>Here is my smb.conf file.
>
># This is the main Samba configuration file. You should read the
>
>#======================= Global Settings ==================================== [global]
>
>##
>## Basic Server Settings
>##
>
>	# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
>	workgroup = TVGBCAST
>	netbios name = laxbcastdns01
>
>	# server string is the equivalent of the NT Description field
>	server string = 
>
>	# This option is important for security. It allows you to restrict
>	# connections to machines which are on your local network. The
>	# following example restricts access to two C class networks and
>	# the "loopback" interface. For more examples of the syntax see
>	# the smb.conf man page
>	hosts allow = 10. 127.0.0.1
>
>	# Uncomment this if you want a guest account, you must add this to /etc/passwd
>	# otherwise the user "nobody" is used
>	guest account = pcguest
>
>	# this tells Samba to use a separate log file for each machine
>	# that connects
>	# log file = /var/log/smbd.%m
>
>	# How much information do you want to see in the logs?
>	# default is only to log critical messages
>	; log level = 1
>
>	# Put a capping on the size of the log files (in Kb).
>	max log size = 550
>
>	# Security mode. Most people will want user level security. See
>	# security_level.txt for details.
>	security = user
>
>	# Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting.
>	# Note: Consider carefully the location in the configuration file of
>        #       this line.  The included file is read at that point.
>        ;   include = /etc/samba/smb.conf.%m
>
>        # Most people will find that this option gives better performance.
>        # See speed.txt and the manual pages for details
>        # You may want to add the following on a Linux system:
>        #         SO_RCVBUF92 SO_SNDBUF92
>	; socket options = TCP_NODELAY
>	# Configure Samba to use multiple interfaces
>	# If you have multiple network interfaces and want to limit smbd will # use, list the ones desired here.  Otherwise smbd & nmbd will bind to all # active interfaces on the system.  See the man page for details.
>	# interfaces = 10.4.100.2/24 10.3.100.2/24 10.7.50.1
>	# Should smbd report that it has MS-DFS Capabilities? Only available
>	# if-with-msdfs was passed to ./configure
>	; host msdfs = yes
>
>##
>## Network Browsing
>##
>		# set local master to no if you don't want Samba to become a master
>		# browser on your network. Otherwise the normal election rules apply
>		local master = yes
>	# OS Level determines the precedence of this server in master browser
>	# elections. The default value (20) should be reasonable
>	os level = 65
>
>		# Domain Master specifies Samba to be the Domain Master Browser. This
>		# allows Samba to collate browse lists between subnets. Don't use this
>		# if you already have a Windows NT domain controller doing this job
>		domain master = yes
>	# Preferred Master causes Samba to force a local browser election on startup
>	# and gives it a slightly higher chance of winning the election
>	preferred master = yes
>	browse list = yes
>
>##
>## WINS & Name Resolution
>##
>	# If you have multiple network interfaces and want to limit smbd will # use, list the ones desired here.  Otherwise smbd & nmbd will bind to all # active interfaces on the system.  See the man page for details.
>	# interfaces = 10.4.100.2/24 10.3.100.2/24 10.7.50.1
>	# Should smbd report that it has MS-DFS Capabilities? Only available
>	# if-with-msdfs was passed to ./configure
>	; host msdfs = yes
>
>##
>## Network Browsing
>##
>		# set local master to no if you don't want Samba to become a master
>		# browser on your network. Otherwise the normal election rules apply
>		local master = yes
>	# OS Level determines the precedence of this server in master browser
>	# elections. The default value (20) should be reasonable
>	os level = 65
>
>		# Domain Master specifies Samba to be the Domain Master Browser. This
>		# allows Samba to collate browse lists between subnets. Don't use this
>		# if you already have a Windows NT domain controller doing this job
>		domain master = yes
>	# Preferred Master causes Samba to force a local browser election on startup
>	# and gives it a slightly higher chance of winning the election
>	preferred master = yes
>	browse list = yes
>
>## WINS & Name Resolution
>##
>		# Windows Internet Name Serving Support Section:
>		# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
>		wins support = yes
>		# WINS Server - Tells the NMBD components of Samba to be a WINS Client
>		#       Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
>		; wins server = w.x.y.z
>	# WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one  WINS Server on the network. The default is NO.
>	; wins proxy = no
>	# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups.
>	# dns proxy = 10.7.50.1
>	# remote announce = 10.3.100.5 10.6.50.1 10.4.100.1 10.7.50.1
>	remote announce = yes
>
>	announce as = NT Server
>
>##
>
>  
>




More information about the samba mailing list