You could accomplish this in a PostSearchHook. The documentation includes an example for adding a reply item based off a multiplied value, so guessing something like:
PostSearchHook sub { my $shadowExpire = $_[4]->get('shadowExpire'); $_[3]->get_check->add_attr("Expiration", $shadowExpire * 86400); } Robert Fisher Systems Administrator Sitestar Internet Services On 2/4/2014 10:11 AM, Fabio Prina wrote: > Hi All, > > I'm using posixAccount/shadowAccount users in a LDAP and I would like to use > the shadowExpire attribute to check the Expiration ... but the value is > expressed days since the 01/01/1970 and not seconds > > Maybe is a stupid question but is there a way to use this attribute? Like > multiply by 86400 before the check > > Thanks > -- > Fabio > _______________________________________________ > radiator mailing list > radiator@open.com.au > http://www.open.com.au/mailman/listinfo/radiator _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator