summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
* s3:lib: add a utility function "fsp_fnum_dbg" for logging the fnum of an fspMichael Adam2012-06-151-0/+1
| | | | | | This is to unify logging of an files_struct. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change FNUM_FIELD_INVALID from -1 to 0Michael Adam2012-06-151-1/+1
| | | | | | | | | | | | 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 fnumMichael Adam2012-06-151-0/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Add cli_state->pw_nt_hashVolker Lendecke2012-06-121-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Add user_auth_info->use_pw_nt_hashVolker Lendecke2012-06-121-0/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmbclient: Add OptionUseNTHashVolker Lendecke2012-06-122-0/+12
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Add CLI_FULL_CONNECTION_USE_NT_HASHVolker Lendecke2012-06-121-0/+1
| | | | | | ... as an indicator that the password supplied is the NT hash Signed-off-by: Stefan Metzmacher <metze@samba.org>
* S3: Add ntlmssp_set_password_hashVolker Lendecke2012-06-121-0/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmbclient: Make SMBC_call_auth_fn staticVolker Lendecke2012-06-121-9/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:include: change lock_struct->fnum to uint64_tMichael Adam2012-06-061-1/+1
| | | | | | | | | Note: this changes the format of brlock.tdb! Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jun 6 23:22:00 CEST 2012 on sn-devel-104
* s3:include: change lock_context->tid to uint32_tMichael Adam2012-06-061-1/+1
| | | | | | Note: this changes for format of brlock.tdb! Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:include: change connection_struct->cnum to uint32_tMichael Adam2012-06-061-1/+1
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:include: change smb_request->tid to uint32_tMichael Adam2012-06-061-1/+1
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:smb: change the value of TID_FIELD_INVALID from -1 to 0Michael Adam2012-06-061-1/+1
| | | | | | 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/tidMichael Adam2012-06-061-0/+1
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:connections: add a CNUM_OFFSET for mapping between cnum and the bitmap indexMichael Adam2012-06-061-0/+2
| | | | | | | | | 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 typoMichael Adam2012-06-061-1/+1
|
* s3:smbd: change user_struct->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | | | | | | | Only sconn->smb1.sessions.next_vuid remains as uint16_t, so that we do not generate larger values yet. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 6 12:07:33 CEST 2012 on sn-devel-104
* s3:smbd: let open_fake_file() take a uint64_t vuidStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:printing: let print_spool_open() take a uint64_t vuidStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: change current_user->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: change smb_request->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: move struct smb_request to vfs.hStefan Metzmacher2012-06-062-61/+61
| | | | metze
* s3:include: change files_struct->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: change connection_struct->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:includes: change vuid_cache_entry->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: move sys_acl prototypes to smb_acls.hStefan Metzmacher2012-06-062-30/+33
| | | | metze
* s3:smbd: move struct user_struct to globals.hStefan Metzmacher2012-06-061-13/+0
| | | | metze
* s3:include: remove typedef user_structStefan Metzmacher2012-06-061-2/+2
| | | | metze
* s3:smbd: move forward declaration of struct aio_extra to smbd.hStefan Metzmacher2012-06-061-3/+0
| | | | metze
* s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.hStefan Metzmacher2012-06-061-0/+10
| | | | | | These are called from vfs modules, which should not depend on smbd/proto.h metze
* s3:include: remove unused forward declaration of deferred_open_record in smb.hStefan Metzmacher2012-06-061-3/+0
| | | | metze
* s3:smbd: move UCF_ defines to smbd.hStefan Metzmacher2012-06-061-9/+0
| | | | metze
* s3:include: move struct smb_filename to vfs.hStefan Metzmacher2012-06-062-10/+10
| | | | metze
* s3:include: move struct smb_file_time to vfs.hStefan Metzmacher2012-06-062-8/+8
| | | | metze
* s3:include: move struct connection_struct (and sub structs) to vfs.hStefan Metzmacher2012-06-062-94/+92
| | | | metze
* s3:include: move struct stream_struct to vfs.hStefan Metzmacher2012-06-062-10/+10
| | | | metze
* s3:include: move struct fd_handle/files_struct to vfs.hStefan Metzmacher2012-06-062-82/+82
| | | | metze
* s3:includes: move union unid_t to vfs.hStefan Metzmacher2012-06-062-5/+5
| | | | metze
* s3:smbd: move struct trans_state to smbd.hStefan Metzmacher2012-06-061-30/+0
| | | | metze
* s3:smbd: move struct privilege_paths to smbd.hStefan Metzmacher2012-06-061-9/+0
| | | | metze
* s3:smbd: make struct notify_change_buf private to notify.cStefan Metzmacher2012-06-061-20/+0
| | | | metze
* s3:printing: add print_spool_rap_jobid()Stefan Metzmacher2012-06-061-0/+1
| | | | metze
* s3:printing: make struct print_file_data private to printspoolss.cStefan Metzmacher2012-06-061-9/+0
| | | | metze
* s3:smbd: make struct vfs_fsp_data private to vfs.cStefan Metzmacher2012-06-061-10/+0
| | | | metze
* s3:includes: move struct share_mode_lock to locking.hStefan Metzmacher2012-06-062-4/+4
| | | | metze
* s3:smbd: make typedef write_cache private to fileio.cStefan Metzmacher2012-06-061-9/+1
| | | | metze
* build: Rationalise AIO support in configure, ensure on by defaultAndrew Bartlett2012-06-061-2/+2
| | | | | | | | | With this change, the define to check for AIO is HAVE_AIO, consistant with other subsystems. It is now also on by default in the autoconf build, as it has been for waf. Andrew Bartlett
* s3:lib: split things into a conn_tdb.hStefan Metzmacher2012-06-052-44/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 5 19:28:35 CEST 2012 on sn-devel-104
* s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes2012-06-031-7/+0
| | | | | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104