The Samba-Bugzilla – Attachment 3974 Details for
Bug 6160
Office 2007 fails saving files to a Samba mapped drive.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.3.1 and above.
look (text/plain), 1.14 KB, created by
Jeremy Allison
on 2009-03-05 11:02:25 UTC
(
hide
)
Description:
Patch for 3.3.1 and above.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-03-05 11:02:25 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/source/smbd/open.c b/source/smbd/open.c >index d2f85ce..c89a5f6 100644 >--- a/source/smbd/open.c >+++ b/source/smbd/open.c >@@ -2391,6 +2391,14 @@ NTSTATUS open_directory(connection_struct *conn, > return status; > } > >+ /* We need to support SeSecurityPrivilege for this. */ >+ if (access_mask & SEC_RIGHT_SYSTEM_SECURITY) { >+ DEBUG(10, ("open_directory: open on %s " >+ "failed - SEC_RIGHT_SYSTEM_SECURITY denied.\n", >+ fname)); >+ return NT_STATUS_PRIVILEGE_NOT_HELD; >+ } >+ > switch( create_disposition ) { > case FILE_OPEN: > >@@ -2924,6 +2932,20 @@ NTSTATUS create_file_unixpath(connection_struct *conn, > status = NT_STATUS_PRIVILEGE_NOT_HELD; > goto fail; > } >+#else >+ /* We need to support SeSecurityPrivilege for this. */ >+ if (access_mask & SEC_RIGHT_SYSTEM_SECURITY) { >+ status = NT_STATUS_PRIVILEGE_NOT_HELD; >+ goto fail; >+ } >+ /* Don't allow a SACL set from an NTtrans create until we >+ * support SeSecurityPrivilege. */ >+ if (!VALID_STAT(sbuf) && >+ lp_nt_acl_support(SNUM(conn)) && >+ sd && (sd->sacl != NULL)) { >+ status = NT_STATUS_PRIVILEGE_NOT_HELD; >+ goto fail; >+ } > #endif > > if ((conn->fs_capabilities & FILE_NAMED_STREAMS)
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 6160
:
3970
| 3974