The Samba-Bugzilla – Attachment 4482 Details for
Bug 6583
Samba server ignores FILE_OPEN_FOR_BACKUP_INTENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch to force Linux cifs client to send FILE_OPEN_FOR_BACKUP_INTENT on SMB NTCreateX
add-backup-intent-flag-to-linux-cifs-client-opens.patch (text/x-diff), 628 bytes, created by
Steve French
on 2009-07-29 13:49:24 UTC
(
hide
)
Description:
patch to force Linux cifs client to send FILE_OPEN_FOR_BACKUP_INTENT on SMB NTCreateX
Filename:
MIME Type:
Creator:
Steve French
Created:
2009-07-29 13:49:24 UTC
Size:
628 bytes
patch
obsolete
>diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c >index 1866bc2..a94c6a0 100644 >--- a/fs/cifs/cifssmb.c >+++ b/fs/cifs/cifssmb.c >@@ -1337,7 +1337,7 @@ openRetry: > > pSMB->ShareAccess = cpu_to_le32(FILE_SHARE_ALL); > pSMB->CreateDisposition = cpu_to_le32(openDisposition); >- pSMB->CreateOptions = cpu_to_le32(create_options & CREATE_OPTIONS_MASK); >+ pSMB->CreateOptions = cpu_to_le32(CREATE_OPEN_BACKUP_INTENT | (create_options & CREATE_OPTIONS_MASK)); /* BB FIXME BB */ > /* BB Expirement with various impersonation levels and verify */ > pSMB->ImpersonationLevel = cpu_to_le32(SECURITY_IMPERSONATION); > pSMB->SecurityFlags =
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 6583
:
4481
| 4482 |
4483
|
5428