[Samba] Samba on SUNOS5.8

Steven L Hawks SLHawks at cltco.com
Fri Jun 21 12:13:02 GMT 2002

I am trying to get samba working on SUNOS5.8.
I got the following using DIAGNOSIS.txt.
My current status is the SUNV880 server is viewable in Windows Explore.
But when I click on it I get \\SUNV880 is not accessible.
The smbd -D & nmbd -D daemons are running. Swat is working also.
Please help.

Steve (slhawks at cltco.com)


In all of the tests I assume you have a Samba server called SUNV880
and a PC called STEVENH both in workgroup CLT.

Make sure your /etc/resolv.conf file points to name servers that really do

root at sunv880 # find / -name 'resolv.conf' -print
I see no resolv.conf file on our SUNV880.


Run the command "smbclient -L BIGSERVER" on the unix box. You
should get a list of available shares back.

root at sunv880 # smbclient -U% -L localhost
added interface ip= bcast= nmask=
Domain=[CLT] OS=[Unix] Server=[Samba 2.2.0]

        Sharename      Type      Comment
        ---------      ----      -------
        root           Disk      Solaris root
        steve          Disk      Solaris share for PVCS
        IPC$           IPC       IPC Service (Samba 2.2.0)
        ADMIN$         Disk      IPC Service (Samba 2.2.0)

        Server               Comment
        ---------            -------
        SUNV880              Samba 2.2.0

        Workgroup            Master
        ---------            -------

root at sunv880 # smbclient -U% -L sunv880
added interface ip= bcast= nmask=
session request to SUNV880 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)

If you get a "session request failed" then the server refused the

There are a number of reasons for which smbd may refuse or decline
a session request. The most common of these involve one or more of
the following smb.conf file entries:
      hosts deny = ALL
      hosts allow = xxx.xxx.xxx.xxx/yy
      bind interfaces only = Yes

In the above, no allowance has been made for any session requests that
will automatically translate to the loopback adaptor address
To solve this problem change these lines to:
      hosts deny = ALL
      hosts allow = xxx.xxx.xxx.xxx/yy 127.
Do NOT use the "bind interfaces only" parameter where you may wish to
use the samba password change facility, or where smbclient may need to
access local service for name resolution or for local resource
connections. (Note: the "bind interfaces only" parameter deficiency
where it will not allow connections to the loopback address will be
fixed soon).

Steven L. Hawks
External IT Support
Cole-Layer-Trumble Company
(937) 276-5261 x 235

More information about the samba mailing list