Comment 9 for bug 1771943

Revision history for this message
piviul (piviul) wrote : Re: [Bug 1771943] Re: nautilus accessing samba shares doesn't use cached credentials

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 after logging that error?
yes of course, I'm sorry, I mean smb://server/share!!!

Ok, so I have launched the command:
$ LANG=C; gio mount smb://server/share

Ask for username, domain and password. I have only press return when ask
for username, domain and password and the share has been mounted and
these are the logs of "GVFS_DEBUG=1 gvfsd -r log":

smb: g_vfs_backend_smb_init: default workgroup = 'NULL'
smb: Added new job source 0x55a984abf130 (GVfsBackendSmb)
smb: Queued new job 0x55a984ac09d0 (GVfsJobMount)
smb: do_mount - URI = smb://server/share
smb: do_mount - try #0
smb: auth_callback - kerberos pass
smb: auth_callback - out: last_user = 'DOMAIN\username', last_domain =
'DOMAIN'
smb: do_mount - [smb://server/share; 0] res = -1, cancelled = 0, errno =
[1] 'Operazione non permessa'
smb: do_mount - after anon, enabling NTLMSSP fallback
smb: do_mount - try #1
smb: auth_callback - normal pass
smb: auth_callback - asking for password...
smb: auth_callback - out: last_user = 'DOMAIN\username', last_domain =
'DOMAIN'
smb: do_mount - [smb://server/share; 1] res = 0, cancelled = 0, errno =
[17] 'File già esistente'
smb: do_mount - login successful
smb: send_reply(0x55a984ac09d0), failed=0 ()

Thank you very much!

Piviul