The Samba-Bugzilla – Attachment 3973 Details for
Bug 6154
zfs does not honor admin users
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Second part of patch
look (text/plain), 631 bytes, created by
Jeremy Allison
on 2009-03-04 19:17:37 UTC
(
hide
)
Description:
Second part of patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-03-04 19:17:37 UTC
Size:
631 bytes
patch
obsolete
>diff --git a/source/smbd/open.c b/source/smbd/open.c >index 9b51ff0..d2f85ce 100644 >--- a/source/smbd/open.c >+++ b/source/smbd/open.c >@@ -59,6 +59,15 @@ static NTSTATUS check_open_rights(struct connection_struct *conn, > > *access_granted = 0; > >+ if (conn->server_info->utok.uid == 0 || conn->admin_user) { >+ /* I'm sorry sir, I didn't know you were root... */ >+ *access_granted = access_mask; >+ if (access_mask & SEC_FLAG_MAXIMUM_ALLOWED) { >+ *access_granted |= FILE_GENERIC_ALL; >+ } >+ return NT_STATUS_OK; >+ } >+ > status = SMB_VFS_GET_NT_ACL(conn, fname, > (OWNER_SECURITY_INFORMATION | > GROUP_SECURITY_INFORMATION |
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6154
:
3966
|
3967
|
3969
|
3971
|
3972
| 3973 |
3975
|
3976