On Mon, 5 Apr 2004, Kostas Zorbadelos wrote: > > > Hello to everyone. > I have the following problem where I work. We have a user, lets say > kzorba that is an ADSL user and has a specific profile (check and > reply attributes). We want to limit the Simultaneous-Use of > the user for this service to 1. We also want for the same user to be > able to use an ISDN 128 backup connection in case his ADSL line has a > problem. I this case our user has a different profile and > Simultaneous-Use 2 (in order to be able to login twice for the 2 isdn > channels). So the question is: how can I lock the user in a way that > when he uses his ADSL connection, not to be able to connect with ISDN > at all (that's easy since Simultaneous-Use is 1 in this case and won't > be allowed to login for anything else) and the opposite (when in as an > ISDN not to be able to use the ADSL). > Any suggestions are highly appreciated.
Since you keep different profiles for each connection (ADSL or ISDN) then you can add a check item for the NAS-Port-Type (Virtual or ISDN) in each one and use rlm_checkval to only allow the corresponding port-type for each profile. > > Thanks in advance > > Kostas > > PS: By the way we have our user database in LDAP but I think that's > irrelevant. > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html