Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-15 | s3:smbd: change FNUM_FIELD_INVALID from -1 to 0 | Michael Adam | 1 | -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-15 | s3:include: define FNUM_FIELD_INVALID - the invalid value for the fnum | Michael Adam | 1 | -0/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:smb: change the value of TID_FIELD_INVALID from -1 to 0 | Michael Adam | 1 | -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-06 | s3:smb: introduce a name TID_FIELD_INVALID for the invalid value for a cnum/tid | Michael Adam | 1 | -0/+1 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:connections: add a CNUM_OFFSET for mapping between cnum and the bitmap index | Michael Adam | 1 | -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-06 | s3:smb.h: fix a comment typo | Michael Adam | 1 | -1/+1 | |
2012-06-06 | s3:include: change current_user->vuid to uint64_t | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:include: move struct smb_request to vfs.h | Stefan Metzmacher | 1 | -61/+0 | |
metze | |||||
2012-06-06 | s3:smbd: move struct user_struct to globals.h | Stefan Metzmacher | 1 | -13/+0 | |
metze | |||||
2012-06-06 | s3:include: remove typedef user_struct | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: move forward declaration of struct aio_extra to smbd.h | Stefan Metzmacher | 1 | -3/+0 | |
metze | |||||
2012-06-06 | s3:include: remove unused forward declaration of deferred_open_record in smb.h | Stefan Metzmacher | 1 | -3/+0 | |
metze | |||||
2012-06-06 | s3:smbd: move UCF_ defines to smbd.h | Stefan Metzmacher | 1 | -9/+0 | |
metze | |||||
2012-06-06 | s3:include: move struct smb_filename to vfs.h | Stefan Metzmacher | 1 | -10/+0 | |
metze | |||||
2012-06-06 | s3:include: move struct smb_file_time to vfs.h | Stefan Metzmacher | 1 | -8/+0 | |
metze | |||||
2012-06-06 | s3:include: move struct connection_struct (and sub structs) to vfs.h | Stefan Metzmacher | 1 | -94/+1 | |
metze | |||||
2012-06-06 | s3:include: move struct stream_struct to vfs.h | Stefan Metzmacher | 1 | -10/+0 | |
metze | |||||
2012-06-06 | s3:include: move struct fd_handle/files_struct to vfs.h | Stefan Metzmacher | 1 | -82/+0 | |
metze | |||||
2012-06-06 | s3:includes: move union unid_t to vfs.h | Stefan Metzmacher | 1 | -5/+0 | |
metze | |||||
2012-06-06 | s3:smbd: move struct trans_state to smbd.h | Stefan Metzmacher | 1 | -30/+0 | |
metze | |||||
2012-06-06 | s3:smbd: move struct privilege_paths to smbd.h | Stefan Metzmacher | 1 | -9/+0 | |
metze | |||||
2012-06-06 | s3:smbd: make struct notify_change_buf private to notify.c | Stefan Metzmacher | 1 | -20/+0 | |
metze | |||||
2012-06-06 | s3:printing: make struct print_file_data private to printspoolss.c | Stefan Metzmacher | 1 | -9/+0 | |
metze | |||||
2012-06-06 | s3:smbd: make struct vfs_fsp_data private to vfs.c | Stefan Metzmacher | 1 | -10/+0 | |
metze | |||||
2012-06-06 | s3:includes: move struct share_mode_lock to locking.h | Stefan Metzmacher | 1 | -4/+0 | |
metze | |||||
2012-06-06 | s3:smbd: make typedef write_cache private to fileio.c | Stefan Metzmacher | 1 | -9/+1 | |
metze | |||||
2012-06-05 | s3:lib: split things into a conn_tdb.h | Stefan Metzmacher | 1 | -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-22 | s3:smbd: remove unused 'connection_struct->used' | Michael Adam | 1 | -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-17 | s3: New notify implementation | Volker Lendecke | 1 | -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-06 | build: Remove SMB_OFF_T, replace with off_t | Andrew Bartlett | 1 | -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-05 | build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bits | Andrew Bartlett | 1 | -4/+0 | |
2012-03-22 | s3: Add FILE_NOTIFY_CHANGE_ALL #define | Volker Lendecke | 1 | -0/+8 | |
2012-03-21 | s3: Move the notify_ctx to the smbd_server_connection | Volker Lendecke | 1 | -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-21 | s3: Remove "conn" from sys_notify_context | Volker Lendecke | 1 | -1/+0 | |
2012-03-10 | s3: Add smb_request_done | Volker Lendecke | 1 | -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-10 | s3: Remove unused smb_request->done | Volker Lendecke | 1 | -2/+0 | |
2012-03-10 | s3: Remove unused smb_request->chain_outbuf | Volker Lendecke | 1 | -5/+0 | |
2012-03-01 | Trivial Comment fix: Supply a missing word in a comment | Richard Sharpe | 1 | -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-29 | Add the implementation of check_reduced_name_with_privilege(). Now to plumb into | Jeremy Allison | 1 | -0/+16 | |
SMB1 requests. | |||||
2012-02-23 | s3: smb_request->vwv can be const | Volker Lendecke | 1 | -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-16 | Rename 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-14 | s3: files_struct->mode is only written, remove it | Volker Lendecke | 1 | -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-12 | s3: Put an indirection layer into share_mode_lock | Volker Lendecke | 1 | -0/+4 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-01-05 | s3-auth use gensec directly rather than via auth_generic_state | Andrew Bartlett | 1 | -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-01 | s3: Happy New Year 2012 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-12-22 | s3-auth rename auth_ntlmssp_state -> auth_generic_state | Andrew Bartlett | 1 | -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-14 | s3-includes: remove PRIMARY_* SID_INDEX defines defined elsewhere already. | Günther Deschner | 1 | -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-14 | s3: Remove UNUSED_SHARE_MODE_ENTRY | Volker Lendecke | 1 | -2/+2 | |
2011-12-14 | s3:smbd/server: maintain the list of child processes under smbd_parent_context | Stefan Metzmacher | 1 | -6/+0 | |
metze | |||||
2011-12-12 | s3:smbd: make struct pending_message_list private | Stefan Metzmacher | 1 | -14/+0 | |
metze |