I can view smbclient from samba share, but not smbclient from ano ther client.

Andre Liem Andre.Liem at redknee.com
Mon Dec 17 11:07:07 GMT 2001


I'm running samba 2.2.2 on a Solaris machine named "Homer" and a Redhat
Linux 7.2 machine named "Krusty".
The setup of Samba on Solaris (Homer) went without a hitch.  Very smooth in
However when I set up Samba on Redhat (Krusty), I've had some issues.

When I view smbclient from krusty I get:
./smbclient -U% -L krusty
added interface ip= bcast= nmask=
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.2]

        Sharename      Type      Comment
        ---------      ----      -------
        test           Disk      For testing on Krusty
        IPC$           IPC       IPC Service (samba 2.2.2 on (krusty))
        ADMIN$         Disk      IPC Service (samba 2.2.2 on (krusty))

        Server               Comment
        ---------            -------
        KRUSTY               samba 2.2.2 on (krusty)

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

But when I do this from Homer I get:
./smbclient -U% -L krusty
added interface ip= bcast= nmask=
error connecting to (Connection refused)
Connection to krusty failed

I've checked the etc/services file and I have the following settings:
netbios-ns  137/tcp     nbns        # NETBIOS Name Service
netbios-ns  137/udp     nbns
netbios-dgm 138/tcp     nbdgm       # NETBIOS Datagram Service
netbios-dgm 138/udp     nbdgm
netbios-ssn 139/tcp     nbssn       # NETBIOS session service

I can ping/ftp from Krusty <-> Homer and vice-versa

When I performed the testparm, everything was fine:
   Load smb config files from /usr/local/samba/lib/smb.conf
Processing section "[test]"
Loaded services file OK.

My smb.conf file is very simple as well:

    workgroup = workgroup
    server string = samba %v on (%L)
    encrypt passwords = yes
    local master = no

    comment = For testing on Krusty
    path = /export/samba/test
    read only = no
    guest ok = yes

Is there anything else I'm missing?

Andre Liem
Redknee Inc.
email: andre.liem at redknee.com

More information about the samba-ntdom mailing list