summaryrefslogtreecommitdiffstats
path: root/source3/smbd/proto.h
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smbd/msdfs: let create_conn_struct() also fake the 'smbd_server_connection'Stefan Metzmacher2012-05-241-6/+7
| | | | metze
* s3:smbd/proto.h: remove unused resolve_dfspath() prototypeStefan Metzmacher2012-05-231-5/+0
| | | | metze
* s3:smbd: add nt_status_np_pipe()Stefan Metzmacher2012-05-231-0/+1
| | | | | | This mapps between NT_STATUS_CONNECTION_* to NT_STATUS_PIPE_* metze
* s3:onefs: remove all onefs related code as it not maintained anymoreStefan Metzmacher2012-05-161-4/+0
| | | | | | | | | | See https://lists.samba.org/archive/samba-technical/2012-May/083631.html for the discussion. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 16 11:23:05 CEST 2012 on sn-devel-104
* s3: New notify implementationVolker Lendecke2012-04-171-8/+19
| | | | | | | | | | | | 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
* Remove cancel_aio_by_fsp(). It can never work and could lead to memory ↵Jeremy Allison2012-04-121-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.
* s3:smbd add seperate function to initialize kernel oplocksChristian Ambach2012-04-111-0/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Move the aio signal init to the vfs moduleVolker Lendecke2012-04-091-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.
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-061-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
* First part of fix for bug 8837 - smbd crashes when deleting directory and ↵Jeremy Allison2012-04-041-1/+1
| | | | | | veto files are enabled. Add some const to the sec_ctx code.
* s3: Pass filters explicitly through vfs notify watchVolker Lendecke2012-03-261-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
* s3: Remove the sys_notify dependency from notify_internalVolker Lendecke2012-03-231-8/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 23 12:12:51 CET 2012 on sn-devel-104
* s3:vfs_gpfs: Export disk_norm functionChristof Schmitt2012-03-221-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.
* s3: Remove "conn" param from notify_init()Volker Lendecke2012-03-211-2/+1
|
* s3: Remove "conn" param from sys_notify_context_createVolker Lendecke2012-03-211-2/+1
|
* s3: Pass "conn" to sys_notify_watch()Volker Lendecke2012-03-211-0/+1
|
* s3: Pass "conn" to notify_add()Volker Lendecke2012-03-211-1/+2
|
* s3: Pass "path" through vfs_notify_watchVolker Lendecke2012-03-211-0/+2
|
* s3: Remove the separate server_id arg to notify_initVolker Lendecke2012-03-151-1/+1
| | | | | | The server_id is tied to the messaging_context Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Add smb_request_doneVolker Lendecke2012-03-101-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
* s3: Remove "req_wct_ofs()"Volker Lendecke2012-03-101-1/+0
| | | | This is fixed up in construct_reply_chain
* s3: Remove chain_replyVolker Lendecke2012-03-101-1/+0
| | | | <insert your favourite tombstone ascii art here>
* s3: Add a new set of andx chain handling routinesVolker Lendecke2012-03-101-0/+12
| | | | This is in preparation of getting rid of chain_reply.
* s3-smbd make change_to_user_by_session staticAndrew Bartlett2012-03-071-2/+0
|
* s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett2012-03-041-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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* Add open_dir_with_privilege() to ensure we're opening the correct directory ↵Jeremy Allison2012-03-011-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
* Add accessor functions to set a bool "priv" on a directory handle. Not yet ↵Jeremy Allison2012-02-291-0/+2
| | | | used, but will be part of FLAG_TRANS2_FIND_BACKUP_INTENT code.
* Add the implementation of check_reduced_name_with_privilege(). Now to plumb intoJeremy Allison2012-02-291-2/+1
| | | | SMB1 requests.
* Add check_reduced_name_with_privilege(), filename_convert_with_privilege() ↵Jeremy Allison2012-02-291-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.
* Make dptr_path() and dptr_wcard() const.Jeremy Allison2012-02-241-2/+2
|
* s3:smbd: remove unused code from sesssetup.cStefan Metzmacher2012-01-311-4/+0
| | | | metze
* s3:smbd/proto.h: remove unused do_map_to_guest() prototypeStefan Metzmacher2012-01-201-4/+0
| | | | metze
* Fix bug 8710 - connections.tdb - major leak with SMB2.Jeremy Allison2012-01-181-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
* s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵Stefan Metzmacher2011-12-151-1/+2
| | | | | | reload_services() metze
* s3:smbd: split ID_CACHE_* message handling into parent and child partsStefan Metzmacher2011-12-151-4/+0
| | | | metze
* s3:smbd/oplock: make process_oplock_async_level2_break_message() staticStefan Metzmacher2011-12-141-5/+0
| | | | metze
* s3:smbd: remove unused smbd_messaging_context()Stefan Metzmacher2011-12-141-1/+0
| | | | metze
* s3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler()Stefan Metzmacher2011-12-131-2/+1
| | | | metze
* s3:smbd: pass smbd_server_connection to smbd_setup_sig_term_handler()Stefan Metzmacher2011-12-131-1/+1
| | | | metze
* s3:smbd/oplock: pass smbd_server_connection to onefs_init_kernel_oplocks()Stefan Metzmacher2011-12-131-1/+1
| | | | metze
* s3:smbd/oplock: pass smbd_server_connection to linux_init_kernel_oplocks()Stefan Metzmacher2011-12-131-1/+1
| | | | metze
* s3:smbd/oplock: pass smbd_server_connection to irix_init_kernel_oplocks()Stefan Metzmacher2011-12-131-1/+1
| | | | metze
* s3:smbd/oplock: pass smbd_server_connection to init_oplocks()Stefan Metzmacher2011-12-131-1/+1
| | | | metze
* s3: Move can_delete_directory to smbd/, remove shimVolker Lendecke2011-12-131-2/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 13 19:00:37 CET 2011 on sn-devel-104
* s3: Move can_set_delete_on_close to smbd/Volker Lendecke2011-12-131-0/+1
|
* s3:smbd/msdfs: enum_msdfs_links() doesn't need a smbd_server_connection anymoreStefan Metzmacher2011-12-131-2/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 13 17:26:20 CET 2011 on sn-devel-104
* s3:smbd: add connections_snum_used()Stefan Metzmacher2011-12-131-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
* Final part of patchset to fix bug #8556 - ACL permissions ignored when ↵Jeremy Allison2011-11-161-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
* s3:smbd/aio: add cancel_smb2_aio()Stefan Metzmacher2011-11-151-0/+1
| | | | metze
* Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!).Jeremy Allison2011-11-041-6/+0
|