The Samba-Bugzilla – Attachment 7865 Details for
Bug 9147
winbind can't fetch user or group info from AD via LDAP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixed test patch :-)
look (text/plain), 838 bytes, created by
Jeremy Allison
on 2012-09-08 00:25:54 UTC
(
hide
)
Description:
Fixed test patch :-)
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-09-08 00:25:54 UTC
Size:
838 bytes
patch
obsolete
>diff --git a/source3/lib/ldb_compat.c b/source3/lib/ldb_compat.c >index 36a29e6..34e37e7 100644 >--- a/source3/lib/ldb_compat.c >+++ b/source3/lib/ldb_compat.c >@@ -99,7 +99,8 @@ char *ldb_binary_encode(void *mem_ctx, struct ldb_val val) > unsigned char *buf = val.data; > > for (i=0;i<val.length;i++) { >- if (!isprint(buf[i]) || strchr(" *()\\&|!\"", buf[i])) { >+ unsigned int cval = buf[i]; >+ if (cval < 0x20 || cval > 0x7E || strchr(" *()\\&|!\"", buf[i])) { > len += 2; > } > } >@@ -108,7 +109,8 @@ char *ldb_binary_encode(void *mem_ctx, struct ldb_val val) > > len = 0; > for (i=0;i<val.length;i++) { >- if (!isprint(buf[i]) || strchr(" *()\\&|!\"", buf[i])) { >+ unsigned int cval = buf[i]; >+ if (cval < 0x20 || cval > 0x7E || strchr(" *()\\&|!\"", buf[i])) { > snprintf(ret+len, 4, "\\%02X", buf[i]); > len += 3; > } else {
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 9147
:
7864
|
7865
|
7866
|
7874
|
7876
|
7879
|
7880
|
7881
|
7882
|
7883
|
7884
|
7885