From gvfs bug https://bugzilla.gnome.org/show_bug.cgi?id=747718 Sometimes, randomly, mounting fails with "Invalid argument". During a successful mount: parse_nmb: packet id = 14196 nmb packet from 192.168.1.15(35072) header: id=14196 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=PC<20> rr_type=32 rr_class=1 ttl=259200 answers 0 char ...... hex 0000C0A8010F Got a positive name query response from 192.168.1.15 ( 192.168.1.15 ) remove_duplicate_addrs2: looking for duplicate address/port pairs namecache_store: storing 1 address for pc#20: 192.168.1.15 Adding cache entry with key=[NBT/PC#20] and timeout=[Thu May 7 05:43:56 AM 2015 CDT] (660 seconds ahead) internal_resolve_name: returning 1 addresses: 192.168.1.15:0 Connecting to 192.168.1.15 at port 445 During a failed mount: samba_tevent: EPOLL_CTL_DEL EBADF for fde[0x7f97b000c6f0] mpx_fde[(nil)] fd[12] - disabling map_errno_from_nt_status: 32 bit codes: code=c0000001 ### SMB: do_mount - [smb://pc/share; 0] res = -1, cancelled = 0, errno = [22] 'Invalid argument' ### SMB: do_mount - (errno != EPERM && errno != EACCES), cancelled = 0, breaking Full logs to follow. Thanks
Created attachment 11054 [details] log for a failed attempt
Created attachment 11055 [details] log for a successful attempt
Can you get a debug level 10 log when it fails ? What kernel version is this being run on ?
See the attached "log for a failed attempt", that is debug level 10. From the Ubuntu bug report (https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1442972) it is Linux 3.19.0-12-generic.