Yvan Masson
2019-May-31 16:25 UTC
[Samba] smbclient -L returns NT_STATUS_REVISION_MISMATCH
Hi all, Sorry for this question which has certainely already been answered, but I could not find info in the list nor in the wiki. From my Debian laptop running testing (samba 4.9.5) and with an empty smb.conf (I wanted to be sure that only default values are used), I can not browse shares of a Windows 10 machine (sorry, Thunderbird splits some lines): smbclient -L 192.168.122.200 Unable to initialize messaging context Enter WORKGROUP\yvan's password: Anonymous login successful Sharename Type Comment --------- ---- ------- smb1cli_req_writev_submit: called for dialect[SMB3_11] server[192.168.122.200] Error returning browse list: NT_STATUS_REVISION_MISMATCH Reconnecting with SMB1 for workgroup listing. do_connect: Connection to 192.168.122.200 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND) Failed to connect with SMB1 -- no workgroup available Any idea is very welcome. Best regards, Yvan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20190531/f8ee8ee0/signature.sig>
Most likely, your Windows 10 (file server) is disallowing SMB1 connections, which is the default for smbclient. You can force smbclient to use a higher protocol with "smbclient -m SMB2" https://www.samba.org/samba/docs/current/man-html/smbclient.1.html Kris Lou klou at themusiclink.net On Fri, May 31, 2019 at 9:45 AM Yvan Masson via samba <samba at lists.samba.org> wrote:> Hi all, > > Sorry for this question which has certainely already been answered, but > I could not find info in the list nor in the wiki. > > From my Debian laptop running testing (samba 4.9.5) and with an empty > smb.conf (I wanted to be sure that only default values are used), I can > not browse shares of a Windows 10 machine (sorry, Thunderbird splits > some lines): > > smbclient -L 192.168.122.200 > Unable to initialize messaging context > Enter WORKGROUP\yvan's password: > Anonymous login successful > > Sharename Type Comment > --------- ---- ------- > smb1cli_req_writev_submit: called for dialect[SMB3_11] > server[192.168.122.200] > Error returning browse list: NT_STATUS_REVISION_MISMATCH > Reconnecting with SMB1 for workgroup listing. > do_connect: Connection to 192.168.122.200 failed (Error > NT_STATUS_RESOURCE_NAME_NOT_FOUND) > Failed to connect with SMB1 -- no workgroup available > > > Any idea is very welcome. > > Best regards, > Yvan > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Yvan Masson
2019-May-31 21:04 UTC
[Samba] smbclient -L returns NT_STATUS_REVISION_MISMATCH
Shanks for the hint! Very strange that the default is only to use a deprecated protocol… Anyway, this option has no effect on this issue… Yvan Le 31/05/2019 à 18:53, Kris Lou via samba a écrit :> Most likely, your Windows 10 (file server) is disallowing SMB1 connections, > which is the default for smbclient. > > You can force smbclient to use a higher protocol with "smbclient -m SMB2" > > https://www.samba.org/samba/docs/current/man-html/smbclient.1.html > > Kris Lou > klou at themusiclink.net > > > On Fri, May 31, 2019 at 9:45 AM Yvan Masson via samba <samba at lists.samba.org> > wrote: > >> Hi all, >> >> Sorry for this question which has certainely already been answered, but >> I could not find info in the list nor in the wiki. >> >> From my Debian laptop running testing (samba 4.9.5) and with an empty >> smb.conf (I wanted to be sure that only default values are used), I can >> not browse shares of a Windows 10 machine (sorry, Thunderbird splits >> some lines): >> >> smbclient -L 192.168.122.200 >> Unable to initialize messaging context >> Enter WORKGROUP\yvan's password: >> Anonymous login successful >> >> Sharename Type Comment >> --------- ---- ------- >> smb1cli_req_writev_submit: called for dialect[SMB3_11] >> server[192.168.122.200] >> Error returning browse list: NT_STATUS_REVISION_MISMATCH >> Reconnecting with SMB1 for workgroup listing. >> do_connect: Connection to 192.168.122.200 failed (Error >> NT_STATUS_RESOURCE_NAME_NOT_FOUND) >> Failed to connect with SMB1 -- no workgroup available >> >> >> Any idea is very welcome. >> >> Best regards, >> Yvan >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20190531/ab483bba/signature.sig>