hmmm, if i understood you correctly, by authentication request you mean the RADIUS Access-Request. in that case, what you do would be a violation of the RFC. why don't you specify your authentication scheme by using a VSA (or EAP-subtype) and specifying a module to handle it? it would be much easier and your server would remain inter-functional.
except, there is a misunderstanding in what you say. Access-Requests are not sent by users, they are sent by NASes. perhaps you should read ftp://ftp.rfc-editor.org/in-notes/rfc2865.txt . unless i'm completely misunderstanding what you are saying, you are about to do something very ugly :-) ciao artur Hans Jorgensen wrote: > > Dear list. > > I am trying to implement my own request type, with its own request number > (100), queries etc. > I have copied and based the code on auth.c, because I will like the users to > authenticate them selves, when sending the request. > But the authentication does not work. If I change the request number to 1 > (authentication request), the code works. > This is the case with both CHAP-Password and User-Password. > > Is the encryption algorithm using the request number when encrypting the > password? > > Thanks in advance. > > Hans > > _________________________________________________________________ > F� gode tilbud direkte i din mailbox http://jatak.msn.dk > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Artur Hecker artur[at]hecker.info - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
