Lost networking to windows after Samba updates [SOLVED]

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
altair4
Level 19
Level 19
Posts: 9738
Joined: Tue Feb 03, 2009 10:27 am

Re: Lost networking to windows after Samba updates 4-18-2016

Post by altair4 » Thu Apr 28, 2016 8:31 am

DarkNova wrote:This affects many people and is still outstanding so I don't know why it would be closed. First of all, a downgrade to a version with security holes cannot seriously be considered a "fix". Secondly, a CIFS mount does not fix the problem in all scenarios, such as if you try to print to a printer being shared by a Windows machine. In that case it needs to use Samba, not CIFS, so you cannot use the CIFS workaround to get CUPS working, the only resolution will be a fix to Samba.
The key to the CIFS mount working in this particular topic aside from doing this without some smbclient provisions is the explicit passing of the user name "guest".

Try doing what the bug report suggested and edit cups to pass "guest" as well:
greg (xeon-greg) wrote on 2016-04-27: #14

you should stop cups service, then open /etc/cups/printers.conf, modify printer's URI like that smb://guest@....... then save and start cups service. when you start printing authentication dialog pop's up, you don't have to enter any credentials , just hit enter an it will prints
.....
.....
Thank you, Greg.
This suggestion " smb://guest@....... works fine for printing to a Win7 share from another Xubuntu install which I did not downgrade. That is, an installation updated to samba 4.3.8.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

mintchoc
Level 1
Level 1
Posts: 6
Joined: Thu Apr 21, 2016 12:10 pm

Re: Lost networking to windows after Samba updates [SOLVED]

Post by mintchoc » Thu Apr 28, 2016 9:41 am

I wholeheartedly agree that this issue should not be labeled as "Solved." In fact, I'm really surprised that anyone would suggest such a thing at this stage. The fix needs to be addressed in the updates, and I would think that these forums serve as the squeaky wheel to keep things moving forward.

Although I'm grateful for the temporary workaround, I expect more of the OS/distro.

My two cents.... -- Mintchoc

dan0
Level 1
Level 1
Posts: 20
Joined: Sun Oct 04, 2015 2:23 pm

Re: Lost networking to windows after Samba updates 4-18-2016

Post by dan0 » Thu Apr 28, 2016 10:06 am

rjr6860 wrote:Once again Linux make me want to go back to windows. I love the speed of Linux but too many problems.
After 2 years of daily use (mint on my desktop, lubuntu on a mini 9)
this is the first real issue I've had
not a bad average IMHO

User avatar
xenopeek
Level 24
Level 24
Posts: 24133
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Lost networking to windows after Samba updates [SOLVED]

Post by xenopeek » Wed May 04, 2016 1:46 pm

An update to version 2:4.3.9+dfsg-0ubuntu0.14.04.1 is available now and should fix the regressions according to http://www.ubuntu.com/usn/usn-2950-2/
Image

User avatar
tovian
Level 5
Level 5
Posts: 532
Joined: Sun Nov 22, 2015 1:17 pm
Location: Heart of Dixie

Re: Lost networking to windows after Samba updates [SOLVED]

Post by tovian » Thu May 05, 2016 8:37 am

xenopeek wrote:An update to version 2:4.3.9+dfsg-0ubuntu0.14.04.1 is available now...
Thank you for that information. I read the article in the link, but I want to confirm that I proceed correctly.

I have NOT installed the first (problem) update. Should I install only the new update - or should I install the first one and then the second one ??

TIA !!
“I think that this situation absolutely requires a really futile and stupid gesture be done on somebody's part!"
"We're just the guys to do it.”

Animal House

User avatar
xenopeek
Level 24
Level 24
Posts: 24133
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Lost networking to windows after Samba updates [SOLVED]

Post by xenopeek » Thu May 05, 2016 8:45 am

That doesn't matter; the end result is the same.
Image

lothar
Level 1
Level 1
Posts: 3
Joined: Thu May 05, 2016 11:56 am

Re: Lost networking to windows after Samba updates [SOLVED]

Post by lothar » Thu May 05, 2016 11:59 am

Samba 2:4.3.9 update did not work for me this morning. had to roll back again. I'll keep watching this post to see if anyone figures this out.

GingerNinja69
Level 1
Level 1
Posts: 3
Joined: Thu Apr 28, 2016 5:56 am

Re: Lost networking to windows after Samba updates [SOLVED]

