[Samba] Can't connect to my smb share from Win machine

Marc mojbordel at yahoo.co.uk
Sun Jan 7 21:49:10 GMT 2007


Hello,

I have the following setup: 

Fedora Core 6: cheeky (192.168.0.11/24, kernel 2.6.18-1.2869.fc6),
trying to share dir /home/cheeky/Desktop/Documents and a printer.

[root at cheeky ~]# smbclient -L localhost -U%
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.23c-2]

        Sharename       Type      Comment
        ---------       ----      -------
        Documents       Disk      directory on Cheeky
        IPC$            IPC       IPC Service (Samba Server)
        DeskJet_930C    Printer   DeskJet_930C
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.23c-2]

        Server               Comment
        ---------            -------
        CHEEKY               Samba Server

        Workgroup            Master
        ---------            -------
        WORKGROUP            CHEEKY


Windows95 PC (192.168.0.10/24) trying to access the share.

C:\>net view \\192.168.0.11
Shared resources at \\192.168.0.11

Sharename    Type        Comment
--------------------------------------------------------
DeskJet_930C Print       DeskJet_930C
Documents    Disk        directory on Cheeky
The command was completed successfully.


but I can't access the share (I use a passwordless 'smbguest'
account):

[root at cheeky ~]# smbclient //192.168.0.11/Documents
Password:
Server not using user level security and no password supplied.
tree connect failed: Call returned zero bytes (EOF)

from the Windows machine I can see both the printer and the
'Documents' folder, but when I try to open the folder I get:

Cannot access

\\CHEEKY\Documents

The network name is neither not found on the running network, or is
incorrect.

C:\>net use e: \\192.168.0.11\Documents

Error 67: The specified shared directory cannot be found. Make sure
you have specified the network name correctly. If the problem
persists, contact your network administrator.

Here is my smb.conf:

[global]
        workgroup = workgroup
        server string = Samba Server
        security = share
        null passwords = yes
        hosts allow = 192.168.0.10 127.0.0.1
        load printers = yes
        cups options = raw
        guest account = smbguest
        log file = /var/log/samba/%m.log
        max log size = 50
        interfaces = 192.168.0.11/24
        local master = yes
        domain master = yes
        preferred master = yes
        wins support = yes
        dns proxy = no
        guest ok = yes
        guest account = smbguest
[printers]
        comment = All Printers
        path = /usr/spool/samba
        browseable = yes
        public = yes
        guest ok = yes
        printable = yes
[Documents]
        path = /home/cheeky/Desktop/Documents
        writeable = yes
        case sensitive = no
        strict locking = no
        comment = directory on Cheeky
        guest account = smbguest
        browseable = yes
        guest ok = yes
        public = yes


Thanks in advance for any pointers.
Marek

Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the samba mailing list