PAP questions.

James Wakefield jamesw at deakin.edu.au
Thu Sep 14 05:35:54 CEST 2006


Keith Woodworth wrote:
> 
> My users file:
> 
> DEFAULT
>         Service-Type = Framed-User,
>         Framed-Protocol = PPP,
>         Framed-Routing = None,
>         Framed-IP-Netmask = 255.255.255.255,
>         Framed-Compression = Van-Jacobsen-TCP-IP,
>         Framed-MTU = 1500
> 
> Using it like this works.
> 
> But as soon as I use it this way:
> 
> DEFAULT Service-Type = Framed-User
>         Framed-Protocol = PPP,
>         Framed-Routing = None,
>         Framed-IP-Netmask = 255.255.255.255,
>         Framed-Compression = Van-Jacobsen-TCP-IP,
>         Framed-MTU = 1500
> 
> Why does the top way work and the bottom way not? 

Expressions on the first line in a users file stanza are check items. 
Expressions on subsequent lines are reply items.  You probably want to 
use the second method and replace "Service-Type = Framed-User" with the 
comparison "Service-Type == Framed-User".

And is this an
> acceptable way to do it? Store the users and passwords in SQL and have the
> Users file supply the rest?

If the check and reply items needed for your setup don't result in a 
users file that's unmanageable, it's acceptable.



-- 
James Wakefield,
Unix Administrator, Information Technology Services Division
Deakin University, Geelong, Victoria 3217 Australia.

Phone: 03 5227 8690 International: +61 3 5227 8690
Fax:   03 5227 8866 International: +61 3 5227 8866
E-mail:   james.wakefield at deakin.edu.au
Website:  http://www.deakin.edu.au



More information about the Freeradius-Users mailing list