modifyTimeStamp code

Michael Ströder michael at stroeder.com
Wed Aug 27 17:14:43 CEST 2003


Michael Engelhart wrote:
> I need to retrieve all records with a filter such as:
> (modifyTimeStamp>=20030826093828Z)
> 
> OpenLDAP doesn't support this for some reason or at least it doesn't 
> work correctly (in my test it returns all the entries)

Which version of OpenLDAP? This works for me with OpenLDAP server 2.1.22 
which has generalizedTimeOrderingMatch implemented. Check subschema subentry 
for existence of that matching rule.

> I'm wondering if there is any workaround using Python-LDAP to solve this.

Not for high number of entries.

Ciao, Michael.



More information about the python-ldap mailing list