Jeremy Allison
2016-Aug-08 20:35 UTC
[Samba] WindowsPE 10.0 -- Samba 4.4.5 connection problem
On Mon, Aug 08, 2016 at 03:44:32PM -0400, Steve Ankeny wrote:> On 08/08/2016 02:58 PM, Rowland Penny wrote: > >On Mon, 8 Aug 2016 14:33:37 -0400 > >Steve Ankeny <steve_a at cinergymetro.net> wrote: > > > > > >>Looking at a "System 58 error" with Windows 7 -- > >> > >>https://serverfault.com/questions/69049/system-error-58-while-accessing-shares-on-windows-7-from-windows-xp > >> > >>I'm wondering if the problem lies in the "server max level = NT1" > >>issue we've seen before with Windows 10? > >> > >>In other words, the problem may lie in the PXE Windows PE 10.0 > >>environment. > >> > >>It's making a request but not receiving the answer it requires to > >>make the connection.Can you get a debug level 10 log from Samba, plus a wireshark trace of this operation failing please ?
Steve Ankeny
2016-Aug-08 21:09 UTC
[Samba] WindowsPE 10.0 -- Samba 4.4.5 connection problem
On 08/08/2016 04:35 PM, Jeremy Allison wrote:> On Mon, Aug 08, 2016 at 03:44:32PM -0400, Steve Ankeny wrote: >> On 08/08/2016 02:58 PM, Rowland Penny wrote: >>> On Mon, 8 Aug 2016 14:33:37 -0400 >>> Steve Ankeny <steve_a at cinergymetro.net> wrote: >>> >>> >>>> Looking at a "System 58 error" with Windows 7 -- >>>> >>>> https://serverfault.com/questions/69049/system-error-58-while-accessing-shares-on-windows-7-from-windows-xp >>>> >>>> I'm wondering if the problem lies in the "server max level = NT1" >>>> issue we've seen before with Windows 10? >>>> >>>> In other words, the problem may lie in the PXE Windows PE 10.0 >>>> environment. >>>> >>>> It's making a request but not receiving the answer it requires to >>>> make the connection. > Can you get a debug level 10 log from Samba, plus a wireshark > trace of this operation failing please ? > >Great idea, Jeremy, but it has to come from the OP, Ralf Aumuller!
Rowland Penny
2016-Aug-09 09:28 UTC
[Samba] WindowsPE 10.0 -- Samba 4.4.5 connection problem
On Mon, 8 Aug 2016 17:09:49 -0400 Steve Ankeny <steve_a at cinergymetro.net> wrote:> On 08/08/2016 04:35 PM, Jeremy Allison wrote: > > On Mon, Aug 08, 2016 at 03:44:32PM -0400, Steve Ankeny wrote: > >> On 08/08/2016 02:58 PM, Rowland Penny wrote: > >>> On Mon, 8 Aug 2016 14:33:37 -0400 > >>> Steve Ankeny <steve_a at cinergymetro.net> wrote: > >>> > >>> > >>>> Looking at a "System 58 error" with Windows 7 -- > >>>> > >>>> https://serverfault.com/questions/69049/system-error-58-while-accessing-shares-on-windows-7-from-windows-xp > >>>> > >>>> I'm wondering if the problem lies in the "server max level = NT1" > >>>> issue we've seen before with Windows 10? > >>>> > >>>> In other words, the problem may lie in the PXE Windows PE 10.0 > >>>> environment. > >>>> > >>>> It's making a request but not receiving the answer it requires to > >>>> make the connection. > > Can you get a debug level 10 log from Samba, plus a wireshark > > trace of this operation failing please ? > > > > > Great idea, Jeremy, but it has to come from the OP, Ralf Aumuller! > > > >OK, after downloading WindowsPE 10 and installing it in a VM, I can confirm two things, as standard it doesn't connect to a Samba standalone server and adding 'server max protocol = NT1' to smb.conf on the Samba server, fixes it. I have the level 10 logs. Jeremy, do you still want the wireshark trace ? Rowland
Rowland Penny
2016-Aug-09 11:44 UTC
[Samba] WindowsPE 10.0 -- Samba 4.4.5 connection problem
On Tue, 9 Aug 2016 11:49:01 +0100 Rowland Penny <rpenny at samba.org> wrote:> On Tue, 9 Aug 2016 10:28:24 +0100 > Rowland Penny <rpenny at samba.org> wrote: > > > > > OK, after downloading WindowsPE 10 and installing it in a VM, I can > > confirm two things, as standard it doesn't connect to a Samba > > standalone server and adding 'server max protocol = NT1' to smb.conf > > on the Samba server, fixes it. > > > > I have the level 10 logs. > > Jeremy, do you still want the wireshark trace ? > > > > Rowland > > >As I do not really know how to use wireshark and all the info I could find expects the server to be running a GUI, I had a look on the Samba wiki and found this page: https://www.samba.org/~asn/reporting_samba_bugs.txt So basically following that, here are the level 10 log files, a pcap file and the smb.conf I used. Rowland
Jeremy Allison
2016-Aug-09 17:39 UTC
[Samba] WindowsPE 10.0 -- Samba 4.4.5 connection problem
On Tue, Aug 09, 2016 at 11:49:01AM +0100, Rowland Penny wrote:> On Tue, 9 Aug 2016 10:28:24 +0100 > Rowland Penny <rpenny at samba.org> wrote: > > > > > OK, after downloading WindowsPE 10 and installing it in a VM, I can > > confirm two things, as standard it doesn't connect to a Samba > > standalone server and adding 'server max protocol = NT1' to smb.conf > > on the Samba server, fixes it. > > > > I have the level 10 logs. > > Jeremy, do you still want the wireshark trace ? > > > > Rowland > > > > As I do not really know how to use wireshark and all the info I could > find expects the server to be running a GUI, I had a look on the > Samba wiki and found this page: > > https://www.samba.org/~asn/reporting_samba_bugs.txt > > So basically following that, here are the level 10 log files, a pcap > file and the smb.conf I used.Thanks a lot for that ! Can you log a bug at bugzilla.samba.org and upload these files so we can track it ? If you don't get to it today I'll try and get to it, but having a bugzilla bug will allow us to keep all info on the problem together. Much appreciated Rowland and thanks a *LOT* for reproducing ! Jeremy.
Jeremy Allison
2016-Aug-10 00:11 UTC
[Samba] WindowsPE 10.0 -- Samba 4.4.5 connection problem
On Tue, Aug 09, 2016 at 11:49:01AM +0100, Rowland Penny wrote:> On Tue, 9 Aug 2016 10:28:24 +0100 > Rowland Penny <rpenny at samba.org> wrote: > > > > > OK, after downloading WindowsPE 10 and installing it in a VM, I can > > confirm two things, as standard it doesn't connect to a Samba > > standalone server and adding 'server max protocol = NT1' to smb.conf > > on the Samba server, fixes it. > > > > I have the level 10 logs. > > Jeremy, do you still want the wireshark trace ? > > > > Rowland > > > > As I do not really know how to use wireshark and all the info I could > find expects the server to be running a GUI, I had a look on the > Samba wiki and found this page: > > https://www.samba.org/~asn/reporting_samba_bugs.txt > > So basically following that, here are the level 10 log files, a pcap > file and the smb.conf I used.Logged as bug: https://bugzilla.samba.org/show_bug.cgi?id=12136 Cheers, Jeremy.
Jeremy Allison
2016-Sep-14 23:50 UTC
[Samba] WindowsPE 10.0 -- Samba 4.4.5 connection problem
On Tue, Aug 09, 2016 at 11:49:01AM +0100, Rowland Penny wrote:> On Tue, 9 Aug 2016 10:28:24 +0100 > Rowland Penny <rpenny at samba.org> wrote: > > > > > OK, after downloading WindowsPE 10 and installing it in a VM, I can > > confirm two things, as standard it doesn't connect to a Samba > > standalone server and adding 'server max protocol = NT1' to smb.conf > > on the Samba server, fixes it. > > > > I have the level 10 logs. > > Jeremy, do you still want the wireshark trace ? > > > > Rowland > > > > As I do not really know how to use wireshark and all the info I could > find expects the server to be running a GUI, I had a look on the > Samba wiki and found this page: > > https://www.samba.org/~asn/reporting_samba_bugs.txt > > So basically following that, here are the level 10 log files, a pcap > file and the smb.conf I used.Thanks Rowland, sorry for the delay in looking at this. Can you get a wireshark trace of this client connecting to a Windows server please ? It seems to be trying to log on using a 'guest' connection, and refusing to accept the reply we finally give to the SMB2 sessionsetup. Seeing a WindowsPE 10 -> Windows server trace would help in me figuring out what is missing. I'll try following up with this at the SNIA conf next week if I can get a WindowsPE10 install. Cheers, Jeremy.
Rowland Penny
2016-Sep-15 07:39 UTC
[Samba] WindowsPE 10.0 -- Samba 4.4.5 connection problem
On Wed, 14 Sep 2016 16:50:27 -0700 Jeremy Allison <jra at samba.org> wrote:> On Tue, Aug 09, 2016 at 11:49:01AM +0100, Rowland Penny wrote: > > On Tue, 9 Aug 2016 10:28:24 +0100 > > Rowland Penny <rpenny at samba.org> wrote: > > > > > > > > OK, after downloading WindowsPE 10 and installing it in a VM, I > > > can confirm two things, as standard it doesn't connect to a Samba > > > standalone server and adding 'server max protocol = NT1' to > > > smb.conf on the Samba server, fixes it. > > > > > > I have the level 10 logs. > > > Jeremy, do you still want the wireshark trace ? > > > > > > Rowland > > > > > > > As I do not really know how to use wireshark and all the info I > > could find expects the server to be running a GUI, I had a look on > > the Samba wiki and found this page: > > > > https://www.samba.org/~asn/reporting_samba_bugs.txt > > > > So basically following that, here are the level 10 log files, a pcap > > file and the smb.conf I used. > > Thanks Rowland, sorry for the delay in looking at this. > > Can you get a wireshark trace of this client connecting > to a Windows server please ? > > It seems to be trying to log on using a 'guest' connection, > and refusing to accept the reply we finally give to > the SMB2 sessionsetup. > > Seeing a WindowsPE 10 -> Windows server trace would > help in me figuring out what is missing. > > I'll try following up with this at the SNIA conf > next week if I can get a WindowsPE10 install. > > Cheers, > > Jeremy.Hi jeremy, there was a very big hint in there ;-) 'As I do not really know how to use wireshark' You tell me what to do and I will do it. Rowland