Having 2 User-Name when using Session Resumption

Alexander Clouter alex at digriz.org.uk
Fri Nov 19 17:38:14 CET 2010


Panagiotis Georgopoulos <panos at comp.lancs.ac.uk> wrote:
>
> Well, just to answer my own question really.. I 've been messing about with
> it all morning, trying to figure out where exactly should I put my code to
> check for duplicate User-Name attributes and how could I implement removing
> only one, but in fact after sending the email to the list I realized that I
> could go to post-auth and remove all User-Name attributes and add one, with
> the following : 
> 
>        update reply { 
>                User-Name !* 0x00
>                User-Name = "%{request:User-Name}"
>        }
>
...or 'User-Name := foobar'

Cheers

-- 
Alexander Clouter
.sigmonster says: There is no royal road to geometry.
                  		-- Euclid




More information about the Freeradius-Users mailing list