Hello Simon -

On Tue, 21 Dec 1999, Simon Lindsay wrote:
> We currently do this:
> 
> $user->get_reply->add_attr('Framed-IP-Address', '255.255.255.254');
> 
> In our authentication module after checking if a user is out of time (they 
> get a pooled ip address if out of time).
> 
> We also use the old "users" file to do static ip address assigning for 
> permanent accounts.
> 
> Is it possible to test for an attributes presence before adding it?
> 
> Something Like:
> 
> if !$user->get_reply->is_attr('Framed-IP-Address') {
>      $user->get_reply->add_attr('Framed-IP-Address', '255.255.255.254');
> }
> 

Unfortunately there is no way to do this currently, and we apologise for an
obvious shortcoming. If you would like to make the modifications to support
this (in AttrVal.pm) we would be happy to roll it into the code.

thanks

Hugh

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to