[Bug 510059] Re: Gvfs keeps asking for password when trying to mount Samba share
I had this problem and this is what fixed it for me: in the [global] section of /etc/samba/smb.conf put in these lines: name resolve order = lmhosts bcast host wins lanman auth = yes client lanman auth = yes client plaintext auth = yes Good luck! -- Gvfs keeps asking for password when trying to mount Samba share https://bugs.launchpad.net/bugs/510059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 363576] Re: problem accessing shared folders
Thanks, that was very helpful. I changed /etc/samba/smb.conf to include: name resolve order = lmhosts bcast host wins and it works now. One more question: in the response above to smbclient -d4 there is a line that says: tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/gencache.tdb: Permission denied This looks like a bad thing. Is this bad? -- problem accessing shared folders https://bugs.launchpad.net/bugs/363576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 363576] Re: problem accessing shared folders
Sorry, my ping response was incomplete. $ ping nasdrive PING nasdrive (206.112.100.151) 56(84) bytes of data. (Here it just paused until I got impatient and typed ctrl-C) --- nasdrive ping statistics --- 12 packets transmitted, 0 received, 100% packet loss, time 10999ms -- problem accessing shared folders https://bugs.launchpad.net/bugs/363576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 363576] Re: problem accessing shared folders
>>Could you attach the information requested at: >>https://wiki.ubuntu.com/DebuggingSamba#samba-client I've already done that, to the best of my ability. Please be specific if there's something missing. $ ping nasdrive PING nasdrive (206.112.100.151) 56(84) bytes of data. $ grep hosts /etc/nsswitch.conf hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 Does "smbclient //nasdrive/sharedfolder -R bcast -U username" work ? Yes, this works. $ smbclient -d4 //nasdrive/sharedfolder -U username lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" doing parameter workgroup = GROUP doing parameter server string = %h server (Samba, Ubuntu) doing parameter dns proxy = no doing parameter log file = /var/log/samba/log.%m doing parameter max log size = 1000 doing parameter syslog = 0 doing parameter panic action = /usr/share/samba/panic-action %d doing parameter encrypt passwords = true doing parameter passdb backend = tdbsam doing parameter obey pam restrictions = yes doing parameter invalid users = root doing parameter unix password sync = yes doing parameter passwd program = /usr/bin/passwd %u doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . doing parameter pam password change = yes doing parameter map to guest = bad user doing parameter socket options = TCP_NODELAY doing parameter usershare allow guests = yes pm_process() returned Yes added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0 Client started (version 3.0.28a). tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/gencache.tdb: Permission denied resolve_lmhosts: Attempting lmhosts lookup for name nasdrive<0x20> startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory resolve_wins: Attempting wins lookup for name nasdrive<0x20> resolve_wins: WINS server resolution selected and no WINS servers listed. resolve_hosts: Attempting host lookup for name nasdrive<0x20> Connecting to 206.112.100.151 at port 445 timeout connecting to 206.112.100.151:445 Connecting to 206.112.100.151 at port 139 timeout connecting to 206.112.100.151:139 Error connecting to 206.112.100.151 (Operation already in progress) Connection to nasdrive failed (Error NT_STATUS_ACCESS_DENIED) ** Attachment added: "smb.conf" http://launchpadlibrarian.net/25830421/smb.conf -- problem accessing shared folders https://bugs.launchpad.net/bugs/363576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 363576] Re: problem accessing shared folders
*** This bug is a duplicate of bug 350291 *** https://bugs.launchpad.net/bugs/350291 Yes that looks similar. One difference is, I don't have a problem with smbtree, that works fine. My problem only affects Nautilus and smbclient. -- problem accessing shared folders https://bugs.launchpad.net/bugs/363576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 363576] Re: problem accessing shared folders
Also, I thought this worked before in 8.04, but this isn't something I use a lot. I'm not sure when it broke. Fairly recently, I got a new router and switch. Nothing fancy, just the standard Linksys stuff. Could that cause a problem like this? I'm not having a problem with the windows machines in the house. -- problem accessing shared folders https://bugs.launchpad.net/bugs/363576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 363576] Re: problem accessing shared folders
The output of: dpkg-query -W -f='${Package} ${Version} ${Source} ${Status}\n' | grep samba is: libsmbclient 3.0.28a-1ubuntu4.7 samba install ok installed samba-common 3.0.28a-1ubuntu4.7 samba install ok installed smbclient 3.0.28a-1ubuntu4.7 samba install ok installed winbind 3.0.28a-1ubuntu4.7 samba install ok installed The remote server is a SimpleTech SimpleShare NAS, firmware vers. 1.09. I believe it runs some form of linux. It reports: Domain=[GROUP] OS=[Unix] Server=[Samba 3.0.2] -- problem accessing shared folders https://bugs.launchpad.net/bugs/363576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 363576] [NEW] problem accessing shared folders
Public bug reported: I'm having a problem accessing shared folders on other local machines. I'm using Ubuntu 8.04.2. All updates have been applied. 1. Nautilus sees other computers on the network, but when I click on one of them, after a long pause, it just shows a blank window with no shared folders. 2. From the terminal "smbclient //nasdrive/sharedfolder -U username" returns: timeout connecting to 206.112.100.151:445 timeout connecting to 206.112.100.151:139 Error connecting to 206.112.100.151 (Operation already in progress) Connection to nasdrive failed (Error NT_STATUS_ACCESS_DENIED) I have no idea where 206.112.100.151 comes from. It's always this same address, and I have no machines with that IP address. 3. From the terminal, "sudo smbtree" responds correctly. Also, it fixes the other problems, temporarily. Nautilus can now access shared drives. The same smbclient command above now accesses the appropriate folder, with no errors. It's necessary to run smbtree with sudo. Without using sudo, smbtree responds correctly, but it doesn't fix the other problems. 4. After reboot, all the problems return. 5. Both my installed system and the live CD behave the same. ** Affects: ubuntu Importance: Undecided Status: New -- problem accessing shared folders https://bugs.launchpad.net/bugs/363576 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs