Create date from system in ldap module

Bogdan Siara bsiara.cgi at gmail.com
Thu Mar 13 21:38:16 CET 2014


Hello,

I use freeradius with ldap for eap-peap in my network. In ldap module I
check user by means of:
filter = "(&(uid=%{User-Name})(o=COMPANY))"

I would like to add one more parameter to check attribute pwdchangedtime,
for example:
filter = "(&(uid=%{User-Name})(o=COMPANY)(pwdchangedtime>`date --date="90
day ago" "+%Y%m%d%H%M%S"T`))"

How to realize this trick?

Regards
BS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/mailman/private/freeradius-users/attachments/20140313/24e4096e/attachment.html>


More information about the Freeradius-Users mailing list