Authentication based on users and NAS

Thor Spruyt thor.spruyt at telenet.be
Wed Apr 13 00:28:46 CEST 2011


Hi,

If you're going to use LDAP, then just add the Called-Station-Id to your search filter and add one or multiple attributes to match against in your LDAP entries.

Regards,
Thor.


----- Original Message -----
From: "Sergio Belkin" <sebelk at gmail.com>
To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Sent: Tuesday, April 12, 2011 5:46:58 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Authentication based on users and NAS

Hi,

It was easier than I thought, I simply had to add to /etc/raddb/users
something like:

steve Called-Station-Id == "00259c14066e",Cleartext-Password := "password"

Still I had to solve 2 issues:

The first one is that if I want steve to login through more than NAS I
have to add one line like above per NAS. Is a nicer way to do it?

The second one is that I don't know how to do it for Ldap users.

Thanks in advance!
-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list