rlm_sqlippool

Leander S. leander.schaefer at gmx.net
Thu Jul 31 10:18:31 CEST 2008


no ideas?






Leander Schäfer wrote:
> Hi,
>
> I use FreeRADIUS 2.0.5 combined with PostgreSQL instead of using raddb/users file etc. .
>
> I tried to do the rlm_sqlippool HowTo (http://wiki.freeradius.org/Rlm_sqlippool) - and it worked out fine for me so far. BUT only if I put 
>
> root ~ #  cat /usr/local/etc/raddb/users
> leo     Pool-Name := "main_pool", Cleartext-Password := "password"
>         Service-Type = Framed-User,
>         Framed-Protocol = PPP,
> #       Framed-IP-Address = 255.255.255.254,
>         Framed-IP-Netmask = 255.255.255.255,
>         Framed-Routing = Broadcast-Listen,
>         Framed-Filter-Id = "std.ppp",
>         Framed-MTU = 1492,
>         Framed-Compression = Van-Jacobsen-TCP-IP,
> root ~ #
>
> But if I put it like that:
>
> root ~ #  cat /usr/local/etc/raddb/users
> leo    Cleartext-Password := "password"
>         Pool-Name := "main_pool", 
>         Service-Type = Framed-User,
>         Framed-Protocol = PPP,
> #       Framed-IP-Address = 255.255.255.254,
>         Framed-IP-Netmask = 255.255.255.255,
>         Framed-Routing = Broadcast-Listen,
>         Framed-Filter-Id = "std.ppp",
>         Framed-MTU = 1492,
>         Framed-Compression = Van-Jacobsen-TCP-IP,
> root ~ #
>
> The user leo won't get IP Pool address anylonger ... ;/
>
> But why?! Because I neeed something like a single attribute for writing it into my PostgreSQL DB over DialupAdmin ;/ because I actually won't use my raddb/users file any longer
>
> What am I doing wrong?
>
> Thx
>
>
> Regards,
>
>       Leander
>
>   





More information about the Freeradius-Users mailing list