[Samba] Unable to connect to Samba server, but it shows on the network

renito73 Михаил renito73 at mail.ru
Thu Jul 11 20:47:53 MDT 2013

 Hello friends

I am trying to setup Samba on my Fedora 19 installation, but it does not work... although "smbclient -L myserver" shows my shares, I can't access any of them from other computers and even from the same server, it returns an error that could not connect to to the server...

My very simple configuration is this (my computer has fixed IP)

        workgroup = MYGROUPNAME
        server string = Samba Server Version %v

        # log files split per-machine:                                                                                                                                  
        log file = /var/log/samba/log.%m
        # maximum size of 50KB per log file, then rotate:                                                                                                               
        max log size = 50

        security = user
        passdb backend = tdbsam

        load printers = yes
        cups options = raw

comment = temporal files
path = /tmp
public = yes
writable = yes
printable = no

comment = my data files
path = /mydatafiles
public = yes
writable = no
printable = no

I start the service by running

# smbd -D
# nmbd -D

then the logs show:

[2013/07/11 21:11:47,  0] ../source3/nmbd/nmbd.c:883(main)
  nmbd version 4.0.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2012
[2013/07/11 21:12:20,  0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
  Samba name server MYSERVER is now a local master browser for workgroup MYGROUPNAME on subnet

-------------[2013/07/11 21:11:45,  0] ../source3/smbd/server.c:1200(main)
  smbd version 4.0.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2012

When I try:

# smbclient -L myserver (the name of my computer)

Anonymous login successful
Domain=[MYGROUPNAME] OS=[Unix] Server=[Samba 4.0.7]

        Sharename       Type      Comment
        ---------       ----      -------
        tmp             Disk      temporal files
        mp3             Disk      mp3 music
        IPC$            IPC       IPC Service (Samba Server Version 4.0.7)
Anonymous login successful
Domain=[SORCERY] OS=[Unix] Server=[Samba 4.0.7]

        Server               Comment
        ---------            -------
        MYSERVER         Samba Server Version 4.0.7

        Workgroup            Master
        ---------            -------
        MYGROUPNAME              MYSERVER

From windows computers, it shows on the network, from Linux (dolphin browser) it does not show but calling 'smbclient -L myserver' it shows the shared directories... how can I allow other computers to connect? and how can I allow my local computer see its own shares?

Thanks for your help

More information about the samba mailing list