SV: SV: SV: Controlling with Auth-Type a client must use
Alan DeKok
aland at deployingradius.com
Mon Jul 26 09:50:11 CEST 2010
Madsen.Jan JMD wrote:
> Hmm okay.
>
> I got 2 clients, client1 and client2
> I want client1 to use my passwd module (kmdov3) to do authorization
> And I want client2 to use the unix module for authorization.
That's clear enough.
> In my users file I have configured the one client I want to ONLY use my passwd module
The "users" file doesn't control the modules in the "authorize"
section. See "man unlang"
> But how to I tell that client1 is going to use my passwd configured authorization ? This was where I thougth I clould use the Auth-Type attribute, in a simelar way I used with client2.
You control that in the "authorize" section.
authorize {
...
if (Client-IP-Address == 1.2.3.4) {
kmdov3
}
elsif (Client-IP-Address == 3.4.5.6) {
unix
}
...
}
More information about the Freeradius-Users
mailing list