[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.


At 07:57 AM 10/20/2004, jef peeraer wrote:
>why can't i switch search items in a filter with an or function 
>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)))
>sn=Koen Deblonde
>1 match
>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