summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-01 14:31:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:43 -0500
commit2e56d833b43afe52e5f9db0221be615c5709e85e (patch)
tree1409ed43f9044642b97beff5eb0074fc0d7c5fb6 /source4/torture/smb2
parentdd44e2415ce2f0c6afddbb88b0c069ade95dc99f (diff)
downloadsamba-2e56d833b43afe52e5f9db0221be615c5709e85e.tar.gz
samba-2e56d833b43afe52e5f9db0221be615c5709e85e.tar.bz2
samba-2e56d833b43afe52e5f9db0221be615c5709e85e.zip
r16739: test SMB2-GETINFO SMB2-SETINFO by make test
metze (This used to be commit 0ebb25de5680cb783d1d79e580aab3f1f03871bc)
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/getinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/smb2/getinfo.c b/source4/torture/smb2/getinfo.c
index 865f85a8ff..dfabb08225 100644
--- a/source4/torture/smb2/getinfo.c
+++ b/source4/torture/smb2/getinfo.c
@@ -104,6 +104,9 @@ static BOOL torture_smb2_fileinfo(struct smb2_tree *tree)
file_levels[i].dinfo.query_secdesc.in.secinfo_flags = 0x7;
}
if (file_levels[i].level == RAW_FILEINFO_SMB2_ALL_EAS) {
+ if (lp_parm_bool(-1, "target", "samba4", False)) {
+ continue;
+ }
file_levels[i].finfo.all_eas.in.continue_flags =
SMB2_CONTINUE_FLAG_RESTART;
file_levels[i].dinfo.all_eas.in.continue_flags =