Re: ISDN BRI

Jon Lusky (lusky2@earth.voyageronline.net)
Sat, 8 Jun 1996 20:29:03 -0400 (EDT)

alex writes:
> RAdius and how can keep 28.8 paying customer from getting an ISDN TA and getting the number
> without telling me so they dont pay the ISDN price. MAybe using the maxports to 0 in radius after
> every user name?

I hacked radiusd to look at NAS-Port-Type. If (NAS-Port-Type == Async), then
(merit) radiusd checks against /etc/shells, otherwise it checks against
/etc/isdnshells (normal ppp users have /bin/nologin as their shell,
isdn users have /bin/isdn). I don't offer shell accounts so this works
well for me. If you do offer shell accounts, you could do something
similiar by checking GID instead of shell. 4 or 5 lines of code.