summaryrefslogtreecommitdiffstats
path: root/source3/smbd/proto.h
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Add const to the smb_filename argument of smbd_check_access_rights().Jeremy Allison2011-11-041-2/+2
|
* Expose smbd_check_access_rights() to other modules.Jeremy Allison2011-11-041-0/+3
|
* smb1_file_se_access_check() is now static to smbd/open.cJeremy Allison2011-11-041-5/+0
|
* Revert "Change function signature of check_parent_access() to take char * ↵Jeremy Allison2011-11-041-4/+0
| | | | | | | | instead of struct smb_filename." This reverts commit a11c0a41a35aa2b1c14333552045a65e3e50df1e. Not needed.
* Change function signature of check_parent_access() to take char * instead of ↵Jeremy Allison2011-11-011-0/+4
| | | | | | struct smb_filename. Expose it so it can be called from directory code.
* Second part of fix for bug #8541 - readlink() on Linux clients fails if the ↵Jeremy Allison2011-10-221-0/+1
| | | | | | | symlink target is outside of the share. The statcache has to do lstat instead of stat when returning cached posix pathnames.
* Fix bug #8541 - readlink() on Linux clients fails if the symlink target is ↵Jeremy Allison2011-10-221-0/+1
| | | | | | | | | | outside of the share. The key is to only allow the lookup to succeed if it's a UNIX level lookup or readlink, but disallow all other operations. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 22 01:37:41 CEST 2011 on sn-devel-104
* First part of fix for bug #8419 - Make VFS op "streaminfo" stackable.Frank Lahm2011-10-171-0/+6
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Oct 17 21:39:32 CEST 2011 on sn-devel-104
* s3: remove some dead prototypes.Günther Deschner2011-10-141-2/+0
| | | | Guenther
* s3:smbcontrol: let smbd pass the idmap msg to its children for convenienceGregor Beck2011-10-121-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: factor out messaging_send_to_children()Gregor Beck2011-10-121-0/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Remove the smbd_server_conn ref from create_junctionVolker Lendecke2011-09-261-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 26 16:33:30 CEST 2011 on sn-devel-104
* s3: Remove the smbd_server_conn ref from get_referred_pathVolker Lendecke2011-09-261-0/+1
|