Bug 518514
Summary: | Bitwise Plugin: Bitwise filter doesn't return except the first entry if its multi-valued | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Directory Server | Reporter: | Sankar Ramalingam <sramling> | ||||
Component: | Server - Plugins | Assignee: | Rich Megginson <rmeggins> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 9.0 | CC: | jgalipea, nhosoi, nkinder, vtsuryawanshi | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-06 14:37:38 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 434914, 519216 | ||||||
Attachments: |
|
Description
Sankar Ramalingam
2009-08-20 16:38:05 UTC
Created attachment 362701 [details]
patch
To ssh://git.fedorahosted.org/git/389/ds.git ff7d08d..b5b57df master -> master commit b5b57df80f5a01774f85d174979dc1deea4f5724 Author: Rich Megginson <rmeggins> Date: Fri Sep 25 11:44:22 2009 -0600 Reviewed by: nhosoi (Thanks!) Fix Description: Get the values as a char ** - look through each one until we find one that matches. Platforms tested: RHEL5 x86_64 Flag Day: no Doc impact: no verified - Solaris 9 version: pkginfo -l RHATredhat-dsx-base PKGINST: RHATredhat-dsx-base NAME: Red Hat Directory Server CATEGORY: application ARCH: sparcv9 VERSION: 8.2.0,REV=2010.05.12.04.34.47 BASEDIR: / DESC: Red Hat Directory Server PSTAMP: sun-t1k-02.idm.lab.bos.redhat.com20100512013448 INSTDATE: May 13 2010 10:46 STATUS: completely installed FILES: 285 installed pathnames 25 shared pathnames 36 directories 108 executables 18323 blocks used (approx) ALL Three value searches return user with multi valued attribute. bash-2.05# /usr/lib/sparcv9/mozldap6/ldapsearch -h host.example.com -p 389 -D "cn=Directory Manager" -w Secret -b "dc=example,dc=com" "(testUserAccountControl:1.2.840.113556.1.4.803:=89536)" version: 1 dn: uid=btestuser10,dc=example,dc=com mail: btestuser10 uid: btestuser10 givenName: bit objectClass: top objectClass: testperson objectClass: organizationalPerson objectClass: inetorgperson objectClass: person sn: testuser10 cn: bit testuser10 testUserAccountControl: 89536 testUserAccountControl: 97546 testUserAccountControl: 96579 testUserStatus: TestVerify1 testUserStatus: TestVerify2 testUserStatus: TestVerify3 userPassword: {SSHA}KLt0taK2ZpnnB06Yd2TgG7Llow7sJaIkYicjIg== bash-2.05# /usr/lib/sparcv9/mozldap6/ldapsearch -h host.example.com -p 389 -D "cn=Directory Manager" -w Secret -b "dc=example,dc=com" "(testUserAccountControl:1.2.840.113556.1.4.803:=97546)" version: 1 dn: uid=btestuser10,dc=example,dc=com mail: btestuser10 uid: btestuser10 givenName: bit objectClass: top objectClass: testperson objectClass: organizationalPerson objectClass: inetorgperson objectClass: person sn: testuser10 cn: bit testuser10 testUserAccountControl: 89536 testUserAccountControl: 97546 testUserAccountControl: 96579 testUserStatus: TestVerify1 testUserStatus: TestVerify2 testUserStatus: TestVerify3 userPassword: {SSHA}KLt0taK2ZpnnB06Yd2TgG7Llow7sJaIkYicjIg== bash-2.05# /usr/lib/sparcv9/mozldap6/ldapsearch -h host.example.com -p 389 -D "cn=Directory Manager" -w Secret -b "dc=example,dc=com" "(testUserAccountControl:1.2.840.113556.1.4.803:=96579)" version: 1 dn: uid=btestuser10,dc=example,dc=com mail: btestuser10 uid: btestuser10 givenName: bit objectClass: top objectClass: testperson objectClass: organizationalPerson objectClass: inetorgperson objectClass: person sn: testuser10 cn: bit testuser10 testUserAccountControl: 89536 testUserAccountControl: 97546 testUserAccountControl: 96579 testUserStatus: TestVerify1 testUserStatus: TestVerify2 testUserStatus: TestVerify3 userPassword: {SSHA}KLt0taK2ZpnnB06Yd2TgG7Llow7sJaIkYicjIg== |