summaryrefslogtreecommitdiffstats
path: root/source3/include/smb.h
Commit message (Collapse)AuthorAgeFilesLines
* s3:smb: include "smbXsrv.h" before "vfs.h"Michael Adam2012-07-031-0/+6
| | | | | | 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 smb1Stefan Metzmacher2012-06-251-1/+0
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* 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: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:include: change current_user->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: move struct smb_request to vfs.hStefan Metzmacher2012-06-061-61/+0
| | | | 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: 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-061-10/+0
| | | | metze
* s3:include: move struct smb_file_time to vfs.hStefan Metzmacher2012-06-061-8/+0
| | | | metze
* s3:include: move struct connection_struct (and sub structs) to vfs.hStefan Metzmacher2012-06-061-94/+1
| | | | metze
* s3:include: move struct stream_struct to vfs.hStefan Metzmacher2012-06-061-10/+0
| | | | metze
* s3:include: move struct fd_handle/files_struct to vfs.hStefan Metzmacher2012-06-061-82/+0
| | | | metze
* s3:includes: move union unid_t to vfs.hStefan Metzmacher2012-06-061-5/+0
| | | | 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: 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-061-4/+0
| | | | metze
* s3:smbd: make typedef write_cache private to fileio.cStefan Metzmacher2012-06-061-9/+1
| | | | metze
* s3:lib: split things into a conn_tdb.hStefan Metzmacher2012-06-051-25/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 5 19:28:35 CEST 2012 on sn-devel-104
* s3:smbd: remove unused 'connection_struct->used'Michael Adam2012-05-221-1/+0
| | | | | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 22 16:42:22 CEST 2012 on sn-devel-104
* s3: New notify implementationVolker Lendecke2012-04-171-1/+1
| | | | | | | | | | | | From notify_internal.c: /* * The notify database is split up into two databases: One * relatively static index db and the real notify db with the * volatile entries. */ This change is necessary to make notify scale better in a cluster
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-061-5/+5
| | | | | | | | | Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
* build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bitsAndrew Bartlett2012-04-051-4/+0
|
* s3: Add FILE_NOTIFY_CHANGE_ALL #defineVolker Lendecke2012-03-221-0/+8
|
* s3: Move the notify_ctx to the smbd_server_connectionVolker Lendecke2012-03-211-1/+0
| | | | | | | | | We only need one notify_ctx per smbd. The notify_array can become quite large. It's based on absolute paths, so there's no point in having a copy of the complete array in memory multiple times. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Mar 21 14:26:07 CET 2012 on sn-devel-104
* s3: Remove "conn" from sys_notify_contextVolker Lendecke2012-03-211-1/+0
|
* s3: Add smb_request_doneVolker Lendecke2012-03-101-0/+5
| | | | | | | | | | | This is used to enable async chained command sequences. A synchronous reply_xxx command does not need to take are anymore about and_x chaining. The async commands (pipe r/w at this moment) must do so however. When finished, they must inform the main chain engine that they are finished with a smb_request_done call. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 10 17:14:05 CET 2012 on sn-devel-104
* s3: Remove unused smb_request->doneVolker Lendecke2012-03-101-2/+0
|
* s3: Remove unused smb_request->chain_outbufVolker Lendecke2012-03-101-5/+0
|
* Trivial Comment fix: Supply a missing word in a commentRichard Sharpe2012-03-011-1/+1
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu Mar 1 06:55:44 CET 2012 on sn-devel-104
* Add the implementation of check_reduced_name_with_privilege(). Now to plumb intoJeremy Allison2012-02-291-0/+16
| | | | SMB1 requests.
* s3: smb_request->vwv can be constVolker Lendecke2012-02-231-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Feb 23 12:37:23 CET 2012 on sn-devel-104
* Rename obscure defined constants.Christopher R. Hertel (crh)2012-02-161-2/+2
| | | | | | | | | | | | | | | Replaced the undescriptive SMB_PORT1 and SMB_PORT2 defined constants with the slightly more descriptive names NBT_SMB_PORT and TCP_SMB_PORT. Also replaced several hard-coded references to the well-known port numbers (139 and 445, respectively) as appropriate. Small changes to clarify some comments regarding the two transport types. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Feb 16 08:29:41 CET 2012 on sn-devel-104
* s3: files_struct->mode is only written, remove itVolker Lendecke2012-02-141-1/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 14 19:14:29 CET 2012 on sn-devel-104
* s3: Put an indirection layer into share_mode_lockVolker Lendecke2012-01-121-0/+4
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-auth use gensec directly rather than via auth_generic_stateAndrew Bartlett2012-01-051-1/+1
| | | | | | | | | This is possible because the s3 gensec modules are started as normal gensec modules, so we do not need a wrapper any more. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Happy New Year 2012Stefan Metzmacher2012-01-011-1/+1
| | | | metze
* s3-auth rename auth_ntlmssp_state -> auth_generic_stateAndrew Bartlett2011-12-221-1/+1
| | | | | | | | | This structure handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-includes: remove PRIMARY_* SID_INDEX defines defined elsewhere already.Günther Deschner2011-12-141-13/+0
| | | | | | | | | They really do not belong to smb.h. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 14 21:15:39 CET 2011 on sn-devel-104
* s3: Remove UNUSED_SHARE_MODE_ENTRYVolker Lendecke2011-12-141-2/+2
|