On Sat, 31 Jul 1999, Paul Black wrote:
> Thanks for your help, Triode now has Static IP addresses being allocated
> correctly from the users file. The next problem is that the users file allows
> for an M prefix to allow people to login and get a menu so they can rlogin to
> my shell server. This facility was working fine with the Lucent/Livingston
> Radius server but is not working with Radiator. Following is the debug output
> when someone logs in with the M prefix. Could you let me know how to sort this
> one out?
my choice would be to make a different realm for all users starting with
"M" and within that realm you can send special AddToReply items that setup
a shell login instead...
something like this:
# convert all users starting with M to user@shell
RewriteUsername s/^M(.*)/$1\@shell/
<Realm default>
# authorisation for normal dialups
<AuthBy xxx>
...
</AuthBy>
</Realm>
<Realm shell>
# first remove @shell from username
RewriteUsername s/^([^@]+).*/$1/
<AuthBy xxx>
AddToReply .... # tell NAS to give a shell login
</AuthBy xxx>
</Ream>
i didnt test this out, but hopefully this gives you an idea how to solve
it...
Ricardo.
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.