summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2012-06-15s3:lib: add a utility function "fsp_fnum_dbg" for logging the fnum of an fspMichael Adam1-0/+1
This is to unify logging of an files_struct. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15s3:smbd: change FNUM_FIELD_INVALID from -1 to 0Michael Adam1-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>
2012-06-15s3:include: define FNUM_FIELD_INVALID - the invalid value for the fnumMichael Adam1-0/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12s3: Add cli_state->pw_nt_hashVolker Lendecke1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12s3: Add user_auth_info->use_pw_nt_hashVolker Lendecke1-0/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12s3-libsmbclient: Add OptionUseNTHashVolker Lendecke2-0/+12
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12s3: Add CLI_FULL_CONNECTION_USE_NT_HASHVolker Lendecke1-0/+1
... as an indicator that the password supplied is the NT hash Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12S3: Add ntlmssp_set_password_hashVolker Lendecke1-0/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12s3-libsmbclient: Make SMBC_call_auth_fn staticVolker Lendecke1-9/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:include: change lock_struct->fnum to uint64_tMichael Adam1-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
2012-06-06s3:include: change lock_context->tid to uint32_tMichael Adam1-1/+1
Note: this changes for format of brlock.tdb! Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:include: change connection_struct->cnum to uint32_tMichael Adam1-1/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:include: change smb_request->tid to uint32_tMichael Adam1-1/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:smb: change the value of TID_FIELD_INVALID from -1 to 0Michael Adam1-1/+1
This paves the way to change the tid/cnum types to systematic uint32_t. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tidMichael Adam1-0/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:connections: add a CNUM_OFFSET for mapping between cnum and the bitmap indexMichael Adam1-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>
2012-06-06s3:smb.h: fix a comment typoMichael Adam1-1/+1
2012-06-06s3:smbd: change user_struct->vuid to uint64_tStefan Metzmacher1-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
2012-06-06s3:smbd: let open_fake_file() take a uint64_t vuidStefan Metzmacher1-1/+1
metze
2012-06-06s3:printing: let print_spool_open() take a uint64_t vuidStefan Metzmacher1-1/+1
metze
2012-06-06s3:include: change current_user->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:include: change smb_request->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:include: move struct smb_request to vfs.hStefan Metzmacher2-61/+61
metze
2012-06-06s3:include: change files_struct->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:include: change connection_struct->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:includes: change vuid_cache_entry->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:include: move sys_acl prototypes to smb_acls.hStefan Metzmacher2-30/+33
metze
2012-06-06s3:smbd: move struct user_struct to globals.hStefan Metzmacher1-13/+0
metze
2012-06-06s3:include: remove typedef user_structStefan Metzmacher1-2/+2
metze
2012-06-06s3:smbd: move forward declaration of struct aio_extra to smbd.hStefan Metzmacher1-3/+0
metze
2012-06-06s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.hStefan Metzmacher1-0/+10
These are called from vfs modules, which should not depend on smbd/proto.h metze
2012-06-06s3:include: remove unused forward declaration of deferred_open_record in smb.hStefan Metzmacher1-3/+0
metze
2012-06-06s3:smbd: move UCF_ defines to smbd.hStefan Metzmacher1-9/+0
metze
2012-06-06s3:include: move struct smb_filename to vfs.hStefan Metzmacher2-10/+10
metze
2012-06-06s3:include: move struct smb_file_time to vfs.hStefan Metzmacher2-8/+8
metze
2012-06-06s3:include: move struct connection_struct (and sub structs) to vfs.hStefan Metzmacher2-94/+92
metze
2012-06-06s3:include: move struct stream_struct to vfs.hStefan Metzmacher2-10/+10
metze
2012-06-06s3:include: move struct fd_handle/files_struct to vfs.hStefan Metzmacher2-82/+82
metze
2012-06-06s3:includes: move union unid_t to vfs.hStefan Metzmacher2-5/+5
metze
2012-06-06s3:smbd: move struct trans_state to smbd.hStefan Metzmacher1-30/+0
metze
2012-06-06s3:smbd: move struct privilege_paths to smbd.hStefan Metzmacher1-9/+0
metze
2012-06-06s3:smbd: make struct notify_change_buf private to notify.cStefan Metzmacher1-20/+0
metze
2012-06-06s3:printing: add print_spool_rap_jobid()Stefan Metzmacher1-0/+1
metze
2012-06-06s3:printing: make struct print_file_data private to printspoolss.cStefan Metzmacher1-9/+0
metze
2012-06-06s3:smbd: make struct vfs_fsp_data private to vfs.cStefan Metzmacher1-10/+0
metze
2012-06-06s3:includes: move struct share_mode_lock to locking.hStefan Metzmacher2-4/+4
metze
2012-06-06s3:smbd: make typedef write_cache private to fileio.cStefan Metzmacher1-9/+1
metze
2012-06-06build: Rationalise AIO support in configure, ensure on by defaultAndrew Bartlett1-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
2012-06-05s3:lib: split things into a conn_tdb.hStefan Metzmacher2-44/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 5 19:28:35 CEST 2012 on sn-devel-104
2012-06-03s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes1-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