HP-UX HB v13.00 Ch-20 - CIFS

HP-UX Handbook Rev 13.00 Page 31 (of 40)
Chapter 20 CIFS
October 29, 2013
enabled as described above and it might be worth to see as whom you are connected therefore
the include file is the best option, especially for CIFS server that handle connections.
Empty the logfile and connect to the share.
Make a copy of the log while it was connecting.
Prepare everything to reproduce the error.
Empty the logfile again.
Reproduce the error and
Make another copy of the logfile which has captured the error.
Be able to describe what steps are needed on the client to reproduce the error.
To be able to find the error a copy of smb.conf and output from
/opt/samba/bin/testparm -s is needed along with special information what the share is like:
e.g. nfs-mounted or using jfs-acl's. Of great interest are as well software-versions (i.e. Client
operating system and ServicePack, programs involved and their versions).
Using nmblookup and about browsing
nmblookup is a tool to troubleshoot networking, name resolution, browsing (e.g. "search
computers") and WINS items. Generally items of browsing are nothing that can be debugged
very fast, because browsing and propagating information might take hours (according to MS-Q-
Articles). Now we will provide a short overview about the usability of nmblookup and useful
smb.conf parameters regarding browsing. You will find browsing explained in more detail in
/opt/samba/docs/textdocs/BROWSING.txt. Usually browsing should not work across subnet
borders as the broadcasts are not forwarded. If your network is subnetted and you need to reach
another subnet the best way is to make use of a wins server:
wins server = 192.9.200.1
This specifies the IP address of the WINS server that nmbd should register with. You
need to set up Samba to point to a WINS server if you have multiple subnets and wish
cross-subnet browsing to work correctly. See nmblookup usage if you do not know who
the WINS is, alternatively ask a Windows administrator or check ipconfig /all in the
DOS box of a PC client. (WINS service is using port 42)
wins support = yes
This boolean controls if the nmbd process in Samba will act as a WINS server. You do
not need to set this to 'yes' is you have another windows server which offers the WINS
service.
Generally speaking browsing is done by broadcast requests which are normally answered by so
called master browsers. These are servers that keep a list (name cache) and answer the broadcasts
and as well propagate the browse list to other master browsers. There are 2 kinds of master
browsers: domain master browser (DMB) and local master browser (LMB). The master browsers