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 - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-01-2012, 12:26 PM   #1
michalsanda[cz]
LQ Newbie
 
Registered: Feb 2012
Posts: 4

Rep: Reputation: Disabled
Unhappy Configuring freeradius with mysql


Hi, I am configuring freeradius with mysql ... I've found this tutorial http://www.ban-solms.de/t/debian-radius.html but i am confused because when I add

test1 User-Password == "password1"
DEFAULT Auth-Type := sql
Fall-Through := 1

I didnt found

#DEFAULT Auth-Type = System
# Fall-Through = 1

and freeradius -x returns:



/etc/freeradius/users[207]: Parse error (check) for entry DEFAULT: Unknown value sql for attribute Auth-Type
Errors reading /etc/freeradius/users
/etc/freeradius/modules/files[7]: Instantiation failed for module "files"
/etc/freeradius/sites-enabled/inner-tunnel[124]: Failed to load module "files".
/etc/freeradius/sites-enabled/inner-tunnel[47]: Errors parsing authorize section.


Could you help me please?
 
Old 03-02-2012, 04:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
AFAIK the sql authentication type is defined in /etc/raddb/sql.conf, so if that config file is not included, that reference you are sticking on there will not work.

http://wiki.freeradius.org/SQL-HOWTO...ius+to+use+SQL
 
Old 11-06-2012, 07:17 AM   #3
michalsanda[cz]
LQ Newbie
 
Registered: Feb 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Question

Hmm I solved it. But now I am setting the other one..I've installed the latest radius from debian repository and I set up it by this tutorial Authentication, Authorization & Accounting with FreeRadius & MySQL backend & web based Management with Daloradius | HowtoForge - Linux Howtos and Tutorials. I changed name of db to my own. But when I tried to start radius - I used "freeradius -X" (debug mode) - Radius seems to like running fine, but when I tried to connect ( with this - "radtest sqltest testpwd localhost 1812 testing123"), I've got this errors
Code:
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
Segmentation fault
What is wrong? I didn't found any answer
 
  


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
Configuring FreeRadius Server wattsjus Linux - Wireless Networking 5 08-03-2010 01:07 PM
OpenSUSE 11.1 + Freeradius + mysql (problem with mysql) JamesWhetherly Linux - Networking 1 09-03-2009 02:10 AM
i m configuring freeradius 2.1.1 to use logintime but it ignore the time span jerykwajaffa Linux - Networking 0 12-15-2008 09:55 AM
Configuring freeradius with wap-eap authentication nathan_sas Linux - Newbie 0 06-26-2008 01:49 AM
Error in configuring Freeradius capricorn80 Linux - Server 5 12-03-2006 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:32 PM.

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