(RADIATOR) RejectHasReason

Hugh Irvine hugh at open.com.au
Wed May 21 05:08:19 CDT 2003


Hello Donald -

There is currently no way to pass a reject message back from an AuthBy 
INTERNAL.

You should use instead an AuthBy FILE with a DEFAULT entry.

	<AuthBy FILE>
		Filename %D/reject.users
	</AuthBy>

The file "reject.users" should contain this:

# define DEFAULT user to Rejct with a message

DEFAULT Auth-Type = "Reject: You are not our customer"


regards

Hugh


On Wednesday, May 21, 2003, at 18:57 Australia/Melbourne, Foo Donald 
(Products O2) wrote:

> Hi there,
> I put a Handler to reject all the comming call start with 020085 with 
> <AuthBy INTERNAL>, I will always get "Fixed by DefaultResult", if I 
> change the config to
> RejectHasReason "You are not our customer"
> I will get "Access Denied". How can I change the reply message with 
> <AuthBy INTERNAL>.
>  
>  
> <Handler Calling-Station-Id=/^020085*/>
>         RejectHasReason
>         <AuthBy INTERNAL>
>                 DefaultResult   REJECT
>         </AuthBy>
> </Handler>
>  
> Wed May 21 16:50:32 2003: DEBUG: Packet dump:
> *** Received from 10.85.5.11 port 2889 ....
> Code:       Access-Request
> Identifier: 12
> Authentic:        1053507497
> Attributes:
>         User-Name = "test"
>         User-Password = 
> "T|Y<169><175><172><250><155><243><128><246><213><134><207><21><17>"
>         User-Name = "test"
>         NAS-IP-Address = 10.85.4.254
>         Framed-IP-Address = 10.85.5.11
>         Calling-Station-Id = "020085005011"
>  
> Wed May 21 16:50:32 2003: DEBUG: Handling request with Handler 
> 'Calling-Station-Id=/^020085*/'
> Wed May 21 16:50:32 2003: DEBUG:  Deleting session for test, 
> 10.85.4.254,
> Wed May 21 16:50:32 2003: DEBUG: Handling with AuthINTERNAL:
> Wed May 21 16:50:32 2003: INFO: Access rejected for test: Fixed by 
> DefaultResult
> Wed May 21 16:50:32 2003: DEBUG: Packet dump:
> *** Sending to 10.85.5.11 port 2889 ....
> Code:       Access-Reject
> Identifier: 12
> Authentic:        1053507497
> Attributes:
>         Reply-Message = "Fixed by DefaultResult"
>  
>  
> Regards,
> Donald Foo
> Data Centre Engineer
> O2
> Tel:              +852 2939 0603
> Mobile:           +852 9863 9683
> Fax:              +852 2549 2112
> Email:            donald.foo at o2.com
> UK:                              <http://www.o2.co.uk/>
> Germany:                   <http://www.o2online.de/>
> Netherlands:              <http://www.o2.nl/>
> Ireland:                        <http://www.o2.ie/>
> Corporate website:   <http://www.o2.com/>
>
> This email and any attachments may be confidential and the subject of 
> legal professional privilege. Any disclosure, use, storage or copying 
> of this email without the consent of the sender is strictly 
> prohibited. Please notify the sender immediately if you are not the 
> intended recipient and then delete the email from your inbox and do 
> not disclose the contents to another person, use, copy or store the 
> information in any medium.
>
> <tech.gif>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 6183 bytes
Desc: not available
URL: <http://www.open.com.au/pipermail/radiator/attachments/20030521/3cf65ca1/attachment.bin>


More information about the radiator mailing list