Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-30 | Fix defer_open() fuction in the open code path to cope with a NULL lck ↵ | Jeremy Allison | 1 | -11/+16 | |
parameter. | |||||
2012-06-30 | Add uint64_t mid field to the files_struct. | Jeremy Allison | 1 | -0/+1 | |
Ensure it is initialized so we know what mid created this file. | |||||
2012-06-29 | s3:smbd: make use of smbXsrv_open for smb1/2/3 | Stefan Metzmacher | 9 | -141/+73 | |
This makes sure we generate unique persistent file ids, which are stored in smbXsrv_open_global.tdb. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 29 21:01:11 CEST 2012 on sn-devel-104 | |||||
2012-06-29 | s3:smbd: add smbXsrv_open* infrastructure | Stefan Metzmacher | 3 | -0/+1099 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-29 | s3: fix the logic in bsd_statvfs | Björn Jacke | 1 | -1/+1 | |
2012-06-29 | s3:smb2_server: remove max_charge check in ↵ | Stefan Metzmacher | 1 | -16/+0 | |
smbd_smb2_request_verify_creditcharge() The client can send any credit charge value, it's ok to send more than needed. metze Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-29 | s3: merge bsd_statvfs and darwin_statvfs | Björn Jacke | 1 | -53/+31 | |
2012-06-28 | Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. | Jeremy Allison | 1 | -1/+2 | |
Will allow thread-specific credentials to be added by modifying the central definitions. Deliberately left the setXX[ug]id() call in popt as this is not used in Samba. | |||||
2012-06-29 | s3:smb2_server: make the logic in smbd_smb2_request_verify_creditcharge() ↵ | Stefan Metzmacher | 1 | -11/+23 | |
simpler We just need a max_charge variable to make the algorithm independent of multi_credit support. metze | |||||
2012-06-29 | s3:smb2_server: simplify smbd_smb2_request_verify_creditcharge() a bit. | Stefan Metzmacher | 1 | -6/+1 | |
A credit charge of 0 is really not a special case, it just means the same as 1. metze | |||||
2012-06-29 | s3:smb2_negprot: support SMB2_CAP_LARGE_MTU on everything but port 139 | Stefan Metzmacher | 1 | -5/+8 | |
In future we'll have other transports like RDMA. This makes NBT (tcp port 139) special instead of port 445. metze | |||||
2012-06-29 | s3:smb2_server: grant extra credits for multi-credit requests | Stefan Metzmacher | 1 | -2/+10 | |
metze | |||||
2012-06-29 | s3:smb2_server: implement credit granting similar to windows | Stefan Metzmacher | 2 | -19/+53 | |
This makes it much easier to compare traces. metze | |||||
2012-06-29 | s3:smb2_server: make sure sequence numbers don't wrap at UINT64_MAX | Stefan Metzmacher | 1 | -2/+17 | |
metze | |||||
2012-06-29 | s3:smb2_server: make sure we don't grant more credits than we allow | Stefan Metzmacher | 2 | -35/+92 | |
If the client hasn't consumed the lowest seqnum, but the distance between lowest and highest seqnum has reached max credits. In that case we should stop granting credits. metze | |||||
2012-06-29 | s3:smb2_server: check the credit_charge against the already granted credits | Stefan Metzmacher | 1 | -7/+12 | |
metze | |||||
2012-06-29 | s3:smb2_server: split out a smb2_validate_sequence_number() function | Stefan Metzmacher | 1 | -40/+77 | |
metze | |||||
2012-06-29 | s3:smb2_server: clear sequence window if we got the lowest sequence id | Stefan Metzmacher | 1 | -2/+2 | |
Otherwise we'll never consume sequence id '0'. metze | |||||
2012-06-29 | s3:smb2_server: fix calculation of the next bitmap_offset | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-29 | s3:smb2_server: remove unused and confusing ↵ | Stefan Metzmacher | 1 | -7/+4 | |
DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR metze | |||||
2012-06-29 | s3:smb2_server: call smbd_smb2_request_validate() also in ↵ | Stefan Metzmacher | 1 | -0/+6 | |
smbd_smb2_first_negprot() We need to consume message_id 0, for SMB1 negprot starts. metze | |||||
2012-06-29 | s3:smb2_server: start the connection with one credit granted to the client | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-28 | s3: fine tune and clean up statvfs tests | Björn Jacke | 1 | -2/+2 | |
This should also fix the build on Tru64. Tru64 has a POSIX compliant statvfs() function while most *BSD systems ignore POSIX. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 28 23:07:23 CEST 2012 on sn-devel-104 | |||||
2012-06-28 | s3:smbd: change nt_open_pipe() to uint16_t pnum/fnum | Stefan Metzmacher | 1 | -3/+3 | |
This is SMB1 code... metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 28 14:47:45 CEST 2012 on sn-devel-104 | |||||
2012-06-28 | s3:smb2_create: add usefull DEBUG() message | Stefan Metzmacher | 1 | -0/+3 | |
All calls which take an file handle have the same, so we should also log it, when we create a handle. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 28 12:41:49 CEST 2012 on sn-devel-104 | |||||
2012-06-28 | s3:smbd/files: fsp->fnum is uint64_t not int! | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2012-06-27 | s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers | Andrew Bartlett | 2 | -2/+2 | |
This helps clarify the role of this structure and wrapper function. The purpose here is to provide helper functions to the lib/param loadparm_context that point back at the s3 lp_ functions. This allows a struct loadparm_context to be passed to any point in the code, and always refer to the correct loadparm system. If this has not been set, the variables loaded in the lib/param code will be returned. As requested by Michael Adam. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 27 17:11:16 CEST 2012 on sn-devel-104 | |||||
2012-06-26 | s3: Restore async i/o with the "native" AIO interface | Volker Lendecke | 2 | -4/+1 | |
eff3609 moved the async signal handler initialization to later in the process to enable aio_fork and aio_pthread on platforms without realtime signals. This commit broke the use of the native aio interface. aio_pending_size is initialized to 0, so aio.c will not allow async i/0 at all if modules do not set that variable correctly. Initialize to 100 right from the start. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 26 14:08:22 CEST 2012 on sn-devel-104 | |||||
2012-06-26 | s3:smbXsrv_tcon: pass max_tcons explicitly for smbXsrv_tcon_table_init() | Stefan Metzmacher | 1 | -9/+24 | |
metze | |||||
2012-06-26 | s3:smbXsrv_session: pass max_sessions explicitly for ↵ | Stefan Metzmacher | 1 | -9/+24 | |
smbXsrv_session_table_init() metze | |||||
2012-06-25 | s3:smb2_sesssetup: make use of smb2srv_session_close_previous_send/recv | Stefan Metzmacher | 1 | -0/+66 | |
metze | |||||
2012-06-25 | s3:smbXsrv_session: react on MSG_SMBXSRV_SESSION_CLOSE | Stefan Metzmacher | 1 | -0/+154 | |
metze | |||||
2012-06-25 | s3:smbXsrv_session: add smb2srv_session_close_previous_send/recv | Stefan Metzmacher | 2 | -0/+208 | |
metze | |||||
2012-06-25 | s3:smb2_sesssetup: inline gensec_session_info() call | Stefan Metzmacher | 1 | -25/+15 | |
metze | |||||
2012-06-25 | s3:smb2_sesssetup: make use of gensec_update_send/recv | Stefan Metzmacher | 1 | -10/+35 | |
metze | |||||
2012-06-25 | s3:smb2_sesssetup: inline most of smbd_smb2_session_setup() | Stefan Metzmacher | 1 | -130/+99 | |
metze | |||||
2012-06-25 | s3:smbd/sesssetup: implement dynamic re-authentication and expire session if ↵ | Stefan Metzmacher | 2 | -12/+113 | |
client supports it metze | |||||
2012-06-25 | s3:smb2_sesssetup: implement dynamic re-authentication and expire sessions | Stefan Metzmacher | 2 | -6/+129 | |
metze | |||||
2012-06-25 | s3:smbd: remove now unused invalidate_all_vuids() | Stefan Metzmacher | 2 | -10/+0 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbd: remove now unused conn_close_all() | Michael Adam | 2 | -16/+0 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-25 | s3:smbd: use smbXsrv_session_logoff_all() and smb1srv_tcon_disconnect_all() ↵ | Michael Adam | 1 | -4/+32 | |
in exit_server_common() This removes the use of conn_close_all() and invalidate_all_vuids() Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-25 | s3:smbd: make use of smbXsrv_session for smb1 | Stefan Metzmacher | 6 | -274/+194 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbd: make use of smbXsrv_tcon for smb1 | Stefan Metzmacher | 8 | -168/+182 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 | Stefan Metzmacher | 18 | -274/+179 | |
The removes the protocol specific smbd_smb2_session and smbd_smb2_tcon. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smb2_sesssetup: add support for SMB 2.24/3.00 signing | Stefan Metzmacher | 1 | -0/+29 | |
metze | |||||
2012-06-25 | s3:smb2_sesssetup: make use of the smbXsrv_session infrastructure | Stefan Metzmacher | 4 | -63/+138 | |
We still have smbd_smb2_session as primary structure, but that will went away once we got rid of smbd_smb2_tcon. metze | |||||
2012-06-25 | s3:smbXsrv_session: init and disconnect smbXsrv_tcon for SMB2/3 | Stefan Metzmacher | 1 | -0/+20 | |
metze | |||||
2012-06-25 | s3:smbd: add smbXsrv_tcon infrastructure | Stefan Metzmacher | 3 | -1/+1178 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | sq smbXsrv_session_global_store no connection | Stefan Metzmacher | 1 | -6/+3 | |
2012-06-25 | s3:smbd: add smbXsrv_session infrastructure | Stefan Metzmacher | 3 | -0/+1162 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze |