1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r16739: test SMB2-GETINFO SMB2-SETINFO by make test

metze
(This used to be commit 0ebb25de56)
This commit is contained in:
Stefan Metzmacher 2006-07-01 14:31:20 +00:00 committed by Gerald (Jerry) Carter
parent dd44e2415c
commit 2e56d833b4
2 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,7 @@ raw="$raw RAW-IOCTL RAW-LOCK RAW-MKDIR RAW-MUX RAW-NOTIFY RAW-OPEN RAW-OPLOCK"
raw="$raw RAW-QFILEINFO RAW-QFSINFO RAW-READ RAW-RENAME RAW-SEARCH RAW-SEEK"
raw="$raw RAW-SFILEINFO RAW-SFILEINFO-BUG RAW-STREAMS RAW-UNLINK RAW-WRITE"
smb2="SMB2-CONNECT"
smb2="SMB2-CONNECT SMB2-GETINFO SMB2-SETINFO"
tests="$base $raw $smb2"

View File

@ -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 =