Hi,
I'm working with a demo with Radiator and I have a "small" problem.
One of our wholesalers want some more attributes in the reply. So I used
AddToReply to add them to the Accept-Request answer, but I also need to send
some generic attributes if the request has failed (bad username or password,
etc.).
I tried with a DefaultReply but when the request is rejected, the attributes
are not sending back to the proxy server.
Realm config:
<Realm ca.inter.net>
RewriteUsername s/^([^@]+).*/$1/
RejectHasReason
<AuthBy FILE>
Filename ./users
AddToReplyIfNotExist User-Name = 1, User-Password = 1,
User-Service = Framed-User, Ascend-Assign-IP-Pool= 0, Ascend-Idle-Limit =
1200, Proxy-State = 1
DefaultReply User-Name = 0, User-Password = 0, User-Service
= Framed-User, Ascend-Assign-IP-Pool= 0, Ascend-Idle-Limit = 1200,
Proxy-State = 1
NoDefault
</AuthBy>
# Log accounting to the detail file in LogDir
AcctLogFileName ./detail
</Realm>
The only attribute that is sent back is:
*** Sending to 127.0.0.1 port 49259 ....
Code: Access-Reject
Identifier: 221
Authentic: 1234567890123456
Attributes:
Reply-Message = "Bad Password"
--
+--------------------------------------------------------------+
| Pascal Robert Inter.net Canada |
| |
| Gestionnaire technique de projets /Technical Project Manager |
| |
| <http://www.ca.inter.net/> [EMAIL PROTECTED] |
+--------------------------------------------------------------+
===
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.