Comment 47 for bug 510059

Revision history for this message
Nikola (nikolagotovac) wrote :

Same here... I have started with 14.04LTS and I could reach a Win2008 machine. After several updates, somewhere in the first quarter of 2016, I believe something things got strange. I purged samba and reinstalled it - no change.

I have several personal shared folders, made from nautilus, and all Win machines can reach them (as guest user).

However, I can not reach a Win2008 server or other Win7 - shared folder. Both gvfs-mount and nautilus dialogue keep asking for password/domain again and again.

Setting aforementioned combinations such as:
client lanman auth = no
client ntlmv2 auth = no
client ntlm = yes
.. does not help.

So I have browsed the old /etc/samba/ and have found several older smb.conf files:
-rw-r--r-- 1 root root 9542 Mar 1 2015 smb.conf.old.gadmin-samba-0.3.2
-rw-r--r-- 1 root root 9542 Jun 11 2015 smb.conf.ucf-dist
Basically, these two old were from time when everything was ok, and guess what, after I have copied them in smb.conf, nautilus and gvfs-mount still were not working (and keep asking for password/domain).

There you have it. It is not a thing in smb.conf, but (my best guess) the bug is probably in gvfs-mont.