← Back to team overview

desktop-packages team mailing list archive

[Bug 510059] Re: Gvfs keeps asking for password when trying to mount Samba share

 

I just installed the desktop version of Ubuntu 11.10 on my 2nd computer.

Right after the install I tried to access the samba shares (my main purpouse for installing ubuntu).
I have two computers who share and both of them was listed as computers in Nautilus.
Nautilus did not however list my router with USB that also shares through samba.

One of the machines runs Openelec (linux dist) and I could access that by doubleclicking it and I saw it's shared folders.
I could also navigate into windows shares but I could not access my workgroup there.

So I upgraded all of the packets after installation (245) and now after reboot it asks me for password every time I try to access the workgroup. It works fine if I actually write the path to the machine and the folder, no problems no password. But if I want to list it then I have the same problem as everyone else.
Also now the only machine I could access the shares from asks for SSH-login instead in nautilus...
As you can see from my smb.conf I have tried alot of the things in this thread and it won't work.

mawox@woxnet-nas:/etc/samba$ testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
	workgroup = WOXNET
	server string = %h server (Samba, Ubuntu)
	map to guest = Bad User
	obey pam restrictions = Yes
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	username map = /etc/samba/smbusers
	unix password sync = Yes
	lanman auth = Yes
	client lanman auth = Yes
	client plaintext auth = Yes
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	name resolve order = lmhosts host wins bcast
	dns proxy = No
	wins server = 192.168.1.1
	usershare allow guests = Yes
	panic action = /usr/share/samba/panic-action %d

[printers]
	comment = All Printers
	path = /var/spool/samba
	create mask = 0700
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
mawox@woxnet-nas:/etc/samba$

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

Title:
  Gvfs keeps asking for password when trying to mount Samba share

Status in GVFS:
  New
Status in “gvfs” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  My Ubuntu Desktop (9.10, 64-bit) VM can't connect to my Windows 7
  (64-bit, Ultimate) File Share using Nautilus. I enter
  "smb://<comuterName>" in the address bar and then it comes up with a
  password dialog (see screenshot) and then after entering the correct
  login info, the dialog disappears for a second or two but then
  reappears again. The dialog always comes back up and the share is
  never mounted.

      * Connecting from an XP box on the network to the windows 7 share works just fine.
      * Connecting from the Ubuntu machine to the windows 7 share using the appropriate 'smbmount' command works just fine.
      * Connecting from the Ubuntu machine (using the nautilus GUI) to the XP box (password protected) works just fine.
      * Then I turned off password protection in Win7, rebooted the win7 machine, and still all of the above tests turned out the same. And the Ubuntu machine still doesn't connect to the windows share using the nautilus GUI, and still displays the password dialog even though no password is required anymore.
      * I tried using smbclient to view the shares, here is the output (not sure if I should be trying something else using the smbclient program):
            o eddie@eddie-ubuntu:~$ smbclient -L eddie-win7
              Enter eddie's password:
              session setup failed: SUCCESS - 0

  ProblemType: Bug
  Architecture: amd64
  Date: Sun Jan 17 15:41:28 2010
  DistroRelease: Ubuntu 9.10
  ExecutablePath: /usr/bin/nautilus
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  Package: nautilus 1:2.28.1-0ubuntu3
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-17.54-server
  SourcePackage: nautilus
  Uname: Linux 2.6.31-17-server x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/510059/+subscriptions