News and Announcements > General Discussion

ldap filter for accountExpires

(1/1)

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.




 

Navigation

[0] Message Index

Go to full version