diff options
author | Jeremy Allison <jra@samba.org> | 2004-08-19 20:03:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:24 -0500 |
commit | 284689aa18d2711a9041598cdf490359466f7f77 (patch) | |
tree | 8cf5c9c6b4b798eb95e231968006db9ce565c21c /source/smbd/process.c | |
parent | 47dffbb857057ba7591e9a597596414e364c7a00 (diff) | |
download | samba-284689aa18d2711a9041598cdf490359466f7f77.tar.gz samba-284689aa18d2711a9041598cdf490359466f7f77.tar.xz samba-284689aa18d2711a9041598cdf490359466f7f77.zip |
r1936: Fix bug noticed by Steve - ensure extended security bit is on only
if we negotiated extended security. Do not merge for 3.0.6. Works
with W2K but needs further testing.
Jeremy.
Diffstat (limited to 'source/smbd/process.c')
-rw-r--r-- | source/smbd/process.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/smbd/process.c b/source/smbd/process.c index 60ce1499e8d..5be68d9f0a1 100644 --- a/source/smbd/process.c +++ b/source/smbd/process.c @@ -1130,7 +1130,12 @@ const char *smb_fn_name(int type) Helper functions for contruct_reply. ****************************************************************************/ -static uint32 common_flags2 = FLAGS2_LONG_PATH_COMPONENTS|FLAGS2_EXTENDED_SECURITY|FLAGS2_32_BIT_ERROR_CODES; +static uint32 common_flags2 = FLAGS2_LONG_PATH_COMPONENTS|FLAGS2_32_BIT_ERROR_CODES; + +void add_to_common_flags2(uint32 v) +{ + common_flags2 |= v; +} void remove_from_common_flags2(uint32 v) { |