summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-31 03:26:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:05 -0500
commitb24fcfc1aadf56130f9f2f2371282c0c399611c2 (patch)
tree00280ff144492488eccaad1561f4930f9c3b411e /source4/include
parent50c5059ab048a5a1b9b03ca78029b333197178ba (diff)
downloadsamba-b24fcfc1aadf56130f9f2f2371282c0c399611c2.tar.gz
samba-b24fcfc1aadf56130f9f2f2371282c0c399611c2.tar.bz2
samba-b24fcfc1aadf56130f9f2f2371282c0c399611c2.zip
r3400: - allow callers to control the flags2 field in raw packets
- added testing of the FLAGS2_READ_PERMIT_EXECUTE bit in the ntdeny tests (This used to be commit adf4a682705871186f3b77ea6d417942445fc5d3)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/cli_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/cli_context.h b/source4/include/cli_context.h
index 1b20985fd8..06d7469b70 100644
--- a/source4/include/cli_context.h
+++ b/source4/include/cli_context.h
@@ -189,6 +189,10 @@ struct smbcli_session {
/* default pid for this session */
uint32_t pid;
+ /* the flags2 for each packet - this allows
+ the user to control these for torture testing */
+ uint16_t flags2;
+
DATA_BLOB user_session_key;
/* the spnego context if we use extented security */