authentication according to nas ip adress

Stefan Winter stefan.winter at restena.lu
Tue Feb 6 13:23:11 CET 2007


Am Dienstag, 6. Februar 2007 11:17:41 schrieb Marc Boisis-Delavaud:
> Hello
>
> How can I do this with freeradius:
>
> If auth request come from NAS1 use ldap1
> if auth request come from NAS2 use ldap2

in the users file, do

DEFAULT	Client-IP-Address == NAS1, Autz-Type := ldap1

DEFAULT	Client-IP-Address == NAS2, Autz-Type := ldap2

Possibly also Auth-Type:=..., depending on which parts of the ldap stuff you 
want to split up.

Then create two ldap instances, ldap1 and ldap2 that do the stuff you want 
them to.

Stefan

-- 
Stefan WINTER

Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche
Ingenieur Forschung & Entwicklung

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
E-Mail: stefan.winter at restena.lu     Tel.:     +352 424409-1
http://www.restena.lu                Fax:      +352 422473
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070206/7a71bd21/attachment.pgp>


More information about the Freeradius-Users mailing list