zon_dnis is not a standard attribute. If you want an own attribute, add it
to the dictionary file.
Janos SUTO
On Tue, 12 Dec 2000, Lisa Goulet wrote:
> Hi all,
>
> I have a PreHandlerHook which is being executed correctly. However I see a
> "Warning: No such attribute.." in the logfile:
>
> Here is the configuration and the log messages:
>
> #
> # proxyserver.cfg
> #
> Trace 4
>
> Foreground
> LogDir .
> DbDir .
>
> <Client DEFAULT>
> Secret test
> DupInterval 0
> PreHandlerHook sub { \
> # zonnet DNISs
> my $dnis = ${$_[0]}->get_attr('Called-Station-Id');\
> if (${dnis} =~ /107500300|113750030|137500300/) {\
> ${$_[0]}->add_attr('zon_dnis','true'); return;\
> }\
> }
> </Client>
>
> # proxying to zonnet
> <AuthBy RADIUS>
> Identifier zonnetproxy
> Host xxx.xxx.xxx.xxx
> Secret xxxxxxxx
> </AuthBy>
>
> <AuthBy RADIUS>
> Identifier LocalCheck
> Synchronous
> Host yyy.yyy.yyy.yyy
> Secret xxxxxxxxxxx
> CachePasswords
> CachePasswordExpiry
> </AuthBy>
>
> <Handler zon_dnis="true">
> AuthByPolicy ContinueWhileAccept
> AuthBy LocalCheck
> AuthBy zonnetproxy
> </Handler>
>
> <Handler>
> AuthByPolicy ContinueWhileAccept
> AuthBy LocalCheck
> </Handler>
> *******************************************************
>
> Mon Dec 11 15:26:00 2000: DEBUG: Check if Handler Service-Type =
> Outbound-User should be used to handle this request
> Mon Dec 11 15:26:00 2000: DEBUG: Check if Handler zon_dnis="true" should be
> used to handle this request
> Mon Dec 11 15:26:00 2000: DEBUG: Handling request with Handler
> 'zon_dnis="true"'
> Mon Dec 11 15:26:00 2000: DEBUG: Deleting session for blaauw129,
> 213.35.248.142,
> Mon Dec 11 15:26:00 2000: DEBUG: Handling with Radius::AuthRADIUS
> Mon Dec 11 15:26:00 2000: WARNING: No such attribute zon_dnis
> Mon Dec 11 15:26:00 2000: DEBUG: Packet dump:
> *** Sending to yyy.yyy.yyy.yyy port 1645 ....
>
>
> Thanks,
> Lisa
>
>
>
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.