The Samba-Bugzilla – Bug 8385
smbclient can't access a NT4 share since 3.6.0
Last modified: 2011-09-01 21:37:51 UTC
Created attachment 6788 [details]
strace smbclient 3.6.0
I upgraded to 3.6.0, but since that time, I can't connect to a share on a NT4 Wks host any more:
# /usr/bin/smbclient //molek-04/lightcycler -U administrator
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
I thought it could be something with 'client ntlmv2 auth", what is 'yes' since that version. But even if I switch it to 'no' it's the same.
[root@nucleus ~]# smbclient --version
I have this problem reproducable on all our 3.6.0 machines. From none I can use smbclient to connect to NT4 shares anymore. With 3.5.x versions it's no problem.
Volker Lendecke already told me on the mailing list, that thought that he had this problem already in a 3.6pre version and it was fixed. But I'm running the 3.6.0 final here and having this problem.
Using "-p 139" as parameter is a workaround for the problem.
Volker already told me via mail that the output of poll(2) from the straces of 3.6.0 and 3.5.11 look different.
Created attachment 6789 [details]
strace smbclient 3.5.11
Just to say this is pretty high on my list, but I am right now very busy with
Created attachment 6798 [details]
Patch against current upstream
Can you try the attached patch?
Pushed to master - this is obvious goodness.
Re-assigning to Karolin for inclusion in 3.6.1.
I can confirm that the patch is working. Thanks.
Pushed to v3-6-test.
Closing out bug report.