Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-05-17 | s3: Check for serverid_exists in smb_posix_unlink | Volker Lendecke | 1 | -0/+3 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-17 | s3: Check for serverid_exists in open_mode_check | Volker Lendecke | 1 | -0/+5 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-17 | s3: Check for serverid_exists in notify_deferred_opens | Volker Lendecke | 1 | -2/+8 | |
We will remove the check in parse_share_modes soon Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-17 | s3:smb2_sesssetup: make use of nt_status_squash() in ↵ | Stefan Metzmacher | 1 | -1/+1 | |
smbd_smb2_session_setup_recv() metze | |||||
2012-05-17 | s3-smbd: Avoid creating a UID ACL entry for SIDs that are mapped as ↵ | Andrew Bartlett | 1 | -0/+35 | |
ID_TYPE_BOTH The GID ACL entry is what will be mapped in most cases, and so is sufficient. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 17 05:08:44 CEST 2012 on sn-devel-104 | |||||
2012-05-17 | s3-smbd: Consider a group with the same SID as sufficient duplication | Andrew Bartlett | 1 | -0/+7 | |
This code is to ensure that the user does not loose rights when their file ownership is taken away. If the owner (an IDMAP_BOTH SID) appears as a group then a duplicate user is not required. Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-17 | s3-smbd: Handle ID_TYPE_BOTH by mapping to both a group ACL entry and file ↵ | Andrew Bartlett | 1 | -39/+109 | |
ownership This will allow groups, such as domain administrators, to own files while correctly handling the rest of the ACL permissions. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-17 | We need to split things up into a new helper function ↵ | Andrew Bartlett | 1 | -172/+184 | |
add_current_ace_to_acl() in order for there to be more posix ACL elements than NT ACL elements (so a group SID can own a file, but also get the group permissions that will be honoured) Andrew Bartlett Slightly modified by Jeremy to reduce diff size. Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-17 | This covers a case where an ID_TYPE_BOTH mapping creates group permissions, ↵ | Jeremy Allison | 1 | -2/+5 | |
but must own the file. Based on an original patch by Andrew Bartlett. | |||||
2012-05-17 | s3-smbd: Do not merge UID ACE values with GID ACE values for posix ACL | Andrew Bartlett | 1 | -5/+12 | |
This might happen when we get a SID mapped to IDMAP_BOTH. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-16 | s3:onefs: remove all onefs related code as it not maintained anymore | Stefan Metzmacher | 3 | -740/+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 | |||||
2012-05-15 | s3: Fix a likely cut&paste error | Volker Lendecke | 1 | -1/+1 | |
2012-05-15 | s3-auth: Rename to init_system_session_info(). | Andreas Schneider | 1 | -1/+1 | |
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue May 15 13:56:00 CEST 2012 on sn-devel-104 | |||||
2012-05-14 | s3:smb2_close: make the top level code async using | Stefan Metzmacher | 1 | -39/+66 | |
metze | |||||
2012-05-14 | s3:smb2_close: add add smbd_smb2_close_send/recv as wrapper | Stefan Metzmacher | 1 | -0/+99 | |
metze | |||||
2012-05-14 | s3:smb2_close: don't do any marshalling in smbd_smb2_close() let the caller ↵ | Stefan Metzmacher | 1 | -19/+71 | |
to it metze | |||||
2012-05-14 | s3:smb2_tcon: make the top level code async using | Stefan Metzmacher | 1 | -24/+58 | |
metze | |||||
2012-05-14 | s3:smb2_tcon: add smbd_smb2_tree_connect_send/recv as wrapper | Stefan Metzmacher | 1 | -0/+79 | |
metze | |||||
2012-05-14 | s3: Make SMB_QUERY_FILE_UNIX_BASIC's devno work for files | Volker Lendecke | 1 | -2/+9 | |
According to susv3, st_rdev is valid exactly for char and block devices. Normal files have st_dev set. | |||||
2012-05-13 | s3:smb2_sesssetup: make the top level code async using | Stefan Metzmacher | 1 | -30/+62 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun May 13 17:59:39 CEST 2012 on sn-devel-104 | |||||
2012-05-13 | s3:smb2_sesssetup: add smbd_smb2_session_setup_send/recv as wrapper | Stefan Metzmacher | 1 | -0/+105 | |
This just adds smbd_smb2_session_setup_send/recv as wrapper to the sync smbd_smb2_session_setup function. This will allow us to change to top level code to work async, then we can have a 2nd step where we remove the sync smbd_smb2_session_setup function. metze | |||||
2012-05-13 | s3:smb2_sesssetup: pass down in_flags to smbd_smb2_session_setup() | Stefan Metzmacher | 1 | -1/+5 | |
metze | |||||
2012-05-13 | s3:smb2_sesssetup: pass down in_previous_session_id to all layers | Stefan Metzmacher | 1 | -2/+15 | |
metze | |||||
2012-05-12 | s3:smb2_ioctl: implement FSCTL_VALIDATE_NEGOTIATE_INFO | Stefan Metzmacher | 1 | -0/+86 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat May 12 02:50:42 CEST 2012 on sn-devel-104 | |||||
2012-05-12 | s3:smb2_ioctl: implement FSCTL_VALIDATE_NEGOTIATE_INFO_224 | Stefan Metzmacher | 1 | -0/+73 | |
metze | |||||
2012-05-12 | s3:smbd: introduce struct smbXsrv_connection | Stefan Metzmacher | 4 | -7/+122 | |
This will represent a transport connection for SMB 1 or 2 in the server. smbd_server_connection will slowly be moved to the SMB_VFS layer to satisfy the existing modules, but it will hopefully be protocol independend in future. metze | |||||
2012-05-12 | s3:smb2_negprot: setup the protocol at the end of the negprot with a real ↵ | Stefan Metzmacher | 1 | -7/+8 | |
dialect metze | |||||
2012-05-11 | s3:smb2_ioctl: allow functions to disconnect the smb connection | Stefan Metzmacher | 1 | -3/+18 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 11 20:15:37 CEST 2012 on sn-devel-104 | |||||
2012-05-11 | s3:smb2_ioctl: FSCTL_SRV_ENUMERATE_SNAPSHOTS is handles in SMB_VFS_FSCTL() | Stefan Metzmacher | 1 | -125/+0 | |
metze | |||||
2012-05-11 | s3:smb2_ioctl: call SMB_VFS_FSCTL() as fallback for non SMB2 specific functions | Stefan Metzmacher | 1 | -4/+33 | |
metze | |||||
2012-05-09 | s3-smbd: Fix the creation of duplicate SMB_ACL_GROUP entries | Andrew Bartlett | 1 | -2/+2 | |
The issue was a simple copy and paste bug, which casued a duplicate SMB_ACL_GROUP to be added when we already had one. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 9 13:17:29 CEST 2012 on sn-devel-104 | |||||
2012-05-08 | s3:smbd fix some compiler warnings | Christian Ambach | 1 | -2/+2 | |
2012-05-08 | s3-python: Add python bindings for posix ACL layer | Andrew Bartlett | 1 | -0/+203 | |
This will allow us to check that posix ACLs work in the s4 provision, and avoid --use-s3fs if they do not. Andrew Bartlett | |||||
2012-05-06 | s3:smb2_negprot: add support for PROTOCOL_SMB3_00 | Stefan Metzmacher | 1 | -0/+15 | |
metze | |||||
2012-05-05 | s3:smbd: comment the lp_load call in reload_services() | Michael Adam | 1 | -1/+5 | |
2012-05-04 | s3: Remove an unused extern declaration | Volker Lendecke | 1 | -2/+0 | |
2012-05-04 | s3: Remove an unused parameter from check_parent_access() | Volker Lendecke | 1 | -10/+3 | |
2012-05-04 | s3: In mkdir_internal, don't retrieve parent_dir from check_parent_access | Volker Lendecke | 1 | -1/+1 | |
We have already created that ourselves a few lines above | |||||
2012-05-04 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2012-05-02 | s3-smbd: Use security_session_user_level() rather than nt_token_check_sid() | Andrew Bartlett | 1 | -13/+1 | |
This allows the unix.whoami test to pass when configured as part of the AD DC. The struct auth_session_info is slightly different in the AD DC configuration when using auth_samba4. In particular, there is a distinction between Guest and Anonymous logins. Andrew Bartlett | |||||
2012-04-28 | Add an audit file VFS routine so we can handle auditing with SACLs. | Richard Sharpe | 1 | -0/+14 | |
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Apr 28 08:05:00 CEST 2012 on sn-devel-104 | |||||
2012-04-26 | s3: oplock_timeout is a talloc child of fsp | Volker Lendecke | 1 | -3/+0 | |
Jeremy, I know you like it explicit, but I stumbled across this explicit TALLOC_FREE and asked myself about a potentially wrong talloc hierarchy. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 26 23:00:03 CEST 2012 on sn-devel-104 | |||||
2012-04-26 | s3: Remove code TALLOC_FREE already does | Volker Lendecke | 1 | -5/+1 | |
2012-04-24 | s3: Simplify check_reduced_name a bit | Volker Lendecke | 1 | -9/+5 | |
It's pointless to do a talloc_asprintf with a SMB_STRDUP on the result. Use asprintf directly. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 24 18:18:05 CEST 2012 on sn-devel-104 | |||||
2012-04-24 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2012-04-24 | s3: Introduce variable "indyniov" for easier reading | Volker Lendecke | 1 | -8/+10 | |
2012-04-23 | Fix bug #8882 - Broken processing of %U with vfs_full_audit when force user ↵ | Jeremy Allison | 1 | -0/+11 | |
is set. When doing a "force user" we need to remember what the "sanitized_username" was from the original connect. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 23 19:52:19 CEST 2012 on sn-devel-104 | |||||
2012-04-20 | s3:id_cache: do not use the in-memory idmap cache (it is going to be removed) | Michael Adam | 1 | -13/+0 | |
This also removes the ID_CACHE_FLUSH message. | |||||
2012-04-19 | s3: Fix Coverity ID 2747: FORWARD_NULL | Volker Lendecke | 1 | -1/+1 | |
For the notify cleanup process we have a notify context without a messaging entry. We will never call notify_add/remove for this, but the code should protect against this. | |||||
2012-04-19 | s3: Fix Coverity ID 2749: REVERSE_INULL | Volker Lendecke | 1 | -1/+3 | |