LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-01-2005, 11:51 AM   #1
jrmontg
Member
 
Registered: Nov 2004
Posts: 58

Rep: Reputation: 15
Freeradius Help


I have installed free radius on my server at 192.198.5.8 and trying to connect to it with NTRadping on 192.168.5.6. I am getting the following error:
response: Access-Reject

in the log I see this:
Tue Mar 1 11:01:42 2005 : Auth: rlm_unix: [root]: invalid password

my clients.conf
client 192.168.5.6 {
secret = testsecret
shortname = home
login = !root
password = testtest
}

Another wierd entry in the log is:
Tue Mar 1 10:39:24 2005 : Info: Using deprecated naslist file. Support for this will go away soon.
Tue Mar 1 10:39:24 2005 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Tue Mar 1 10:39:25 2005 : Info: Ready to process requests.

can anyone help me?
 
Old 03-02-2005, 08:08 AM   #2
jrmontg
Member
 
Registered: Nov 2004
Posts: 58

Original Poster
Rep: Reputation: 15
What file do I put a username and password? It seems like there are three different places to do this?
 
Old 03-02-2005, 10:40 AM   #3
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
Quote:
What file do I put a username and password? It seems like there are three different places to do this?
This depends on how you configured freeradius. I use LDAP to store username and passwords, you can also use system accounts from /etc/passwd and /etc/shadow, or you can use a file.

Quote:
Tue Mar 1 11:01:42 2005 : Auth: rlm_unix: [root]: invalid password
It looks like you are using the unix module, so the usernames and password should be your system username and password. Remove these lines from clients.conf, you shouldn't need them.
Code:
login = !root
password = testtest
I would add localhost to clients.conf and use radtest, to make sure everything is configured properly first. For example, add the following to clients.conf
Code:
client 127.0.0.1 {
secret = testsecret
shortname = localhost
}
Now test the connection with radtest.

Code:
radtest username password 127.0.0.1:1812 2 testsecret
If everything is setup correctly you should get and Access-Accept reply.

Thomas
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
freeradius screamon demon Linux - Networking 0 08-15-2005 09:52 PM
freeradius lmatos Fedora 0 07-18-2005 03:27 PM
where is freeradius barrythai SUSE / openSUSE 1 03-04-2005 12:53 PM
Freeradius Jorgr Linux - Security 0 02-23-2005 01:22 AM
freeRADIUS abdullahgee Programming 0 06-11-2004 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration