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


Hi

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
fact.
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=5.1.1.31 bcast=5.1.1.255 nmask=255.255.255.0
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
        ---------            -------
        WORKGROUP

But when I do this from Homer I get:
./smbclient -U% -L krusty
added interface ip=5.1.1.8 bcast=5.1.1.255 nmask=255.255.255.0
error connecting to 5.1.1.31:139 (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:

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

[test]
    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