Re: User_Role configuration in freeRadius Users file

2009-07-03 Thread kpani
Thanks Ivan. Sorry it was late response. I was out for sometime. Just want to make sure that the comments in raddb/dictionary says 'If you want to add entries to the dictionary file, which are NOT going to be placed in a RADIUS packet, add them here'. So am I right adding it here? Anyway I tried

User_Role configuration in freeRadius Users file

2009-06-30 Thread kpani
Hi, I am using freeRadius for user authentication. I also want to assign roles (like type of user) for each user configured in /usr/local/etc/raddb/users file as like below. Then I will authorize the user in my radius client application based on radius returned role. dhandapani

Re: User_Role configuration in freeRadius Users file

2009-06-30 Thread kpani
Yes Ivan. I am sure that I will utilize the server configuration in client application. I am able to read the response and parse the attributes from client. For example, I am able to read the value of the attribute 'Reply-Message' using its name or the code 18. Same way I want to read the

Re: User_Role configuration in freeRadius Users file

2009-06-30 Thread kpani
Thanks Ivan. I hope it is /usr/local/share/freeradius/dictionary included in raddb/dictionary. I added an entry like this restarted server: ATTRIBUTE User-Role 208 string But with JRadius client, I am getting 'Invalid RADIUS Authenticator' after this

Re: Issue when freeRadius is accessed using JRadius Client.

2009-06-29 Thread kpani
Thanks Ivan for the suggestion. Finally I found the reason behind the issue was wrong AttributeDictionaryImpl as below. It failed to decode attribute as it does not fond in teh given impl. AttributeFactory.loadAttributeDictionary(net.jradius.dictionary.AttributeDictionaryImpl); instead of the

Issue when freeRadius is accessed using JRadius Client.

2009-06-25 Thread kpani
Hi, I am using JRadius Client with freeRadius server for user authentication. The following code is used to access freeRadius server: -- AttributeFactory.loadAttributeDictionary(net.jradius.dictionary.AttributeDictionaryImpl);

Any free Java APIs to access freeRadius server?

2009-06-22 Thread kpani
Hi, I am using freeRadius server for authentication. I am able to authenticate for ssh login. I want to authenticate my java application using radius server. Is there any java libraries/APIs available to access and authenticate directly. Please advise me. Thanks in advance. Regards,

Re: Any free Java APIs to access freeRadius server?

2009-06-22 Thread kpani
Hi Ivan, Thanks I am able setup standalone JRadius to access radius server and able to send/receive access requests. I need one more clarification here :) Access Challenge: I am able to generate Access Request/Reject/Accept with the APIs. Still I am not sure on how to make radius server to

Re: Any free Java APIs to access freeRadius server?

2009-06-22 Thread kpani
Thanks Ivan. Sorry for extending again. I am not clear with first part. 1) With EAPMSCHAPv2Authenticator as authenticator, as you said the server logs are fine with Challenge. But radius client receives only the final access-accept response. But I want each request in access-challenge should be

Re: Password conflict between Radius Server and Machine account

2009-06-17 Thread kpani
I am really sorry Ivan. I am very new to radius and have not gone in depth. Thanks a lot. I can see the expected behavior after commenting unix in authorize :) Regards, Dhandapani Ivan Kalik wrote: And I couldn't find the 'authorize' config file anywhere in my server. Oh, dear. How are

SSH authendication with radius server fails if the user does not exist in radius client

2009-06-17 Thread kpani
Hi, I am trying to authenticate ssh login using radius server running in another linux machine. I added a new user in /usr/local/etc/raddb/users of radius server. Now when I do ssh to the radius client, the radius server denies request and says 'Password doesn't match. But I gave right

Re: SSH authendication with radius server fails if the user does not exist in radius client

2009-06-17 Thread kpani
Thanks a lot Ivan for the clarification. I am feeling like working with you. Do you mean the radius server can be only used for password authentication in case of ssh/telnet? Can't we login using the centralized username/password? Regards, Dhandapani Ivan Kalik wrote: So it looks like the

Re: SSH authendication with radius server fails if the user does not exist in radius client

2009-06-17 Thread kpani
Yes. Got it. Thanks Ivan. Regards, Dhandapani Ivan Kalik wrote: Do you mean the radius server can be only used for password authentication in case of ssh/telnet? Yes. Can't we login using the centralized username/password? No, that can't work. Let's say that you were

Re: Access Challenge in freeRadius server

2009-06-16 Thread kpani
Thank you very much Ivan for your detailed response. I will check it and respond you. Regards, Dhandapani Ivan Kalik wrote: Not sure how ssh/telnet will handle. That depends on your pam radius module. I believe freeradius hosted module can handle it. Don't know for others. But I

Password conflict between Radius Server and Machine account

2009-06-16 Thread kpani
Hi, When I was trying to authenticate ssh login through radius server, I noticed an conflict issue with password. I have a linux machine-1 in which radius server is installed. I have configured an user with name/password as root/public in /usr/local/etc/raddb/users. But the linux machine

Re: Password conflict between Radius Server and Machine account

2009-06-16 Thread kpani
Thanks Ivan. My requirement falls in the situation where the radius server will configure a user which may be already configured machine. And I couldn't find the 'authorize' config file anywhere in my server. May I know the exact file/path, the unix should be commented. I am using RedHat

Access Challenge in freeRadius server

2009-06-15 Thread kpani
Hi, I am new to freeRadius server. I am trying to authorize the ssh and telnet login users of my Redhat Linux machine using freeRadius server. I am able to test Access-Accept and Access-Reject with right and wrong credentials respectively by configuring the file '/etc/pam.d/sshd' with entry

Re: Access Challenge in freeRadius server

2009-06-15 Thread kpani
Thanks Ivan for the clarification. I am just setting up the tool eapol_test to test it. Thanks. But I am also investigating whether it is possible to achieve Access Challenge with ssh/telnet without using any other tools. Could you please help if you have done it before? And also may I know why

Re: Access Challenge in freeRadius server

2009-06-15 Thread kpani
Thanks Ivan. Not sure how ssh/telnet will handle. But I assume, other than password it may request for additional RSA key generated to access a particular machine or something similar to that. Regards, Dhandapani Ivan Kalik wrote: And also may I know why it is not advised to support

Cleartext password between NAS and Radius Server

2009-06-15 Thread kpani
Hi, I am using PAP for radius authentication. I have a general question here. When we use PAP for user authentication, the password will be passed from user to NAS(radius client) as cleartext password. But how it is transmitted from NAS to Radius server. 1) As clear text password? or 2) The

Re: Access Challenge in freeRadius server

2009-06-15 Thread kpani
Thanks Ivan. Not sure how ssh/telnet will handle. But I assume, other than password it may request for additional RSA key generated to access a particular machine or something similar to that. Also, does NAS need any installation to support Access-Challenge like CHAP? Regards, Dhandapani