Create date from system in ldap module

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


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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list