summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2012-04-12Remove cancel_aio_by_fsp(). It can never work and could lead to memory ↵Jeremy Allison1-1/+0
corruption as outstanding IO's complete. Also we never have any aio's on a call to close_normal_file() with close_type ERROR_CLOSE.
2012-04-11s3:smbd add seperate function to initialize kernel oplocksChristian Ambach1-0/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-09s3: Move the aio signal init to the vfs moduleVolker Lendecke1-0/+1
On platforms that don't have an RT signal space, signal initialization fails. aio_fork and aio_pthread don't need the signal, so this would block them from running as well.
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett1-15/+15
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-04First part of fix for bug 8837 - smbd crashes when deleting directory and ↵Jeremy Allison1-1/+1
veto files are enabled. Add some const to the sec_ctx code.
2012-03-26s3: Pass filters explicitly through vfs notify watchVolker Lendecke1-1/+2
This removes a dependency on "struct notify_entry" and makes the nature of the API more explicit. We depend upon the VFS module to mask out elements from e->filter and e->subdir_filter that it took over to handle. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104
2012-03-23s3: Remove the sys_notify dependency from notify_internalVolker Lendecke1-8/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 23 12:12:51 CET 2012 on sn-devel-104
2012-03-22s3:vfs_gpfs: Export disk_norm functionChristof Schmitt1-0/+1
vfs modules implementing the disk_free callback need access to the function disk_norm for normalizing the data if the parameter small query is true.
2012-03-21s3: Remove "conn" param from notify_init()Volker Lendecke1-2/+1
2012-03-21s3: Remove "conn" param from sys_notify_context_createVolker Lendecke1-2/+1
2012-03-21s3: Pass "conn" to sys_notify_watch()Volker Lendecke1-0/+1
2012-03-21s3: Pass "conn" to notify_add()Volker Lendecke1-1/+2
2012-03-21s3: Pass "path" through vfs_notify_watchVolker Lendecke1-0/+2
2012-03-15s3: Remove the separate server_id arg to notify_initVolker Lendecke1-1/+1
The server_id is tied to the messaging_context Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-10s3: Add smb_request_doneVolker Lendecke1-0/+1
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 "req_wct_ofs()"Volker Lendecke1-1/+0
This is fixed up in construct_reply_chain
2012-03-10s3: Remove chain_replyVolker Lendecke1-1/+0
<insert your favourite tombstone ascii art here>
2012-03-10s3: Add a new set of andx chain handling routinesVolker Lendecke1-0/+12
This is in preparation of getting rid of chain_reply.
2012-03-07s3-smbd make change_to_user_by_session staticAndrew Bartlett1-2/+0
2012-03-04s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett1-9/+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-03-01Add open_dir_with_privilege() to ensure we're opening the correct directory ↵Jeremy Allison1-1/+3
when doing backup requests. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 1 03:50:40 CET 2012 on sn-devel-104
2012-02-29Add accessor functions to set a bool "priv" on a directory handle. Not yet ↵Jeremy Allison1-0/+2
used, but will be part of FLAG_TRANS2_FIND_BACKUP_INTENT code.
2012-02-29Add the implementation of check_reduced_name_with_privilege(). Now to plumb intoJeremy Allison1-2/+1
SMB1 requests.
2012-02-29Add check_reduced_name_with_privilege(), filename_convert_with_privilege() ↵Jeremy Allison1-0/+11
(currently unimplemented) in order to prepare for adding SeBackup/SeRestore code to the main fileserver. Not yet plumbed into the main SMB1/SMB2 code.
2012-02-24Make dptr_path() and dptr_wcard() const.Jeremy Allison1-2/+2
2012-01-31s3:smbd: remove unused code from sesssetup.cStefan Metzmacher1-4/+0
metze
2012-01-20s3:smbd/proto.h: remove unused do_map_to_guest() prototypeStefan Metzmacher1-4/+0
metze
2012-01-18Fix bug 8710 - connections.tdb - major leak with SMB2.Jeremy Allison1-2/+4
Ensure the cnum used to claim the connection for SMB2 is the id that will be used for the SMB2 tcon. Based on code from Ira Cooper <ira@wakeful.net>. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 18 23:14:32 CET 2012 on sn-devel-104
2011-12-15s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵Stefan Metzmacher1-1/+2
reload_services() metze
2011-12-15s3:smbd: split ID_CACHE_* message handling into parent and child partsStefan Metzmacher1-4/+0
metze
2011-12-14s3:smbd/oplock: make process_oplock_async_level2_break_message() staticStefan Metzmacher1-5/+0
metze
2011-12-14s3:smbd: remove unused smbd_messaging_context()Stefan Metzmacher1-1/+0
metze
2011-12-13s3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler()Stefan Metzmacher1-2/+1
metze
2011-12-13s3:smbd: pass smbd_server_connection to smbd_setup_sig_term_handler()Stefan Metzmacher1-1/+1
metze
2011-12-13s3:smbd/oplock: pass smbd_server_connection to onefs_init_kernel_oplocks()Stefan Metzmacher1-1/+1
metze
2011-12-13s3:smbd/oplock: pass smbd_server_connection to linux_init_kernel_oplocks()Stefan Metzmacher1-1/+1
metze
2011-12-13s3:smbd/oplock: pass smbd_server_connection to irix_init_kernel_oplocks()Stefan Metzmacher1-1/+1
metze
2011-12-13s3:smbd/oplock: pass smbd_server_connection to init_oplocks()Stefan Metzmacher1-1/+1
metze
2011-12-13s3: Move can_delete_directory to smbd/, remove shimVolker Lendecke1-2/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 13 19:00:37 CET 2011 on sn-devel-104
2011-12-13s3: Move can_set_delete_on_close to smbd/Volker Lendecke1-0/+1
2011-12-13s3:smbd/msdfs: enum_msdfs_links() doesn't need a smbd_server_connection anymoreStefan Metzmacher1-2/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 13 17:26:20 CET 2011 on sn-devel-104
2011-12-13s3:smbd: add connections_snum_used()Stefan Metzmacher1-0/+1
This works similar to conn_snum_used(), but instead of looking at the current connection only, it looks at all active connections in "connections.tdb". metze
2011-11-16Final part of patchset to fix bug #8556 - ACL permissions ignored when ↵Jeremy Allison1-0/+4
SMBsetatr is requested. This now plumbs access checks through all setattr calls. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 04:20:04 CET 2011 on sn-devel-104
2011-11-15s3:smbd/aio: add cancel_smb2_aio()Stefan Metzmacher1-0/+1
metze
2011-11-04Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!).Jeremy Allison1-6/+0
2011-11-04Add const to the smb_filename argument of smbd_check_access_rights().Jeremy Allison1-2/+2
2011-11-04Expose smbd_check_access_rights() to other modules.Jeremy Allison1-0/+3
2011-11-04smb1_file_se_access_check() is now static to smbd/open.cJeremy Allison1-5/+0
2011-11-04Revert "Change function signature of check_parent_access() to take char * ↵Jeremy Allison1-4/+0
instead of struct smb_filename." This reverts commit a11c0a41a35aa2b1c14333552045a65e3e50df1e. Not needed.
2011-11-01Change function signature of check_parent_access() to take char * instead of ↵Jeremy Allison1-0/+4
struct smb_filename. Expose it so it can be called from directory code.