[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: search not commutative on |
After verifying that the behavior is exhibited in the latest
release of OpenLDAP Software, you should file a bug report
using the Issue Tracking System <http://www.openldap.org/its/>.
Be sure to provide enough detail so that a developer can easily
reproduce the problem.
Kurt
At 07:57 AM 10/20/2004, jef peeraer wrote:
>why can't i switch search items in a filter with an or function
>e.g.
>ldapsearch -v '(&(|(gidNumber=15000)(gidNumber=15500))(uid=kdeblonde))'
>ldap_init( <default>, 0 )
>filter pattern: (&(|(gidNumber=15000)(gidNumber=15500))(uid=kdeblonde))
>returning: ALL
>filter is: ((&(|(gidNumber=15000)(gidNumber=15500))(uid=kdeblonde)))
>uid=kdeblonde,ou=dekempen,ou=people,dc=bla,dc=bla
>objectClass=top
>objectClass=person
>objectClass=organizationalPerson
>objectClass=inetOrgPerson
>objectClass=posixAccount
>objectClass=inetLocalMailRecipient
>objectClass=shadowAccount
>objectClass=sambaAccount
>sn=Koen Deblonde
>uidNumber=15501
>gidNumber=15500
>objectClass=top
>...
>1 match
>
>
>but
>ldapsearch -v '(&(|(gidNumber=15500)(gidNumber=15000))(uid=kdeblonde))'
>ldap_init( <default>, 0 )
>filter pattern: (&(|(gidNumber=15500)(gidNumber=15000))(uid=kdeblonde))
>returning: ALL
>filter is: ((&(|(gidNumber=15500)(gidNumber=15000))(uid=kdeblonde)))
>0 matches
>
>
>jef