filter an boolean value

Jörg, Schütter joerg_schuetter at
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=*))' %

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 (
        NAME 'HeraeusItemPaidUp'
        DESC 'Item has been paid'
        SINGLE-VALUE )


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

More information about the python-ldap mailing list