gvfs fails to mount previously working SMB share (from nautilus)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nautilus (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When accessing my SMB share (samba on linux/openwrt) Nautilus reports that the mount operation failed.
I enabled gvfsd debug and got the following debug output.
smb: g_vfs_backend_
smb: Added new job source 0x55be028f8080 (GVfsBackendSmb)
smb: Queued new job 0x55be028f9960 (GVfsJobMount)
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
tevent: 10
auth_audit: 10
auth_json_audit: 10
kerberos: 10
drs_repl: 10
smb2: 10
smb2_credits: 10
dsdb_audit: 10
dsdb_json_audit: 10
dsdb_
dsdb_
dsdb_
dsdb_
dsdb_group_audit: 10
dsdb_
Using netbios name DOOMELITE.
Using workgroup WORKGROUP.
smb: do_mount - URI = smb://openwrt/doom
smb: do_mount - try #0
smbc_stat(
smb: auth_callback - kerberos pass
smb: auth_callback - out: last_user = 'doommaster', last_domain = 'WORKGROUP'
SMBC_server: server_n=[openwrt] server=[openwrt]
-> server_n=[openwrt] server=[openwrt]
Opening cache file at /run/samba/
tdb(/run/
Opening /run/samba/
sitename_fetch: No stored sitename for realm ''
internal_
Opening cache file at /run/samba/
tdb(/run/
Opening /run/samba/
no entry for openwrt#20 found.
resolve_lmhosts: Attempting lmhosts lookup for name openwrt<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name openwrt<0x20>
resolve_hosts: getaddrinfo failed for name openwrt [Name or service not known]
name_resolve_bcast: Attempting broadcast lookup for name openwrt<0x20>
parse_nmb: packet id = 17529
nmb packet from 192.168.42.1(35072) header: id=17529 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=
answers 0 char ....*. hex 0000C0A82A01
Got a positive name query response from 192.168.42.1 ( 192.168.42.1 )
remove_
namecache_store: storing 1 address for openwrt#20: 192.168.42.1
Opening cache file at /run/samba/
tdb(/run/
Opening /run/samba/
internal_
Connecting to 192.168.42.1 at port 445
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 0
SO_SNDBUF = 87040
SO_RCVBUF = 131072
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
TCP_DEFER_ACCEPT = 0
map_errno_
smb: do_mount - [smb://
smb: do_mount - (errno != EPERM && errno != EACCES), cancelled = 0, breaking
smb: send_reply(
Status changed to 'Confirmed' because the bug affects multiple users.