Question about rlm modules
Alan DeKok
aland at deployingradius.com
Sun Oct 29 16:06:39 CET 2006
"Ali Majdzadeh" <ali.majdzadeh at gmail.com> wrote:
> (As suggested by the template itself)
>
> * *reply = pairmake ("User-Name", "root", T_OP_EQ);
> pairadd (&request->reply->vps, reply);
> request->reply->code = PW_USER_NAME;
No, that last line is wrong. Completely and totally wrong. No
template or examples suggests that you do that. Delete it.
> What specific code should I use when for example I want to send
> h323-credit-amount attribute to a NAS?
You don't use a code. You just refer to the attribute by name.
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
More information about the Freeradius-Users
mailing list