[Date Prev][Date Next] [Chronological] [Thread] [Top]

Use the current date/timestamp in filters



Hi,

I'm trying to build a ldap query with the current date or the current timestamp (something like myAttributeDate >= now()). All solutions I've found on Internet require to compute the current date in a script and then build the ldap query with the computed date.

Unfortunately, I can't do this because the ldap query will be in a static file: ldap_filter in /etc/saslauthd.conf.

Is it possible with OpenLDAP to use the current date or timestamp in a ldap query without compute it in a script?


Thanks.
--
Laurent Meunier <laurent@deltalima.net>