Avatar of Claudio Pisciottano
Claudio Pisciottano
Flag for Italy

asked on 

LDAP find expired users

Hi all,
I'm working on a Captive Portal server and I should find via shell all expired users and delete them.
I try with ldapsearch -x shadowExpire=<DateConvertedInEpoch>
example expire date 20/09/2016:
ldapsearch -x shadowExpire=17064
it's fine working for that absolute date, but how can I do if I should search all users expired until 20/09/2016?
Thanks a lot
LinuxDatabases

Avatar of undefined
Last Comment
netcmh

8/22/2022 - Mon