[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-5037-ga7efcb3
Jeremy Allison
jra at samba.org
Thu Mar 5 00:57:48 GMT 2009
The branch, v3-3-test has been updated
via a7efcb3666fe4df778df95449e98970a77369b79 (commit)
from 9809849d976597a0b1ed098ac5f9f353a98ca651 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit a7efcb3666fe4df778df95449e98970a77369b79
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 4 16:56:45 2009 -0800
Fix bug #6154 - zfs does not honor admin users.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/smbd/file_access.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/file_access.c b/source/smbd/file_access.c
index 743e079..fd3c8f7 100644
--- a/source/smbd/file_access.c
+++ b/source/smbd/file_access.c
@@ -34,6 +34,11 @@ bool can_access_file_acl(struct connection_struct *conn,
uint32_t access_granted;
struct security_descriptor *secdesc = NULL;
+ if (conn->server_info->utok.uid == 0 || conn->admin_user) {
+ /* I'm sorry sir, I didn't know you were root... */
+ return true;
+ }
+
status = SMB_VFS_GET_NT_ACL(conn, fname,
(OWNER_SECURITY_INFORMATION |
GROUP_SECURITY_INFORMATION |
--
Samba Shared Repository
More information about the samba-cvs
mailing list