Post by GingerNinja69 » Thu May 05, 2016 1:07 pm

Yes! New version 2:4.3.9 works for me. Tested on the virtual box a couple of times, all good. Then did so on my host machine. All working now!

lothar
Level 1
Level 1
Posts: 3
Joined: Thu May 05, 2016 11:56 am

Re: Lost networking to windows after Samba updates [SOLVED]

Post by lothar » Thu May 05, 2016 1:25 pm

I am trying to connect to a Asus router that has a samba share setup to a USB drive. Do you think the Asus router's Samba needs to be updated as well? If that's the case I'm not sure how I would do that. I guess what I'm asking is do you think that the newest release of samba wont communicate with unpatched Samba machines?

GingerNinja69
Level 1
Level 1
Posts: 3
Joined: Thu Apr 28, 2016 5:56 am

Re: Lost networking to windows after Samba updates [SOLVED]

Post by GingerNinja69 » Thu May 05, 2016 2:30 pm

Lothar,
Not sure on that as I'm connecting to native Windows machines. I would suggest running two virtual machines to test it. Personally I've always found the USB connectivity on routers to be a bit flaky anyway.

User avatar
darkstrike
Level 4
Level 4
Posts: 438
Joined: Fri Jun 03, 2011 5:56 am
Location: Mahone Bay, Nova Scotia, Canada

Re: Lost networking to windows after Samba updates [SOLVED]

Post by darkstrike » Fri May 06, 2016 8:37 am

lothar wrote:Samba 2:4.3.9 update did not work for me this morning. had to roll back again. I'll keep watching this post to see if anyone figures this out.
Was there a trick to this? I tried installing this latest Samba update (2:4.3.9) on my three Linux Mint 17.3 MATE machines and, although I can now access each of their unpassworded shares and read/write from a Windows machine, I STILL get a password request when trying to connect to any unpassworded shares from my Windows machine?

I would also go against marking this as SOLVED....there are still a lot of people having issues (myself included)!

EDIT - Just used Synaptic to reinstall all the Samba packages....still getting the same issue.

dan0
Level 1
Level 1
Posts: 20
Joined: Sun Oct 04, 2015 2:23 pm

Re: Lost networking to windows after Samba updates [SOLVED]

Post by dan0 » Sat May 07, 2016 9:05 am

darkstrike wrote:Was there a trick to this? I tried installing this latest Samba update (2:4.3.9) on my three Linux Mint 17.3 MATE machines and, although I can now access each of their unpassworded shares and read/write from a Windows machine, I STILL get a password request when trying to connect to any unpassworded shares from my Windows machine?

I would also go against marking this as SOLVED....there are still a lot of people having issues (myself included)!

