[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-18 Thread Sebastien Bacher
The patch has been fixed in upstream git now ** Changed in: gvfs (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1771943 Title: nautilus accessing

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-18 Thread Sebastien Bacher
The fix first needs to be landed upstream/in the current Ubuntu serie, then we can add it to the SRU backlog -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1771943 Title: nautilus accessing samba

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-17 Thread piviul
BINGO! I have downloaded the packages you provided me in https://launchpad.net /~ubuntu-desktop/+archive/ubuntu/ppa/+build/16391488, installed them and now nautilus (gvfs) use, as expected, cached credential to access to samba shares and doesn't ask for a password. Thank you very much Sebastien!

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-15 Thread Sebastien Bacher
Debug version uploaded to https://launchpad.net/~ubuntu- desktop/+archive/ubuntu/ppa/+build/16391488 you need to download the debs corresponding to the ones you have installed (dpkg -l | grep gvfs) and install them with dpkg -i *.deb then restart your user session -- You received this bug

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-14 Thread Sebastien Bacher
Upstream posted a potential fix https://gitlab.gnome.org/GNOME/gvfs/merge_requests/34 Would you be able to rebuild a pacakge with that change to test it? If not we can build/provide one for testing, let us know -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-14 Thread piviul
Il 14/02/19 11:20, Sebastien Bacher ha scritto:> Upstream comment > > 'smbc_new_context() calls smbc_setOptionUseCCache(context, True) if > LIBSMBCLIENT_NO_CCACHE environemnt variable is not defined. I suppose it > is not defined in your system, but can you please confirm it?is it correct to >

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-14 Thread Sebastien Bacher
Upstream comment 'smbc_new_context() calls smbc_setOptionUseCCache(context, True) if LIBSMBCLIENT_NO_CCACHE environemnt variable is not defined. I suppose it is not defined in your system, but can you please confirm it? smbclient --kerberos --use-ccache doesn't work as it forces kerberos to be

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-13 Thread piviul
I'm sorry for the comment #16, I have wrong the bug id! If anyone can remove it... Piviul -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1771943 Title: nautilus accessing samba shares doesn't use

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-13 Thread piviul
Il 12/02/19 20:38, Andreas Hasenack ha scritto:> [...] > I found some bugs in debian and upstream, still open, but in a > "needinfo" state. do you mean the bug https://bugzilla.samba.org/show_bug.cgi?id=10455? I have forgot this bug and I'm the one that open it: AAARGH! Any way changing

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-02-11 Thread piviul
But I don't use kerberos, I use winbind to have domain membership authentication! smbclient seems to works perfectly with cached credential if I remove the optional parameter --kerberos... but why gvfs doesn't it? Piviul -- You received this bug notification because you are a member of Ubuntu

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-31 Thread Sebastien Bacher
Thanks, I've sent the info upstream Google for the error it's mentioned in some forum/reports like https://lists.samba.org/archive/samba/2018-April/215021.html but that doesn't help much... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

Re: [Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-31 Thread piviul
Il 31/01/19 14:31, Sebastien Bacher ha scritto: > Upstream comment > > 'SMB backend doesn't use smbc_setOptionUseCCache explicitly in order to > enable winbind ccache, but it seems that it is enabled by default, at > least on my system. Please try to obtain the debug log again, but also > with

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-31 Thread Sebastien Bacher
Upstream comment 'SMB backend doesn't use smbc_setOptionUseCCache explicitly in order to enable winbind ccache, but it seems that it is enabled by default, at least on my system. Please try to obtain the debug log again, but also with GVFS_SMB_DEBUG=3. The SMB backend is based on libsmbclient, so

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-31 Thread Sebastien Bacher
The issue got reassigned to the gvfs backend https://gitlab.gnome.org/GNOME/gvfs/issues/369 ** Package changed: nautilus (Ubuntu) => gvfs (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-31 Thread Sebastien Bacher
Thanks, I've send the report and the debug info upstream let's sse if they have a better idea about the problem https://gitlab.gnome.org/GNOME/nautilus/issues/864 ** Changed in: nautilus (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-31 Thread Sebastien Bacher
** Changed in: nautilus (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1771943 Title: nautilus accessing samba shares doesn't use cached credentials To

Re: [Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-30 Thread piviul
Il 30/01/19 17:17, Sebastien Bacher ha scritto: >> the command >> $ gio mount //server/share > >> ask me user, domain and password. > > you mean "smb://server/share"? because your previous paste was "gio: > file:server/share: volume doesn?t implement mount" or does it ask > for credential

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-30 Thread Sebastien Bacher
> the command > $ gio mount //server/share > ask me user, domain and password. you mean "smb://server/share"? because your previous paste was "gio: file:server/share: volume doesn?t implement mount" or does it ask for credential after logging that error? If you did get a different behaviour

Re: [Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-30 Thread piviul
Il 30/01/19 14:10, Sebastien Bacher ha scritto: > Thanks for the extra info, one problem though > >> $ LANG=C; gio mount //server/share >> gio: file:server/share: volume doesn?t implement mount > > the url should be prefixed with the share type as in nautilus, so it's > probably

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-30 Thread Sebastien Bacher
Thanks for the extra info, one problem though > $ LANG=C; gio mount //server/share > gio: file:server/share: volume doesn?t implement mount the url should be prefixed with the share type as in nautilus, so it's probably "smb://server/share" in your case -- You received this bug

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-30 Thread piviul
$ LANG=C; gio mount //server/share gio: file:server/share: volume doesn?t implement mount $ GVFS_DEBUG=1 /usr/lib/gvfs/gvfsd -r trash: Added new job source 0x559cf2cf28b0 (GVfsBackendTrash) trash: Queued new job 0x559cf2cf3840 (GVfsJobMount) trash: send_reply(0x559cf2cf3840), failed=0 ()

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-30 Thread Sebastien Bacher
what happens if you "gio mount "? Also can you do 'GVFS_DEBUG=1 /usr/lib/gvfs/gvfsd -r' before trying the mount and past the output you get on the service? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-30 Thread piviul
Hi Sebastien, thank you very much to spend your time to try solve this bug... The mount is performed browsing the network and selecting a server but the same happens if write directly in the nautilus address bar an address like smb://servername/sharename If I launch in a terminal the command

[Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

2019-01-29 Thread Sebastien Bacher
Thank you for your bug report, could you give details on how the mounts are done? Is that accessing smb:// urls in nautilus/gvfs or do you mount the share by other means? could you add your journalctl log from a session where you triggered the issue? ** Changed in: nautilus (Ubuntu)