The Samba-Bugzilla – Attachment 708 Details for
Bug 1884
lsa_open_policy ignores access parameter; hardcoded value doesn't work on NetApp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Corrects the two issues described in the bug.
py_lsa-desired-access.patch (text/plain), 678 bytes, created by
Brett Funderburg
on 2004-10-07 10:46:29 UTC
(
hide
)
Description:
Corrects the two issues described in the bug.
Filename:
MIME Type:
Creator:
Brett Funderburg
Created:
2004-10-07 10:46:29 UTC
Size:
678 bytes
patch
obsolete
>--- py_lsa.c.orig Thu Oct 7 12:36:12 2004 >+++ py_lsa.c Thu Oct 7 12:39:08 2004 >@@ -55,7 +55,7 @@ > static char *kwlist[] = { "servername", "creds", "access", NULL }; > char *server, *errstr; > PyObject *creds = NULL, *result = NULL; >- uint32 desired_access = MAXIMUM_ALLOWED_ACCESS; >+ uint32 desired_access = GENERIC_EXECUTE_ACCESS; > struct cli_state *cli = NULL; > NTSTATUS ntstatus; > TALLOC_CTX *mem_ctx = NULL; >@@ -90,7 +90,7 @@ > } > > ntstatus = cli_lsa_open_policy(cli, mem_ctx, True, >- SEC_RIGHTS_MAXIMUM_ALLOWED, &hnd); >+ desired_access, &hnd); > > if (!NT_STATUS_IS_OK(ntstatus)) { > PyErr_SetObject(lsa_ntstatus, py_ntstatus_tuple(ntstatus));
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 1884
: 708