I have gotten freeRadius working with a mikrotik NAS using the users flat file (hooray for me! <g>). Now I need to have the freeRadius server reference a MS-SQL db server rather than the users file on the freeRadius server. I am quite fuzzy about the process tho. I am hoping for some basic edukashun. How do you tell freeRadius to reference an external MS-SQL db rather than the local users flat file? How do you issue the query to the db? (what file contains the connection string and query) How do the returning fields get mapped into RADIUS attributes? (what do you do when the db calls the field "uname" and RADIUS calls it "user-name") Thank you for your time, Dave Covert
David Covert wrote:
How do you tell freeRadius to reference an external MS-SQL db rather than the local users flat file?
$ ls raddb/*sql.conf $ grep sql raddb/radiusd.conf $ cat doc/rlm_sql Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
On 12/28/06, David Covert <dcovert@erfwireless.com> wrote:
I have gotten freeRadius working with a mikrotik NAS using the users flat file (hooray for me! <g>). Now I need to have the freeRadius server reference a MS-SQL db server rather than the users file on the freeRadius server. I am quite fuzzy about the process tho. I am hoping for some basic edukashun.
[snip] First, you read the FAQ[1], then you search through the wiki[2], then you read through the well-documented configuration files that came with FreeRADIUS. Afterwards, you use what you've learned to try to get the whole setup working. If/when you run into issues you can't figure out, you search through the archives for this list. If your search doesn't turn up anything useful, you come back to the list and post specific, detailed questions including configurations that you're using and letting us know what you've already tried that didn't work (and what errors you were getting). Lather, rinse, repeat. One eventually ends up with a working configuration. -- Jeremy L. Gaddis, MCP, GCWN http://www.linuxwiz.net/
On 12/28/06, David Covert <dcovert@erfwireless.com> wrote:
I have gotten freeRadius working with a mikrotik NAS using the users flat file (hooray for me! <g>). Now I need to have the freeRadius server reference a MS-SQL db server rather than the users file on the freeRadius server. I am quite fuzzy about the process tho. I am hoping for some basic edukashun.
I failed to include the appropriate links in my previous e-mail: [1]: http://wiki.freeradius.org/index.php/FAQ [2]: http://wiki.freeradius.org/Main_Page -- Jeremy L. Gaddis, MCP, GCWN http://www.linuxwiz.net/
David Covert wrote:
I have gotten freeRadius working with a mikrotik NAS using the users flat file (hooray for me! <g>). Now I need to have the freeRadius server reference a MS-SQL db server rather than the users file on the freeRadius server. I am quite fuzzy about the process tho. I am hoping for some basic edukashun.
How do you tell freeRadius to reference an external MS-SQL db rather than the local users flat file? How do you issue the query to the db? (what file contains the connection string and query) How do the returning fields get mapped into RADIUS attributes? (what do you do when the db calls the field "uname" and RADIUS calls it "user-name")
You haven't looked at sql.conf, have you? -- Dennis Skinner Systems Administrator BlueFrog Internet http://www.bluefrog.com
David, start with "rlm_sql" at source_directory/doc, check also your sql.conf in your installation etc/raddb directory....it help me also this one to start http://www.frontios.com/freeradius.html (for mysql). I hope it helps....if you're about using ms-sql check also "mssql" at source_directory/doc. Regards freeradius-users-bounces+antolini=ar.ibm.com@lists.freeradius.org wrote on 12/28/2006 01:37:51 PM:
I have gotten freeRadius working with a mikrotik NAS using the users flat file (hooray for me! <g>). Now I need to have the freeRadius server reference a MS-SQL db server rather than the users file on the freeRadius server. I am quite fuzzy about the process tho. I am hoping for some basic edukashun.
How do you tell freeRadius to reference an external MS-SQL db rather than the local users flat file? How do you issue the query to the db? (what file contains the connection string and query) How do the returning fields get mapped into RADIUS attributes? (what do you do when the db calls the field "uname" and RADIUS calls it "user-name")
Thank you for your time, Dave Covert
- List info/subscribe/unsubscribe? See
participants (5)
-
Alan DeKok -
David Covert -
Dennis Skinner -
Gaddis, Jeremy L. -
Hernan Antolini