The Samba-Bugzilla – Attachment 13335 Details for
Bug 12850
RPC calls failing due to imessaging_init (likely introduced with auth logging)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Untested patch for master
tmp.diff.txt (text/plain), 1.03 KB, created by
Stefan Metzmacher
on 2017-06-30 17:32:25 UTC
(
hide
)
Description:
Untested patch for master
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2017-06-30 17:32:25 UTC
Size:
1.03 KB
patch
obsolete
>From dc8ab63dc532fcfe370e73fee48b78358eb3d655 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Fri, 30 Jun 2017 13:26:17 +0200 >Subject: [PATCH] TODO test s3:rpc_server: wrap make_auth4_context() into > {become,unbecome}_root() > >This need to create a temporary messaging context in order to do >the auth logging. This can only be done as root. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12850 >--- > source3/rpc_server/srv_pipe.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c >index f79fbe2..4534200 100644 >--- a/source3/rpc_server/srv_pipe.c >+++ b/source3/rpc_server/srv_pipe.c >@@ -844,7 +844,9 @@ static bool api_pipe_bind_req(struct pipes_struct *p, > p->auth.auth_level = DCERPC_AUTH_LEVEL_NONE; > p->auth.auth_context_id = 0; > >+ become_root(); > status = make_auth4_context(frame, &auth4_context); >+ unbecome_root(); > if (!NT_STATUS_IS_OK(status)) { > DEBUG(0, ("Unable to make auth context for authz log.\n")); > TALLOC_FREE(frame); >-- >1.9.1 >
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 12850
: 13335 |
13339