s3: torture: Fix test SMB2-DFS-PATHS to pass against Windows server 2022.
commitf3dc1a42f578bec784d01b8caf6ff13e230116a2
authorJeremy Allison <jra@samba.org>
Tue, 27 Sep 2022 01:05:49 +0000 (26 18:05 -0700)
committerNoel Power <npower@samba.org>
Wed, 28 Sep 2022 18:36:35 +0000 (28 18:36 +0000)
tree08f9e5903ee977d3a14135a2de3c39c59c1f963d
parentd89400b6201013ffdf06dc5480f59d9a41eb2f2a
s3: torture: Fix test SMB2-DFS-PATHS to pass against Windows server 2022.

There is only one difference between Windows 2022 and Windows 2008.

Opening an empty ("") DFS path succeeds in opening the share
root on Windows 2008 but fails with NT_STATUS_INVALID_PARAMETER
on Windows 2022. Allow the test to cope with both.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
source3/torture/test_smb2.c