summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
AgeCommit message (Collapse)AuthorFilesLines
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.
2011-10-22Second part of fix for bug #8541 - readlink() on Linux clients fails if the ↵Jeremy Allison1-0/+1
symlink target is outside of the share. The statcache has to do lstat instead of stat when returning cached posix pathnames.
2011-10-22Fix bug #8541 - readlink() on Linux clients fails if the symlink target is ↵Jeremy Allison1-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
2011-10-17First part of fix for bug #8419 - Make VFS op "streaminfo" stackable.Frank Lahm1-0/+6
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Oct 17 21:39:32 CEST 2011 on sn-devel-104
2011-10-14s3: remove some dead prototypes.Günther Deschner1-2/+0
Guenther
2011-10-12s3:smbcontrol: let smbd pass the idmap msg to its children for convenienceGregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3: factor out messaging_send_to_children()Gregor Beck1-0/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-09-26s3: Remove the smbd_server_conn ref from create_junctionVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 26 16:33:30 CEST 2011 on sn-devel-104
2011-09-26s3: Remove the smbd_server_conn ref from get_referred_pathVolker Lendecke1-0/+1
2011-09-26s3: Remove the smbd_server_conn ref from create_conn_structVolker Lendecke1-0/+1
2011-09-14s3:smbd: make use of better SMB signing negotiationStefan Metzmacher1-1/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 14 09:41:02 CEST 2011 on sn-devel-104
2011-09-05s3-smbd: Rename reload_printers() and add documentation.Andreas Schneider1-2/+2
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 5 17:59:47 CEST 2011 on sn-devel-104
2011-08-25s3: Pass smbd_server_connection to (unused) server_encryption_shutdownVolker Lendecke1-1/+1
2011-08-25s3: Pass smbd_server_connection to srv_encrypt_bufferVolker Lendecke1-1/+2
2011-08-25s3: Pass smbd_server_connection to srv_decrypt_bufferVolker Lendecke1-2/+1
2011-08-25s3: Pass smbd_server_connection to srv_free_enc_bufferVolker Lendecke1-1/+1
2011-08-25s3: Pass smbd_server_connection to is_encrypted_packetVolker Lendecke1-1/+2
2011-08-21s3-id_cache: Use better names for id cache management opsAndreas Schneider1-1/+1
The IDMAP term is normally associated with Winbind's idmap stuff. These functions deal with id caching not id mapping. Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21s3-id_cache: Move id caches mgmt out of smbdAndreas Schneider1-1/+1
We must leave the MSG_IDMAP_KILL operation in SMBD as it uses smbd specific internal globals and makes sense only in the context of a smbd daemon. The rest is moved under lib/ as we need to deal with id cache cleanups in other daemons too (like lsasd). Signed-off-by: Simo Sorce <idra@samba.org>