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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1771943

Title:
  nautilus accessing samba shares doesn't use cached credentials

Status in nautilus package in Ubuntu:
  Incomplete

Bug description:
  I don't know if the bug is in nautilus or other package but accessing samba 
shares in a samba domain membership authentication using winbind, nautilus 
doesn't try to use cached credentials to access network shares.
  Before the upgrade to ubuntu bionic (18.04) all works as expected.

  I have configured winbind bind module for samba authentication on a
  samba server and all seems works flawless. I have enabled winbind
  offline logon (in smb.conf) and cached credentials (in
  /etc/security/pam_winbind.conf). Offline logon seems to work but when
  I access samba shares, nautilus ask me for a username and password
  even if I log on using a valid domain account and this valid account
  can access  the samba share.

  If you need some more info please ask me

  Have a great day

  Piviul

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: nautilus 1:3.26.3-0ubuntu4
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic i686
  NonfreeKernelModules: nvidia wl
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: i386
  CurrentDesktop: ubuntu:GNOME
  Date: Fri May 18 08:19:06 2018
  GsettingsChanges:
   b'org.gnome.nautilus.window-state' b'geometry' b"'855x550+65+24'"
   b'org.gnome.nautilus.window-state' b'maximized' b'true'
  InstallationDate: Installed on 2012-05-17 (2191 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 
(20120423)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  UpgradeStatus: Upgraded to bionic on 2018-05-03 (15 days ago)
  usr_lib_nautilus:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1771943/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to