Re: authentication according to nas ip adress



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@restena.lu     Tel.:     +352 424409-1
http://www.restena.lu                Fax:      +352 422473

Attachment: pgpddL6s1PWXb.pgp
Description: PGP signature



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.