The Samba-Bugzilla – Attachment 18496 Details for
Bug 15752
winexe no longer works with samba 4.21
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for v4-21-test
winexe-4.21.patch (text/plain), 1.53 KB, created by
Pavel Filipenský
on 2024-11-14 05:44:07 UTC
(
hide
)
Description:
patch for v4-21-test
Filename:
MIME Type:
Creator:
Pavel Filipenský
Created:
2024-11-14 05:44:07 UTC
Size:
1.53 KB
patch
obsolete
>From 4ab5618c1129daefe9af4e862e92027120bdf433 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= <pfilipensky@samba.org> >Date: Wed, 13 Nov 2024 09:49:47 +0100 >Subject: [PATCH 1/1] examples:winexe: Initialize Trustee.ptstrName at the > right time >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This is a regression of a39cb60 examples:winexe: Fully initialize EXPLICIT_ACCESS > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=15752 > >Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> >Reviewed-by: Andreas Schneider <asn@samba.org> > >Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org> >Autobuild-Date(master): Wed Nov 13 15:47:40 UTC 2024 on atb-devel-224 > >(cherry picked from commit 50f3273e8283c9dabeca3c899b90ad831657b12a) >--- > examples/winexe/winexesvc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/examples/winexe/winexesvc.c b/examples/winexe/winexesvc.c >index f993c9a9c69..ca270a80444 100644 >--- a/examples/winexe/winexesvc.c >+++ b/examples/winexe/winexesvc.c >@@ -68,7 +68,6 @@ static int CreatePipesSA() > .Trustee = { > .TrusteeForm = TRUSTEE_IS_SID, > .TrusteeType = TRUSTEE_IS_GROUP, >- .ptstrName = (LPTSTR)pAdminSID, > }, > }; > SID_IDENTIFIER_AUTHORITY SIDAuthNT = {SECURITY_NT_AUTHORITY}; >@@ -86,6 +85,8 @@ static int CreatePipesSA() > return 0; > } > >+ ea.Trustee.ptstrName = (LPTSTR)pAdminSID; >+ > /* Create a new ACL that contains the new ACEs */ > dwRes = SetEntriesInAcl(1, &ea, NULL, &pACL); > if (ERROR_SUCCESS != dwRes) { >-- >2.46.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
Flags:
asn
:
review+
Actions:
View
Attachments on
bug 15752
: 18496