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! 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 ##
you can keep asking but the answer will always be the same - to browse the network, you will want a wins server. either this system... wins support = yes or another WinNT type server wins server = ip_address_of_wins_server and of course, the windows machines should have the ip address set for the wins server that is operational - either manually or through dhcp also - it helps to trim all the comments out of an smb.conf - either manually (the hard way) or by using 'testparm -s > /tmp/smb.conf.no.comments' or 'testparm -sv > /tmp/smb.conf.no.comments.all.attributes Craig On Wed, 2005-02-02 at 10:28 -0800, 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! > > 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_RCVBUF92 SO_SNDBUF92 > ; 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 > > ## >
It looks like you have a bit of redundancy in your smb.conf, but other that that, seems OK. I have a question for you: Have you either: a) hard-coded your WINS server IP (samba machine) into your windows clients? b) setup your DHCP options to set your WINS server to your Samba Server's IP address. The easy way to check this is to run ipconfig /all from your windows clients, and see if the line: Primary WINS Server . . . . . . . : www.xxx.yyy.zzz points to your Samba WINS server. If it does not, therein lies your problem and solution Enjoy! 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! > > Here is my smb.conf file. > > workgroup = TVGBCAST > netbios name = laxbcastdns01 > hosts allow = 10. 127.0.0.1 > guest account = pcguest > max log size = 550 > security = user > os level = 65 > local master = yes > domain master = yes > preferred master = yes > browse list = yes > wins support = yes > remote announce = yes > announce as = NT Server-- Aaron Zirbes Systems Administrator Environmental Health Sciences University of Minnesota
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_RCVBUF92 SO_SNDBUF92 > ; 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 > >## > > >