Hi,

I developped a small web interface to manage users and groups using:

- Apache
- php
- MySQL
- database schema from Free Radius

Concerning the sql schema, I just modified the length of field Value in
radreply. Initial length: 40. I need more, so I set it to 100 - but that's
just for me.

There is also a small monitor that redisplay every 5 seconds that shows
connected users (please make sure your web server user - usually nobody - is
allowed to read radutmp in log dir).

You'll find the files attached with this email. All you have to do is edit
db.php and adapt dbhost, dbusername, dbpassword and dbname.

Steps to use:
1. decompress files in a directory that you can reach through the web, the
archive will extract with tar zxvf phpfreeradius0-1.tar.gz under
phpfreeradius0-1
2. cd to directory and edit/adapt db.php
3. chown nobody:nobody and chmod 555 *
4. using a web browser, go to http://yourhost/phpfreeradius0-1/index.php
5. create a 'Default' group - set some check and/or reply attributes (only
groups having reply values will appear in groups list)
6. create a 'test' user - set some check and/or reply attributes (only users
having reply values will appear in users list), associate that user to that
group

One point that I think is important, is to redesign the database structure.
Actually, I find it really bad.

Don't forget to configure Free Radius to use MySQL to authenticate users.
You may find more information on this url:
http://www.frontios.com/freeradius.html

Please feel free to use, test, make commentaries, ask for more, ...



Attachment: phpfreeradius0-1.tar.gz
Description: Binary data

Reply via email to