Create date from system in ldap module

Alan DeKok aland at deployingradius.com
Thu Mar 13 21:51:23 CET 2014


Bogdan Siara wrote:
\\
> 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?

  It's just an LDAP query.  See the LDAP documentation for how to write
LDAP queries.

  Alan DeKok.


More information about the Freeradius-Users mailing list