Checkrad / Simultaneous-Use clarification please

Craig Campbell craig at ccraft.ca
Wed Sep 9 21:23:52 CEST 2009


I am investigaitng using the Simultaneous-Use feature with freeradius 2.1.6.

We currently have users that log in both with and without realms.

In radutmp we log the stripped username (i.e. no realm component).

Since the radutmp data has no realm  part for the username, how do I get the 
Simultaneous-Use code to check the username without the realm component? 
Currently the realm portion is carried through until the accounting 
processing (for radutmp).

For example,

# radwho -r | grep pebenopi
fred,fred,PPP,S315138101,Wed 11:28,192.168.1.101,201.229.41.119
fred,fred,PPP,S315305457,Wed 20:53,192.168.1.101,66.247.201.44
fred,fred,PPP,S317335857,Wed 10:40,192.168.1.101,201.229.26.67

>From users

fred at comfort Auth-Type := Accept, Simultaneous-Use := 1
        Exec-Program-Wait = "/custome_auth_binary" ,
        Fall-Through = no

If I understand correctly, fred at comfort will pass Sinultaneous-Use because 
radutmp is logging these as just "fred".

Thanks,
-craig 


__________ Information from ESET Smart Security, version of virus signature database 4411 (20090909) __________

The message was checked by ESET Smart Security.

http://www.eset.com






More information about the Freeradius-Users mailing list