The Samba-Bugzilla – Attachment 5189 Details for
Bug 7036
net rpc getsid fails in hardened windows environments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.4.5.
0001-Fix-bug-7036-net-rpc-getsid-fails-in-hardened-win.patch (text/plain), 1.21 KB, created by
Jeremy Allison
on 2010-01-14 17:43:15 UTC
(
hide
)
Description:
git-am fix for 3.4.5.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-01-14 17:43:15 UTC
Size:
1.21 KB
patch
obsolete
>From adf555a0ee81b6003083f7c58bebb001930c4a7a Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Thu, 14 Jan 2010 15:39:30 -0800 >Subject: [PATCH] Fix bug #7036 - net rpc getsid fails in hardened windows environments. > >Fix suggested by Dave.Daugherty@Centrify.com. >(cherry picked from commit 6653cc43233381a941cdd85550f04b087fe880ff) >--- > source3/utils/net_rpc.c | 8 +++++++- > 1 files changed, 7 insertions(+), 1 deletions(-) > >diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c >index 59dbf9f..75726b0 100644 >--- a/source3/utils/net_rpc.c >+++ b/source3/utils/net_rpc.c >@@ -586,6 +586,12 @@ static NTSTATUS rpc_getsid_internals(struct net_context *c, > > int net_rpc_getsid(struct net_context *c, int argc, const char **argv) > { >+ int conn_flags = NET_FLAGS_PDC; >+ >+ if (!c->opt_user_specified) { >+ conn_flags |= NET_FLAGS_ANONYMOUS; >+ } >+ > if (c->display_usage) { > d_printf("Usage:\n" > "net rpc getsid\n" >@@ -594,7 +600,7 @@ int net_rpc_getsid(struct net_context *c, int argc, const char **argv) > } > > return run_rpc_command(c, NULL, &ndr_table_samr.syntax_id, >- NET_FLAGS_ANONYMOUS | NET_FLAGS_PDC, >+ conn_flags, > rpc_getsid_internals, > argc, argv); > } >-- >1.5.4.3 >
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 7036
:
5187
|
5188
| 5189 |
5190