Happy New Year 2013 Signed-off-by: Stefan Metzmacher <metze@samba.org>
Revert "s3:smb: include "smbXsrv.h" before "vfs.h"" This reverts commit db0c233624e633b3cc1a6e0e44dccc09aaa121f2.
libcli/smb: move some TCON related defines to smb_constants.h metze
Add two flags to allow for handling of Extended Signatures (Session Key Protection) on a TCON_AND_X request and response. Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Wed Aug 1 06:36:37 CEST 2012 on sn-devel-104
lib/param: Move all enum declarations to lib/param This is in preperation for the parameter table being made common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
s3:smb: include "smbXsrv.h" before "vfs.h" This is still needed as long as smbXsrv_open/_tcon are referenced in files_struct and connection_struct respectively. Eventually, these structures should not have a backlink to the smb world any more.
s3:smbd: make use of smbXsrv_tcon for smb1 Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
s3:smbd: change FNUM_FIELD_INVALID from -1 to 0 This is in preparation for changing the type of files_struct.fnum to unit64_t. This can safely be done, since all checks have been converted to using FNUM_FIELD_INVALID and fsp->fnum is only ever set to either FNUM_FIELD_INVALID or some i + FILE_HANDLE_OFFSET with i >= 0 and FILE_HANDLE_OFFSET > 0. Signed-off-by: Stefan Metzmacher <metze@samba.org>
s3:include: define FNUM_FIELD_INVALID - the invalid value for the fnum Signed-off-by: Stefan Metzmacher <metze@samba.org>
s3:smb: change the value of TID_FIELD_INVALID from -1 to 0 This paves the way to change the tid/cnum types to systematic uint32_t. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tid Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
s3:connections: add a CNUM_OFFSET for mapping between cnum and the bitmap index This moves the start of the range of valid cnum values up from 0 to CNUM_OFFSET (currently 1), so that in a later step we can use 0 as invalid cnum value instead of the current -1. This will allow us to change the type of cnum to uint32_t from a mix of int and unsigned. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
s3:smb.h: fix a comment typo
s3:include: change current_user->vuid to uint64_t metze
s3:include: move struct smb_request to vfs.h metze
s3:smbd: move struct user_struct to globals.h metze
s3:include: remove typedef user_struct metze
s3:smbd: move forward declaration of struct aio_extra to smbd.h metze
s3:include: remove unused forward declaration of deferred_open_record in smb.h metze
s3:smbd: move UCF_ defines to smbd.h metze