Authenticating using own method instead of standard methos like PAP,CHAP e.t.c
Hi, I am new to Free RADIUS and I am facing some problem. I have created one new module for my purpose and I have defined new methods for each function like authorizing, accounting and authenticating. When my server receives accounting request, accounting method in my module is being called but that is not happening in case of authentication. It is authenticating using PAP method at present. I want to by pass all the standard methods supported by Free RADIUS and i want my authentication method to be called whenever my server received Access requests. I would like to how that can be done. Thanks. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Authenticating-using-own-method-inst... Sent from the FreeRadius - User mailing list archive at Nabble.com.
Ramakrishna wrote:
I have created one new module for my purpose and I have defined new methods for each function like authorizing, accounting and authenticating. When my server receives accounting request, accounting method in my module is being called but that is not happening in case of authentication. It is authenticating using PAP method at present. I want to by pass all the standard methods supported by Free RADIUS and i want my authentication method to be called whenever my server received Access requests. I would like to how that can be done.
List the module in the "authenticate" section. Then, set Auth-Type to the name of your module. Alan DeKok.
Hi Alan, Thanks for replying. Could you please let me know the exact configuration changes which are to be done for this? I have done what you told in default configuration file in raddb/sites-enabled directory. But I didnt see any change in the way authentication is happening. Thanks. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Authenticating-using-own-method-inst... Sent from the FreeRadius - User mailing list archive at Nabble.com.
Ramakrishna wrote:
Could you please let me know the exact configuration changes which are to be done for this?
See the FAQ for examples. This is documented.
I have done what you told in default configuration file in raddb/sites-enabled directory. But I didnt see any change in the way authentication is happening.
See the FAQ for "it doesn't work". And really? "I tried to do something, but it didn't work" How do you expect *anyone* to help you? You're giving *zero* information. Alan DeKok.
participants (2)
-
Alan DeKok -
Ramakrishna