EDIT - Just used Synaptic to reinstall all the Samba packages....still getting the same issue.
Dosent work for me either
xenopeeks fix failed now :(
will tinker more and post results later

User avatar
darkstrike
Level 4
Level 4
Posts: 438
Joined: Fri Jun 03, 2011 5:56 am
Location: Mahone Bay, Nova Scotia, Canada

Re: Lost networking to windows after Samba updates [SOLVED]

Post by darkstrike » Sat May 07, 2016 7:21 pm

Good luck! Hoping for a fix soon!

Dan S
Level 1
Level 1
Posts: 3
Joined: Sat May 07, 2016 7:23 pm

Re: Lost networking to windows after Samba updates [SOLVED]

Post by Dan S » Sat May 07, 2016 7:34 pm

After the 2:4.3.9 update, I was able to reach the shares on my ASUS router, and public shares on a Windows 7 machine, by adding the following to /etc/samba/smb.conf

client use spnego = no
client ntlmv2 auth = no
client ipc max protocol = NT1

Inserted immediately under Global Settings -- ##Browsing/Identification##

ASUS shares work like always. Public Windows shares, the user/pass window still comes up, but if I type in anything (e.g. user: "d" / pass: "s"), the share opens. Don't know if it'll work for others, but it works for me.

altair4
Level 19
Level 19
Posts: 9738
Joined: Tue Feb 03, 2009 10:27 am

Re: Lost networking to windows after Samba updates [SOLVED]

Post by altair4 » Sun May 08, 2016 8:28 am

In all seriousness I am truly not trying to be confrontational but if you look at the original bug report it would suggest that this is resolved: https://bugs.launchpad.net/ubuntu/+sour ... ug/1572876

Well, resolved in the sense that the specific suggestion to turn off spnego and ntlmv2 auth ( both of which are there for security ) is no longer needed as a suggested workaround. What may be required is a new way to start the communications link with the server:
greg (xeon-greg) wrote on 2016-05-05: #27

no need to use
client use spnego = no
client ntlmv2 auth = no
client ipc max protocol = NT1

for UNprotected share just use your local ubuntu account credentials (login and password)
for protected share use credentials that was set on share-host machine
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

User avatar
tovian
Level 5
Level 5
Posts: 532
Joined: Sun Nov 22, 2015 1:17 pm
Location: Heart of Dixie

Re: Lost networking to windows after Samba updates [SOLVED]

Post by tovian » Sun May 08, 2016 11:21 am

Should we go ahead and mark ALL threads solved? It seems not to matter if folks are still having problems. if someone dreamed up a solution that might work... at least for part of the time... for at least one person... somewhere... then it would probably be the right thing to do to accept that as a universal solution - and mark the topic as solved.

Yes?

No?

Maybe?


Oh, wait... we could close this topic and open a new one - essentially about the same problem. But, wouldn't that destroy the continuity of the problem narrative (history)? And, it would just create more threads about the same problem - taking more time for research - and definitely not helpful in the problem resolution process.
“I think that this situation absolutely requires a really futile and stupid gesture be done on somebody's part!"
"We're just the guys to do it.”

Animal House

altair4
Level 19
Level 19
Posts: 9738
Joined: Tue Feb 03, 2009 10:27 am

Re: Lost networking to windows after Samba updates [SOLVED]

Post by altair4 » Sun May 08, 2016 11:58 am

From: https://bugs.launchpad.net/ubuntu/+sour ... ug/1572876
After Samba upgrade can't access unpassworded windows share
SambaBug.png
I think "Fix Released" implies that Ubuntu considers this issue closed.

If you think it has not I would suggest you go to that bug report and tell them: "No it ain't fixed".

Don't bother creating a bug report to Mint since all they will do is send it to Ubuntu. As far as this forum is concerned all you can hope for are work arounds and there are now three already provided.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

User avatar
tovian
Level 5
Level 5
Posts: 532
Joined: Sun Nov 22, 2015 1:17 pm
Location: Heart of Dixie

Re: Lost networking to windows after Samba updates [SOLVED]

Post by tovian » Sun May 08, 2016 5:04 pm

altair4 wrote:I think "Fix Released" implies that Ubuntu considers this issue closed...
I think all your observations are spot on, and I completely agree. Sadly, there are folks who are still having problems. They are clearly monitoring this thread for help. I don't know a better way to close the topic for those who are now fixed but leave it open for those who are not. And, this cannot be the first time a situation like this has occurred. Perhaps there could be some sort of policy (damn, I hate that word) or guideline for these forums so that a problem can continue to be documented until all who are having issues have been fixed - even if the problem changes from a global problem to a single-user problem. Regarding that sort of problem tracking I do not know the answer, but that certainly doesn't mean there isn't one - or the admins can't create one.
“I think that this situation absolutely requires a really futile and stupid gesture be done on somebody's part!"
"We're just the guys to do it.”

Animal House

altair4
Level 19
Level 19
Posts: 9738
Joined: Tue Feb 03, 2009 10:27 am

Re: Lost networking to windows after Samba updates [SOLVED]

Post by altair4 » Sun May 08, 2016 5:56 pm

This thread has taken on a life of it's own. Nothing stopping it now. I for one am beginning to feel like that rabbit in the Mutant Clowns game I just got on my phone.

And I'm not entirely sure it's a samba issue to fix.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

dan0
Level 1
Level 1
Posts: 20
Joined: Sun Oct 04, 2015 2:23 pm

Re: Lost networking to windows after Samba updates [SOLVED]

Post by dan0 » Wed May 11, 2016 10:11 am

dan0 wrote: Dosent work for me either
xenopeeks fix failed now :(
will tinker more and post results later
1. installed the latest updates
reboot (doesn’t work)
2. installed xenopeeks fix
reboot (doesn’t work)
3. removed samba
reboot
4. installed xenopeeks fix
reboot (doesn’t work)
5. removed samba
reboot
6. installed the latest updates
reboot (doesn’t work)

networking is so broken now when I click on network in the caja file manager I get
Could Not Display "network:///"
Caja cannot handle "network" locations

Help

Post Reply

Return to “Other networking topics”