[Samba] Did anybody test smbclient4 against smbd4 using SMB2
Andrew Bartlett
abartlet at samba.org
Tue Sep 25 15:08:53 MDT 2012
On Tue, 2012-09-25 at 10:43 -0700, Jun Yi wrote:
> Thanks Andrew,
>
> Let's first clarify the version I used. I use the master branch, e.g.,
> version 4.1.0, for both client and server sides.
>
> I run smbclient4 at the client side:
> junyij at junyij] ./smbclient4
> -V
> Version 4.1.0pre1-DEVELOPERBUILD
> junyij at junyij] ./smbclient4 -m SMB2 -W smb-workgroup -U
> junyij //localhost/share1
> Connection to \\localhost\share1 failed - NT_STATUS_REVISION_MISMATCH
>
> I run sbmd at the server side with configuration
> file /etc/samba/smb.conf
> junyij at junyij] sudo ./smbd
> -V
> Version 4.1.0pre1-DEVELOPERBUILD
> sudo ./smbd -s /etc/samba/smb.conf -d 10 -l smbd-4
> junyij at junyij]
> cat /etc/samba/smb.conf
> [global]
> workgroup = smb-workgroup
> max protocol = SMB2
> min protocol = SMB2
> [share1]
> path = /tmp
I examined the source code used by smbclient4, and as far as I can tell
this tool simply cannot do smb2. Therefore, as you have seen, this will
fail.
You could try 'smbclient' (which uses a different codebase), which
appears to have some support, but I'm not sure exactly how much is
connected there.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba
mailing list