Bug 10763 - LDAP search by objectSid with a lowercase 's' returns no results
LDAP search by objectSid with a lowercase 's' returns no results
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
unspecified
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-07 12:46 UTC by Amon Sha
Modified: 2014-08-07 12:48 UTC (History)
0 users

See Also:


Attachments
Patch ldif_comparision_objectSid_isString function to accept lower-case SIDs (443 bytes, patch)
2014-08-07 12:48 UTC, Amon Sha
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amon Sha 2014-08-07 12:46:14 UTC
When searching LDAP with objectSid filter, like

ldapsearch -b 'dc=example,dc=com' objectSid=s-1-5-32

there are no results (should be "cn=Builtin,dc=example,dc=com).

Attached patch fixes the bug.
Comment 1 Amon Sha 2014-08-07 12:48:05 UTC
Created attachment 10183 [details]
Patch ldif_comparision_objectSid_isString function to accept lower-case SIDs