The Samba-Bugzilla – Attachment 7114 Details for
Bug 8371
Winbind can't receive any user/group information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.6
8371.patch (text/plain), 1.07 KB, created by
Volker Lendecke
on 2011-11-17 21:42:07 UTC
(
hide
)
Description:
Patch for 3.6
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2011-11-17 21:42:07 UTC
Size:
1.07 KB
patch
obsolete
>From 48a4ebfa1879ae7435defefe0f255e03a815bb15 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Thu, 17 Nov 2011 22:24:24 +0100 >Subject: [PATCH] s3: Fix bug 8371 > >ndr_set_flag or's in the given flag (ALIGN4). At this point, ndr->flags >contains NOALIGN, which will persist. In ndr_push_DATA_BLOB NOALIGN overrides >everything else, so that the ALIGN4 is not respected. >--- > libcli/netlogon/ndr_netlogon.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/libcli/netlogon/ndr_netlogon.c b/libcli/netlogon/ndr_netlogon.c >index 7d6aa97..99214d5 100644 >--- a/libcli/netlogon/ndr_netlogon.c >+++ b/libcli/netlogon/ndr_netlogon.c >@@ -53,6 +53,7 @@ enum ndr_err_code ndr_push_NETLOGON_SAM_LOGON_REQUEST(struct ndr_push *ndr, int > if (ndr_size_dom_sid0(&r->sid, ndr->flags)) { > struct ndr_push *_ndr_sid; > uint32_t _flags_save_DATA_BLOB = ndr->flags; >+ ndr->flags &= ~LIBNDR_FLAG_NOALIGN; > ndr_set_flags(&ndr->flags, LIBNDR_FLAG_ALIGN4); > NDR_CHECK(ndr_push_DATA_BLOB(ndr, NDR_SCALARS, r->_pad)); > ndr->flags = _flags_save_DATA_BLOB; >-- >1.5.6.5 >
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 8371
:
6775
|
6780
|
6781
|
6782
|
6828
|
6835
|
6836
|
6837
|
6839
|
6840
|
7095
|
7096
|
7097
|
7098
|
7099
|
7102
|
7109
|
7110
|
7114
|
7115
|
7117
|
7118
|
7124