Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-06 | s3:smbd: keep 'num_users' and 'users' directly under smbd_server_connection | Stefan Metzmacher | 1 | -6/+1 | |
The plan is to have users_struct as some kind of low level abstraction for a smb1/smb2 session, that can be used by SMB_VFS modules. metze | |||||
2012-03-06 | s3: Move a talloc_strdup out of the main code path | Volker Lendecke | 1 | -15/+31 | |
This is only used for AS_GUEST requests Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Mar 6 14:29:50 CET 2012 on sn-devel-104 | |||||
2012-03-05 | s3: Move the drain_socket on error to reply_write_and_X | Volker Lendecke | 1 | -9/+0 | |
That's the only case where this can happen, so we should not clutter the main code path. | |||||
2012-03-05 | s3: Remove "size" param from switch_message | Volker Lendecke | 1 | -3/+3 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 5 15:13:49 CET 2012 on sn-devel-104 | |||||
2012-03-05 | s3: Remove "size" param from smb_dump | Volker Lendecke | 1 | -4/+5 | |
2012-03-04 | s3-auth: Remove security=share (depricated since 3.6). | Andrew Bartlett | 1 | -6/+1 | |
This patch removes security=share, which Samba implemented by matching the per-share password provided by the client in the Tree Connect with a selection of usernames supplied by the client, the smb.conf or guessed from the environment. The rationale for the removal is that for the bulk of security=share users, we just we need a very simple way to run a 'trust the network' Samba server, where users mark shares as guest ok. This is still supported, and the smb.conf options are documented at https://wiki.samba.org/index.php/Public_Samba_Server At the same time, this closes the door on one of the most arcane areas of Samba authentication. Naturally, full user-name/password authentication remain available in security=user and above. This includes documentation updates for username and only user, which now only do a small amount of what they used to do. Andrew Bartlett -------------- / \ / REST \ / IN \ / PEACE \ / \ | SEC_SHARE | | security=share | | | | | | 5 March | | | | 2012 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______ | |||||
2012-02-29 | Add the implementation of check_reduced_name_with_privilege(). Now to plumb into | Jeremy Allison | 1 | -0/+1 | |
SMB1 requests. | |||||
2012-02-29 | s3: Fix a const warning | Volker Lendecke | 1 | -1/+1 | |
2012-02-27 | s3-param: Align lp_{max,min}protocol with lib/param names | Andrew Bartlett | 1 | -1/+1 | |
This adds an alisas to ensure that both our loadparm systems know all the names. I would like to move to the 'server ..' name as canonical, and this will be raised on the list. Andrew Bartlett | |||||
2012-02-24 | s3: Simplify smb_splice_chain | Volker Lendecke | 1 | -16/+13 | |
No code change, just remove a {} block left over as the else branch from the previous commit Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Feb 24 18:07:48 CET 2012 on sn-devel-104 | |||||
2012-02-24 | s3: Simplify smb_splice_chain | Volker Lendecke | 1 | -12/+2 | |
first_request won't be true anymore, we always splice fully existing records in smbd | |||||
2012-02-24 | s3: Simplify smb_splice_chain | Volker Lendecke | 1 | -13/+2 | |
With the last commit, bytes_padding is not set anymore | |||||
2012-02-24 | s3: Simplify smb_splice_chain | Volker Lendecke | 1 | -7/+1 | |
bytes_alignment used to be used in libsmb, which uses different code now | |||||
2012-02-24 | s3: Simplify smb_splice_chain | Volker Lendecke | 1 | -25/+11 | |
We use it in smbd/process.c only now. This only splices in finished buffers, both callers used the same arguments. Pull that into the routine itself. | |||||
2012-02-24 | s3: Turn some SMB_ASSERTS into proper return | Volker Lendecke | 1 | -2/+6 | |
We deal with the error properly further up | |||||
2012-02-24 | s3: Fix a DEBUG msg | Volker Lendecke | 1 | -1/+1 | |
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-18 | Fix a bunch of "unused variable" warnings. | Jeremy Allison | 1 | -3/+0 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 18 06:22:40 CET 2012 on sn-devel-104 | |||||
2012-02-17 | Replace smbd_server_connection_loop_once() with tevent_loop_once() directly. | Jeremy Allison | 1 | -63/+6 | |
We no longer need to call poll() directly inside smbd ! Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Feb 17 02:49:13 CET 2012 on sn-devel-104 | |||||
2012-02-16 | lib/util: Remove sys_poll as it is no longer needed | Andrew Bartlett | 1 | -1/+1 | |
sys_poll() is only needed if the signal pipe is set up and used, but as no signal handler ever writes to the pipe, this can all be removed. signal based events are now handled via tevent. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-01-05 | s3: Move basic SMB checking to a much earlier point | Volker Lendecke | 1 | -19/+19 | |
2012-01-05 | s3: Add a suicide mode to smbd | Volker Lendecke | 1 | -0/+11 | |
To test our cleanup code paths properly, we need a way to make smbd exit hard without cleaning up | |||||
2012-01-04 | s3: Check for the packet size before accessing it | Volker Lendecke | 1 | -2/+1 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 4 15:16:20 CET 2012 on sn-devel-104 | |||||
2011-12-15 | s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵ | Stefan Metzmacher | 1 | -4/+4 | |
reload_services() metze | |||||
2011-12-15 | s3:smbd: split smb_conf_updated into parent and child versions | Stefan Metzmacher | 1 | -0/+21 | |
metze | |||||
2011-12-15 | s3:smbd: split ID_CACHE_* message handling into parent and child parts | Stefan Metzmacher | 1 | -0/+111 | |
metze | |||||
2011-12-13 | s3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler() | Stefan Metzmacher | 1 | -10/+11 | |
metze | |||||
2011-12-13 | s3:smbd: pass smbd_server_connection to smbd_setup_sig_term_handler() | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2011-12-13 | s3:smbd/oplock: pass smbd_server_connection to init_oplocks() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-12-13 | s3:smbd/open: pass smbd_server_connection as private_data to ↵ | Stefan Metzmacher | 1 | -1/+1 | |
msg_file_was_renamed() metze | |||||
2011-12-13 | s3:smbd: register MSG_SMB_FILE_RENAME after the fork | Stefan Metzmacher | 1 | -0/+2 | |
The parent smbd doesn't need to handle this, as it doesn't have any file handles open. metze | |||||
2011-12-13 | s3:smbd/conn_msg: pass smbd_server_connection as private_data to ↵ | Stefan Metzmacher | 1 | -1/+1 | |
msg_force_tdis() metze | |||||
2011-12-12 | s3: Remove a bunch of calls to procid_self() | Volker Lendecke | 1 | -1/+1 | |
All callers to messaging_[re]init only used procid_self() | |||||
2011-12-12 | s3:smbd/clode: pass smbd_server_connection as private_data to msg_close_file() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-12-12 | s3:smbd/process: avoid using server_event_context() for the forked echo handler | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2011-12-12 | s3:smbd/process: avoid using server_event_context() for ↵ | Stefan Metzmacher | 1 | -10/+10 | |
smbd_deferred_open_timer events metze | |||||
2011-12-12 | s3:smbd: pass down smbd_server_connection via smbd_echo_state | Stefan Metzmacher | 1 | -4/+5 | |
metze | |||||
2011-12-12 | s3:smbd: remove references to the global smbd_server_conn | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-12-12 | s3:smbd: make struct pending_message_list private | Stefan Metzmacher | 1 | -0/+14 | |
metze | |||||
2011-12-12 | s3:smbd: remember the smbd_server_connection on pending_message_list | Stefan Metzmacher | 1 | -4/+6 | |
metze | |||||
2011-12-12 | s3:smbd: call sub_set_socket_ids() in smbd_process() again | Stefan Metzmacher | 1 | -0/+18 | |
This got lost in commit b2511a280aa9449123376fd3cbb495dcd1a87dee. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Dec 12 10:23:44 CET 2011 on sn-devel-104 | |||||
2011-11-10 | s3: Avoid a race with the async echo handler | Volker Lendecke | 1 | -33/+28 | |
We can not read from the echo handler socket when we have the main socket locked. This leads to the echo responder to lock up sitting in the fcntl lock while the parent wants to read the remainder of a large packet. | |||||
2011-11-04 | s3:smbd increase a debug level | Christian Ambach | 1 | -5/+6 | |
logging disconnected clients with level 1 swamps the logs | |||||
2011-09-14 | s3:smbd: echo FLAGS2_SMB_SECURITY_SIGNATURES* and the signature field in the ↵ | Stefan Metzmacher | 1 | -3/+9 | |
reply This matches what windows is doing. metze | |||||
2011-09-13 | s3: Remove a reference to smbd_server_conn | Volker Lendecke | 1 | -2/+3 | |
2011-08-25 | s3: Pass smbd_server_connection to srv_encrypt_buffer | Volker Lendecke | 1 | -1/+1 | |
2011-08-25 | s3: Pass smbd_server_connection to srv_decrypt_buffer | Volker Lendecke | 1 | -1/+1 | |
2011-08-25 | s3: Pass smbd_server_connection to srv_free_enc_buffer | Volker Lendecke | 1 | -2/+2 | |
2011-08-25 | s3: Pass smbd_server_connection to is_encrypted_packet | Volker Lendecke | 1 | -2/+2 | |
2011-08-25 | s3: Pass sconn to valid_smb_header | Volker Lendecke | 1 | -4/+5 | |