[Samba] Cannot access share tevent_req_timedout

Paulo J. Matos paulo at matos-sorge.com
Mon Apr 23 03:56:48 MDT 2012


Hi guys,

I now sorted this out. It was just a problem with my firewall blocking 
samba requests.

Cheers,

Paulo Matos

On 22/04/12 13:37, Paulo J. Matos wrote:
> Hi all,
>
> I am running an smbclient 3.4.7 on a ubuntu server 10.04.
> This is a local network whose hostnames in the network are setup
> manually through /etc/hosts. Zeus is a server which contains a music
> share which I am trying to access. I haven't created any users or
> passwords. The idea is that anyone within the local network should be
> able to access the share with read permissions, so I guess that's what
> guests are for.
>
> Share's permissions are:
> $ ls -la /mnt/brain/media/music/flac/
> total 40
> drwxrwxr-x 10 pmatos media 4096 2012-04-18 21:38 .
>
> Zeus smb.conf is:
>
> pmatos at zeus:~$ cat /etc/samba/smb.conf
> [global]
> workgroup = MATOS-SORGE
> server string = %h server (Samba, Ubuntu)
> wins support = yes
> netbios name = ZEUS
> name resolve order = lmhosts wins bcast host
> log file = /var/log/samba/log.%m
> max log size = 1000
> syslog = 0
> panic action = /usr/share/samba/panic-action %d
> usershare allow guests = yes
>
> [Music]
> comment = Music Share
> path = /mnt/brain/media/music/flac
> browsable = yes
> guest ok = yes
> read only = yes
> available = yes
> pmatos at zeus:~$
>
>
> On Zeus doing :
> pmatos at zeus:~$ smbclient //localhost/Music
> Enter pmatos's password:
> Anonymous login successful
> Domain=[MATOS-SORGE] OS=[Unix] Server=[Samba 3.4.7]
> smb: \>
>
> succeeds, however, in another pc on the network:
>
> pmatos at jen-laptop:~$ smbclient //zeus/Music --debuglevel=10
> INFO: Current debug levels:
> all: True/10
> tdb: False/0
> printdrivers: False/0
> lanman: False/0
> smb: False/0
> rpc_parse: False/0
> rpc_srv: False/0
> rpc_cli: False/0
> passdb: False/0
> sam: False/0
> auth: False/0
> winbind: False/0
> vfs: False/0
> idmap: False/0
> quota: False/0
> acls: False/0
> locking: False/0
> msdfs: False/0
> dmapi: False/0
> registry: False/0
> lp_load_ex: refreshing parameters
> Initialising global parameters
> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
> params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
> Processing section "[global]"
> doing parameter workgroup = WORKGROUP
> doing parameter server string = %h server (Samba, Ubuntu)
> doing parameter dns proxy = no
> doing parameter log file = /var/log/samba/log.%m
> doing parameter max log size = 1000
> doing parameter syslog = 0
> doing parameter panic action = /usr/share/samba/panic-action %d
> doing parameter encrypt passwords = true
> doing parameter passdb backend = tdbsam
> doing parameter obey pam restrictions = yes
> doing parameter unix password sync = yes
> doing parameter passwd program = /usr/bin/passwd %u
> doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n
> *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
> doing parameter pam password change = yes
> doing parameter map to guest = bad user
> doing parameter usershare allow guests = yes
> pm_process() returned Yes
> lp_servicenumber: couldn't find homes
> set_server_role: role = ROLE_STANDALONE
> Attempting to register new charset UCS-2LE
> Registered charset UCS-2LE
> Attempting to register new charset UTF-16LE
> Registered charset UTF-16LE
> Attempting to register new charset UCS-2BE
> Registered charset UCS-2BE
> Attempting to register new charset UTF-16BE
> Registered charset UTF-16BE
> Attempting to register new charset UTF8
> Registered charset UTF8
> Attempting to register new charset UTF-8
> Registered charset UTF-8
> Attempting to register new charset ASCII
> Registered charset ASCII
> Attempting to register new charset 646
> Registered charset 646
> Attempting to register new charset ISO-8859-1
> Registered charset ISO-8859-1
> Attempting to register new charset UCS2-HEX
> Registered charset UCS2-HEX
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> Substituting charset 'UTF-8' for LOCALE
> added interface eth1 ip=fe80::224:2bff:fed5:de75%eth1
> bcast=fe80::ffff:ffff:ffff:ffff%eth1 netmask=ffff:ffff:ffff:ffff::
> added interface eth1 ip=192.168.1.71 bcast=192.168.1.255
> netmask=255.255.255.0
> Netbios name list:-
> my_netbios_names[0]="JEN-LAPTOP"
> Client started (version 3.5.11).
> Enter pmatos's password:
> Opening cache file at /var/run/samba/gencache.tdb
> tdb(/var/run/samba/gencache.tdb): tdb_open_ex: could not open file
> /var/run/samba/gencache.tdb: No such file or directory
> Attempt to open gencache.tdb has failed.
> sitename_fetch: No stored sitename for
> internal_resolve_name: looking up zeus#20 (sitename (null))
> Opening cache file at /var/run/samba/gencache.tdb
> tdb(/var/run/samba/gencache.tdb): tdb_open_ex: could not open file
> /var/run/samba/gencache.tdb: No such file or directory
> Attempt to open gencache.tdb has failed.
> no entry for zeus#20 found.
> resolve_lmhosts: Attempting lmhosts lookup for name zeus<0x20>
> startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No
> such file or directory
> resolve_wins: Attempting wins lookup for name zeus<0x20>
> resolve_wins: WINS server resolution selected and no WINS servers listed.
> resolve_hosts: Attempting host lookup for name zeus<0x20>
> remove_duplicate_addrs2: looking for duplicate address/port pairs
> namecache_store: storing 1 address for zeus#20: 192.168.1.1
> Opening cache file at /var/run/samba/gencache.tdb
> tdb(/var/run/samba/gencache.tdb): tdb_open_ex: could not open file
> /var/run/samba/gencache.tdb: No such file or directory
> Attempt to open gencache.tdb has failed.
> internal_resolve_name: returning 1 addresses: 192.168.1.1:0
> Running timed event "tevent_req_timedout" 0x7f21efd4a230
> Connecting to 192.168.1.1 at port 445
> Running timed event "tevent_req_timedout" 0x7f21efd4a720
> Connecting to 192.168.1.1 at port 139
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4ae50
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4a230
> Running timed event "tevent_req_timedout" 0x7f21efd4b510
> Running timed event "tevent_req_timedout" 0x7f21efd4a600
> Error connecting to 192.168.1.1 (Operation already in progress)
> lang_tdb_init: /usr/share/samba/en_GB.UTF-8.msg: No such file or directory
> Connection to zeus failed (Error NT_STATUS_ACCESS_DENIED)
>
> Any tips?
>
> Cheers,
>


-- 
PMatos



More information about the samba mailing list