The Samba-Bugzilla – Attachment 10183 Details for
Bug 10763
LDAP search by objectSid with a lowercase 's' returns no results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch ldif_comparision_objectSid_isString function to accept lower-case SIDs
ldif_comparision_objectSid_isString-case_insensitive.patch (text/plain), 443 bytes, created by
Amon Sha
on 2014-08-07 12:48:05 UTC
(
hide
)
Description:
Patch ldif_comparision_objectSid_isString function to accept lower-case SIDs
Filename:
MIME Type:
Creator:
Amon Sha
Created:
2014-08-07 12:48:05 UTC
Size:
443 bytes
patch
obsolete
>diff --git a/lib/ldb-samba/ldif_handlers.c b/lib/ldb-samba/ldif_handlers.c >index d9d799c..83f1599 100644 >--- a/lib/ldb-samba/ldif_handlers.c >+++ b/lib/ldb-samba/ldif_handlers.c >@@ -133,7 +133,7 @@ bool ldif_comparision_objectSid_isString(const struct ldb_val *v) > return false; > } > >- if (strncmp("S-", (const char *)v->data, 2) != 0) return false; >+ if (strncasecmp("S-", (const char *)v->data, 2) != 0) return false; > > return true; > }
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 10763
: 10183