summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
AgeCommit message (Collapse)AuthorFilesLines
2012-07-03s3:smb: include "smbXsrv.h" before "vfs.h"Michael Adam1-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.
2012-06-25s3:smbd: make use of smbXsrv_tcon for smb1Stefan Metzmacher1-1/+0
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
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-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:include: change current_user->vuid to uint64_tStefan Metzmacher1-1/+1
metze
2012-06-06s3:include: move struct smb_request to vfs.hStefan Metzmacher1-61/+0
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: 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 Metzmacher1-10/+0
metze
2012-06-06s3:include: move struct smb_file_time to vfs.hStefan Metzmacher1-8/+0
metze
2012-06-06s3:include: move struct connection_struct (and sub structs) to vfs.hStefan Metzmacher1-94/+1
metze
2012-06-06s3:include: move struct stream_struct to vfs.hStefan Metzmacher1-10/+0
metze
2012-06-06s3:include: move struct fd_handle/files_struct to vfs.hStefan Metzmacher1-82/+0
metze
2012-06-06s3:includes: move union unid_t to vfs.hStefan Metzmacher1-5/+0
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: 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 Metzmacher1-4/+0
metze
2012-06-06s3:smbd: make typedef write_cache private to fileio.cStefan Metzmacher1-9/+1
metze
2012-06-05s3:lib: split things into a conn_tdb.hStefan Metzmacher1-25/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 5 19:28:35 CEST 2012 on sn-devel-104
2012-05-22s3:smbd: remove unused 'connection_struct->used'Michael Adam1-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
2012-04-17s3: New notify implementationVolker Lendecke1-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
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett1-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
2012-04-05build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bitsAndrew Bartlett1-4/+0
2012-03-22s3: Add FILE_NOTIFY_CHANGE_ALL #defineVolker Lendecke1-0/+8
2012-03-21s3: Move the notify_ctx to the smbd_server_connectionVolker Lendecke1-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
2012-03-21s3: Remove "conn" from sys_notify_contextVolker Lendecke1-1/+0
2012-03-10s3: Add smb_request_doneVolker Lendecke1-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
2012-03-10s3: Remove unused smb_request->doneVolker Lendecke1-2/+0
2012-03-10s3: Remove unused smb_request->chain_outbufVolker Lendecke1-5/+0
2012-03-01Trivial Comment fix: Supply a missing word in a commentRichard Sharpe1-1/+1
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu Mar 1 06:55:44 CET 2012 on sn-devel-104
2012-02-29Add the implementation of check_reduced_name_with_privilege(). Now to plumb intoJeremy Allison1-0/+16
SMB1 requests.
2012-02-23s3: smb_request->vwv can be constVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Feb 23 12:37:23 CET 2012 on sn-devel-104
2012-02-16Rename obscure defined constants.Christopher R. Hertel (crh)1-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
2012-02-14s3: files_struct->mode is only written, remove itVolker Lendecke1-1/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 14 19:14:29 CET 2012 on sn-devel-104
2012-01-12s3: Put an indirection layer into share_mode_lockVolker Lendecke1-0/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-01-05s3-auth use gensec directly rather than via auth_generic_stateAndrew Bartlett1-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>
2012-01-01s3: Happy New Year 2012Stefan Metzmacher1-1/+1
metze
2011-12-22s3-auth rename auth_ntlmssp_state -> auth_generic_stateAndrew Bartlett1-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>
2011-12-14s3-includes: remove PRIMARY_* SID_INDEX defines defined elsewhere already.Günther Deschner1-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
2011-12-14s3: Remove UNUSED_SHARE_MODE_ENTRYVolker Lendecke1-2/+2