filter an boolean value

Jörg, Schütter joerg_schuetter at heraeus-infosystems.com
Wed Aug 6 15:14:21 CEST 2003


Hello listmembers

I hope this is the right mailing list for my problem.

With python-ldap (1.9.999.pre13-1, Debian sid) I try to search for a
value in my openldap server. Here is the search filter:
'(&(&(objectclass=HeraeusWwwProxy)(uid=%s))(HeraeusItemPaidUp=*))' %
(user,)

What is the right value to replace the wildcard? I only want to find
values where this item is true since HeraeusItemPaidUp is defined as a
boolean value. TRUE, true, True, 1 and chr(1) failed.


attributetype ( 1.3.6.1.4.1.10817.200.25
        NAME 'HeraeusItemPaidUp'
        DESC 'Item has been paid'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
        SINGLE-VALUE )


Regards
  Jörg

-- 
Dipl.-Ing. Jörg Schütter                                           -
Email   Joerg.Schuetter at heraeus-infosystems.com
Systemspezialist Internet, Sicherheit





More information about the python-ldap mailing list