[Samba] Did anybody test smbclient4 against smbd4 using SMB2

Stefan (metze) Metzmacher metze at samba.org
Thu Sep 27 23:57:17 MDT 2012


Am 25.09.2012 19:43, schrieb Jun Yi:
> 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

smbclient4 is not really supported at all, it might be removed in future.
It also doesn't support smb2!

smbclient doesn't support smb2/3 neither, but we may add that for
Samba-4.1.0,
but it won't be in Samba-4.0.0.

smbtorture and smbtorture3 both have some smb2/3 tests.

While developing new tests we typically verify them against
the latest Windows version (the reference implementation).

And they run in 'make test' before any commit hits our
main git repository (for the master and v4-0-test branches).

You can run smbtorture like

bin/smbtorture -Uadministrator%A1b2C3d4 //172.31.9.198/torture
smb2.durable-open

This lists all test-suites:
bin/smbtorture --list-suites
This all subtests
bin/smbtorture --list

'./smbtorture3 --help' will show all all smbtorture3 tests.
It can be used like this:
bin/smbtorture3 //172.31.9.198/torture -Uadministrator%A1b2C3d4 SMB2-NEGPROT

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20120928/71d52957/attachment-0001.pgp>


More information about the samba mailing list