Hello Wilco -

If you want to send a reply message in the access reject, you would use a 
reply attribute something like this:

        Reply-Message = "Tell the person what to do next"

The RejectHasReason parameter does not take an argument.

regards

Hugh


On Thu, 20 Jun 2002 23:00, wilco heinneman wrote:
> Hi *,
>
> I did do some test with the tool "radpwtst -gui" with this config, and
> everything seems to be okay. But ! The RejectHasReason message does not
> work!
>
> What did I do wrong ?
>
> My config:
>
>
> LogDir
>       /var/log/radius
> DbDir
>       /etc/radiator
> Trace                 5
>
> <Client>
>   Secret *
> </Client>
>
> <SessionDatabase SQL>
> DBSource   *
> DBUsername *
> DBAuth     *
> ClearNasQuery
> DeleteQuery
> AddQuery  insert into RADONLINE (USERNAME,\
>          NASIDENTIFIER, NASPORT, ACCTSESSIONID, TIME_STAMP,\
>          FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE, DNIS) \
>          values ('%n', '%N',\
>          %{NAS-Port}, '%{Acct-Session-Id}', %{Timestamp},\
>          '%{Framed-IP-Address}', '%{NAS-Port-Type}', \
>          '%{Service-Type}', '%{Called-Station-Id}')
> CountQuery select NASIDENTIFIER,NASPORT,ACCTSESSIONID,FRAMEDIPADDRESS \
>             from RADONLINE where USERNAME='%u'
> </SessionDatabase>
>
> <AuthBy FILE>
> Identifier RadiusFile
>        Filename %D/users
>        NoDefault
>        AddToReply Service-Type = Framed-User, Framed-Protocol = PPP,
> Framed-IP-Address = 255.255.255.254, Framed-IP-Netmask =
> 255.255.255.255, Framed-Compression = None, Framed-Routing = None,
> Framed-MTU = 1500, Filter-Id = "standaard", Idle-Timeout = 600,
> Port-Limit = 1
> </AuthBy>
>
> <AuthBy PORTLIMITCHECK>
> Identifier Checklimit
>       SessionLimit 10
> </AuthBy>
>
> <Handler Class = Masterclass>
>          RejectHasReason "Tell the person what to do next"
>       AuthByPolicy ContinueWhileAccept
>       AuthBy Checklimit
>       AuthBy RadiusFile
> </Handler>
>
> <Default Handler>
>     AuthBy RadiusFile
> </Handler>

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to