Question about dictionnary
Hello all, I'm new to the world of Linux and FreeRadius and of course also new to this list. I need to build up a Radius Server with FreeRadius. It will answere request coming from ADSL users, relayed by a RadisuProxySmartEdge Redback. On my test server, I've successfully installed the OS, FreeRadius the MySQL server, the SSH server, apache and phpmyadmin. Some Radius Client test show that it seems to work with a test-user in MySQl Database. I got Access-Accept. My problem is that the customer ask me to ?change/add? dictionary for supporting "RedBack attributes". I need to add user name and password for each users and and three common value for all users. I'm not sure how to do that. Include an other file, modify the main dictionary file ? Can someone please explain me how to play with dictionary. Everything was installed this WE, so I guess I have all the last version. (some guide I found talk about unexisting folder, or about radiusd which seems little bit different of FreeRadius). I hope I was clear enough. Thank you for reading me. Any help will be greatly appreciate. Good night. Regards, Thomas
There is a redback dictionary included with freeradius (do locate redback to find it). I would check that attributes they want to use are missing before replacing it (you do have a file to replace it with?). Ivan Kalik Kalik Informatika ISP Dana 27/6/2007, "Thomas LAVIGNE" <thomas.lavigne@becyber.be> piše:
Hello all,
I'm new to the world of Linux and FreeRadius and of course also new to this list. I need to build up a Radius Server with FreeRadius. It will answere request coming from ADSL users, relayed by a RadisuProxySmartEdge Redback.
On my test server, I've successfully installed the OS, FreeRadius the MySQL server, the SSH server, apache and phpmyadmin. Some Radius Client test show that it seems to work with a test-user in MySQl Database. I got Access-Accept.
My problem is that the customer ask me to ?change/add? dictionary for supporting "RedBack attributes". I need to add user name and password for each users and and three common value for all users.
I'm not sure how to do that. Include an other file, modify the main dictionary file ? Can someone please explain me how to play with dictionary. Everything was installed this WE, so I guess I have all the last version. (some guide I found talk about unexisting folder, or about radiusd which seems little bit different of FreeRadius).
I hope I was clear enough. Thank you for reading me. Any help will be greatly appreciate.
Good night.
Regards,
Thomas
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Wed 27 Jun 2007, tnt@kalik.co.yu wrote:
There is a redback dictionary included with freeradius (do locate redback to find it). I would check that attributes they want to use are missing before replacing it (you do have a file to replace it with?).
Additionally, if there are new RedBack attributes that our dictionaries don't have, please let us know what they are so that we can add them. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Hi All, I have a problem with the radius-Attribute NAS-IP-ADDRESS. I use freeradius with pam_radius and a mysql-DB If i want to ssh-login on the machine, freeradius runs, the nas-ip is 127.0.0.1. It's correct, but the database does not know 127.0.0.1. It knows the real ip and therefore my radcheck-stored-procedure does not work. Can someone help? Is there a method to convert the 127.0.0.1 to the real ip? Nslookup? Thanks Markus
Rascher, Markus wrote:
Hi All,
I have a problem with the radius-Attribute NAS-IP-ADDRESS. I use freeradius with pam_radius and a mysql-DB
If i want to ssh-login on the machine, freeradius runs, the nas-ip is 127.0.0.1. It's correct, but the database does not know 127.0.0.1. It knows the real ip and therefore my radcheck-stored-procedure does not work.
Can someone help? Is there a method to convert the 127.0.0.1 to the real ip? Nslookup?
Thanks
Markus
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Attribute you want is Packet-Src-IP-Address Gives you the source IP of he incoming packet . -- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk) Authentication, Authorisation and Accounting Officer Infrastructure Services | ENG1 E1-1-08 University Of Sussex, Brighton EXT:01273 873900 | INT: 3900
Hi everyone, Thank you verry much for your help. If you have firewall or VPN problem I will be more able to help you. I made a find command for "redback" but it returned no result. The same command for "dictionary" returned two results : One in /etc/freeradius/dictionary and one in /usr/share/freeradius/dictionary The first one only contain an include of the second one. And on the second one there is a warning to not edit it. So I guess I need to modify the first one. Here is the things in need to add into the dictionary : * User specific information:* Username aNiceUserName Password aGoodPassword ***Common value for all users* Service-Type framed-user Framed-Protocol ppp Framed-IP-address 255.255.255.254 *Common value for a specific adslprofile * (there is six profiles, each users have one). Redback-Subscriber-Profile <Subscriber profile name> Where and how to add these "words" into the dictionary. By the way, we want to manage users into a mySQL DB. Does it affect mySQL configuration ? Maybe I need to add field in table ? Thank you again for reading me. Kind regard, Thomas --------------- Peter Nixon wrote:
On Wed 27 Jun 2007, tnt@kalik.co.yu wrote:
There is a redback dictionary included with freeradius (do locate redback to find it). I would check that attributes they want to use are missing before replacing it (you do have a file to replace it with?).
Additionally, if there are new RedBack attributes that our dictionaries don't have, please let us know what they are so that we can add them.
Cheers
Original post : Hello all, I'm new to the world of Linux and FreeRadius and of course also new to this list. I need to build up a Radius Server with FreeRadius. It will answere request coming from ADSL users, relayed by a RadisuProxySmartEdge Redback. On my test server, I've successfully installed the OS, FreeRadius the MySQL server, the SSH server, apache and phpmyadmin. Some Radius Client test show that it seems to work with a test-user in MySQl Database. I got Access-Accept. My problem is that the customer ask me to ?change/add? dictionary for supporting "RedBack attributes". I need to add user name and password for each users and and three common value for all users. I'm not sure how to do that. Include an other file, modify the main dictionary file ? Can someone please explain me how to play with dictionary. Everything was installed this WE, so I guess I have all the last version. (some guide I found talk about unexisting folder, or about radiusd which seems little bit different of FreeRadius). I hope I was clear enough. Thank you for reading me. Any help will be greatly appreciate. Good night. Regards, Thomas
What freeradius version are you using? Try "locate redback". Ivan Kalik Kalik Informatika ISP Dana 27/6/2007, "Thomas LAVIGNE" <thomas.lavigne@becyber.be> piše:
Hi everyone,
Thank you verry much for your help. If you have firewall or VPN problem I will be more able to help you.
I made a find command for "redback" but it returned no result. The same command for "dictionary" returned two results : One in /etc/freeradius/dictionary and one in /usr/share/freeradius/dictionary
The first one only contain an include of the second one. And on the second one there is a warning to not edit it. So I guess I need to modify the first one. Here is the things in need to add into the dictionary : * User specific information:* Username aNiceUserName Password aGoodPassword ***Common value for all users* Service-Type framed-user Framed-Protocol ppp Framed-IP-address 255.255.255.254 *Common value for a specific adslprofile * (there is six profiles, each users have one). Redback-Subscriber-Profile <Subscriber profile name>
Where and how to add these "words" into the dictionary.
By the way, we want to manage users into a mySQL DB. Does it affect mySQL configuration ? Maybe I need to add field in table ?
Thank you again for reading me.
Kind regard,
Thomas ---------------
Peter Nixon wrote:
On Wed 27 Jun 2007, tnt@kalik.co.yu wrote:
There is a redback dictionary included with freeradius (do locate redback to find it). I would check that attributes they want to use are missing before replacing it (you do have a file to replace it with?).
Additionally, if there are new RedBack attributes that our dictionaries don't have, please let us know what they are so that we can add them.
Cheers
Original post :
Hello all,
I'm new to the world of Linux and FreeRadius and of course also new to this list. I need to build up a Radius Server with FreeRadius. It will answere request coming from ADSL users, relayed by a RadisuProxySmartEdge Redback.
On my test server, I've successfully installed the OS, FreeRadius the MySQL server, the SSH server, apache and phpmyadmin. Some Radius Client test show that it seems to work with a test-user in MySQl Database. I got Access-Accept.
My problem is that the customer ask me to ?change/add? dictionary for supporting "RedBack attributes". I need to add user name and password for each users and and three common value for all users.
I'm not sure how to do that. Include an other file, modify the main dictionary file ? Can someone please explain me how to play with dictionary. Everything was installed this WE, so I guess I have all the last version. (some guide I found talk about unexisting folder, or about radiusd which seems little bit different of FreeRadius).
I hope I was clear enough. Thank you for reading me. Any help will be greatly appreciate.
Good night.
Regards,
Thomas
Thomas LAVIGNE wrote:
I made a find command for "redback" but it returned no result.
Then you're not using a version of FreeRADIUS that was released in the past 7 years. It's included a "dictionary.redback" for almost that long.
The same command for "dictionary" returned two results : One in /etc/freeradius/dictionary and one in /usr/share/freeradius/dictionary
Or, "man dictionary" would tell you the same thing. Also, if you read the file in share/..., it *should* refer to a dictionary.redback file in the same directory. If it does, your "find" command was broken. If it doesn't, install 1.1.6, not 0.1.
So I guess I need to modify the first one. Here is the things in need to add into the dictionary : * User specific information:* Username aNiceUserName Password aGoodPassword
Uh... no. Absolutely not. Read "man dictionary", and "man users" before doing anything else.
Where and how to add these "words" into the dictionary.
These "words" have commonly used "names" that are defined in the "documentation". Please read it. Alan DeKok.
participants (6)
-
Alan DeKok -
Arran Cudbard-Bell -
Peter Nixon -
Rascher, Markus -
Thomas LAVIGNE -
tnt@kalik.co.yu