Salut Pascal -
I think I need a bit more detail - do you want to add attributes to
Access-Accept messages, or to Access-Reject messages? Or both?
I must confess I don't understand your example below.
thanks
Hugh
At 9:16 -0400 01/4/24, Pascal Robert wrote:
>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.
--
NB: I am travelling this week, so there may be delays in our correspondence.
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
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.