The Samba-Bugzilla – Attachment 7588 Details for
Bug 8373
Can't join XP Pro workstations to 3.6.1 DC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
WARNING ! Experimental patch - also to investigate the problem..
ndr-fix (text/plain), 1.46 KB, created by
Jeremy Allison
on 2012-05-24 04:38:43 UTC
(
hide
)
Description:
WARNING ! Experimental patch - also to investigate the problem..
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-05-24 04:38:43 UTC
Size:
1.46 KB
patch
obsolete
>diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c >index 2279d1c..ff5c280 100644 >--- a/librpc/ndr/ndr.c >+++ b/librpc/ndr/ndr.c >@@ -383,6 +383,10 @@ _PUBLIC_ void ndr_set_flags(uint32_t *pflags, uint32_t new_flags) > } > if (new_flags & LIBNDR_ALIGN_FLAGS) { > (*pflags) &= ~LIBNDR_FLAG_REMAINING; >+ (*pflags) &= ~LIBNDR_FLAG_NOALIGN; >+ } >+ if (new_flags & LIBNDR_FLAG_NOALIGN) { >+ (*pflags) &= ~LIBNDR_ALIGN_FLAGS; > } > if (new_flags & LIBNDR_FLAG_NO_RELATIVE_REVERSE) { > (*pflags) &= ~LIBNDR_FLAG_RELATIVE_REVERSE; >diff --git a/librpc/ndr/ndr_basic.c b/librpc/ndr/ndr_basic.c >index 7a4e22a..3565ab6 100644 >--- a/librpc/ndr/ndr_basic.c >+++ b/librpc/ndr/ndr_basic.c >@@ -1253,7 +1253,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_DATA_BLOB(struct ndr_push *ndr, int ndr_flag > { > if (ndr->flags & LIBNDR_FLAG_REMAINING) { > /* nothing to do */ >- } else if (ndr->flags & LIBNDR_ALIGN_FLAGS) { >+ } else if (ndr->flags & (LIBNDR_ALIGN_FLAGS|LIBNDR_FLAG_NOALIGN)) { > if (ndr->flags & LIBNDR_FLAG_NOALIGN) { > blob.length = 0; > } else if (ndr->flags & LIBNDR_FLAG_ALIGN2) { >@@ -1281,7 +1281,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_DATA_BLOB(struct ndr_pull *ndr, int ndr_flag > > if (ndr->flags & LIBNDR_FLAG_REMAINING) { > length = ndr->data_size - ndr->offset; >- } else if (ndr->flags & LIBNDR_ALIGN_FLAGS) { >+ } else if (ndr->flags & (LIBNDR_ALIGN_FLAGS|LIBNDR_FLAG_NOALIGN)) { > if (ndr->flags & LIBNDR_FLAG_NOALIGN) { > length = 0; > } else if (ndr->flags & LIBNDR_FLAG_ALIGN2) {
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 8373
:
6783
|
6784
|
6785
|
6786
|
7232
|
7233
|
7304
|
7305
|
7584
|
7585
|
7588
|
7589
|
7596
|
7599