Roundcube Community Forum

 

ldap filter for accountExpires

Started by jwschow, November 08, 2021, 04:17:57 AM

Previous topic - Next topic

jwschow

Hi all,

In config.inc.php, I use LDAP for addressbook with filter which works fine:

'filter' => '....',

But when I add:

'filter' => '(|(accountExpires=9223372036854775807)(accountExpires=0))',
OR
'filter' => '(accountExpires>=132809471400000000)',  //today

It does not take effect in roundcube.

Actually, I want to exclude the expired account (with expiry date).

BTW, if possible, can roundcube provides today valuable therefore I can write:

'filter' => '(accountExpires>=$today)',

Thanks.