PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001027PacketFenceradiuspublic2010-07-08 10:432012-08-14 09:15
Reporterobilodeau 
Assigned Tofgaudreault 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version2.2.0Fixed in Version2.2.0 
Summary0001027: freeradius needs to be configured manually
DescriptionTo make the world a better place, PacketFence should automatically configure radius.

This is a meta-bug that tracks individuals tasks.

I looked at cpan or webmin to find perl modules to manipulate the files but I haven't found anything. There was one module to handle the client file but it was not maintained.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files? file icon freeradius2-pf.spec [^] (3,287 bytes) 2011-03-15 14:46
? file icon freeradius2-packetfence-1.0.0-1.el5.noarch.rpm [^] (5,673 bytes) 2011-03-15 15:27
gz file icon freeradius2-packetfence-1.0.0.tar.gz [^] (1,590 bytes) 2011-03-15 15:27

- Relationships
parent of 0001028closedobilodeau adding radius clients needs to be performed from the command line 
has duplicate 0001158closedfgaudreault freeradius2-packetfence package 
related to 0001051closedobilodeau radiusd restarted by PacketFence 

-  Notes
(0001633)
obilodeau (reporter)
2010-08-25 16:43

we should provide a site for /etc/raddb/sites-available/ and then enable it. It would be the less intrusive way of getting our config in there. I should try to find other RPM packages doing that.
(0001724)
obilodeau (reporter)
2010-10-12 12:10
edited on: 2010-10-12 12:11

The clients.conf piece is resolved by 0001028 however it is not enabled by default (see addons/freeradius-integration/README).

In here I realized that we will probably need a radiusd=enable parameter under [vlan] in pf.conf and perform the appropriate nas_popuplate_... call if it's activated.

(0001908)
fgaudreault (viewer)
2011-03-09 11:32
edited on: 2011-03-09 11:33

Will build a package with basic radius config. The only thing that the user would need to build is the clients.conf file.

(0001919)
fgaudreault (viewer)
2011-03-14 10:14

More than that, i'll create a virtual host named packetfence, and a virtual host for the inner-tunnel named packetfence-tunnel. I should be able to create custom radiusd.conf and eap.conf without too much problems. Of course, we will build .rpmsave of the original files.

Expected package name : freeradius2-packetfence

I will try to find some time this week to build the .spec and release an rpm on our repo.
(0001927)
fgaudreault (viewer)
2011-03-15 14:49

Added the spec, source, and generated RPM file.

The RPM adds two virtual host (packetfence and packetfence-tunnel). It replaces the default radius configurations reflecting that change. Furthermore, we keep the original config copy in file.pfsave files. When you uninstall the package, we replace the current radius configurations with your previous ones.
(0001928)
fgaudreault (viewer)
2011-03-15 15:28

Fixed couple of things. Should be all set now.
(0001931)
obilodeau (reporter)
2011-03-15 17:32

Before merge
- put in same spec as current packetfence.spec
- place our addons/802.1X/packetfence.pm in a proper location under /etc/raddb/
- tell the user to configure /etc/raddb/packetfence.pm (or provide a script to do so a la mysql_secure...)
- update admin guide to use this RPM instead of manual config (keep manual config as an appendix)

then we can merge that.

After we can look into getting rid of /etc/raddb/clients.conf as specified in: 0001051
(0001933)
fgaudreault (viewer)
2011-03-16 16:28

Task remaining :
- Add the content of the tar.gz to freeradius-integration folder
- Merge the configuration in the packetfence.spec
- Commit the changes
- Update the admin guide
(0001934)
fgaudreault (viewer)
2011-03-17 11:28

Commited in trunk.
(0001936)
fgaudreault (viewer)
2011-03-17 14:07

Commited and tested.

- Issue History
Date Modified Username Field Change
2010-07-08 10:43 obilodeau New Issue
2010-07-08 10:43 obilodeau Status new => assigned
2010-07-08 10:43 obilodeau Assigned To => obilodeau
2010-07-08 10:46 obilodeau Relationship added parent of 0001028
2010-08-25 16:27 obilodeau Relationship added parent of 0001051
2010-08-25 16:43 obilodeau Note Added: 0001633
2010-10-12 12:10 obilodeau Note Added: 0001724
2010-10-12 12:11 obilodeau Note Edited: 0001724
2010-11-19 14:25 obilodeau Target Version 1.10.0 => 2.0.0
2011-01-18 09:30 obilodeau Target Version 2.0.0 => 2.1.0
2011-03-03 15:16 obilodeau Target Version 2.1.0 => +1
2011-03-03 15:18 obilodeau Target Version +1 => +2
2011-03-09 11:29 fgaudreault Assigned To obilodeau => fgaudreault
2011-03-09 11:32 fgaudreault Note Added: 0001908
2011-03-09 11:33 fgaudreault Note Edited: 0001908
2011-03-14 10:14 fgaudreault Note Added: 0001919
2011-03-15 14:46 fgaudreault File Added: freeradius2-packetfence-1.0.0-1.el5.noarch.rpm
2011-03-15 14:46 fgaudreault File Added: freeradius2-packetfence-1.0.0.tar.gz
2011-03-15 14:46 fgaudreault File Added: freeradius2-pf.spec
2011-03-15 14:49 fgaudreault Note Added: 0001927
2011-03-15 15:04 fgaudreault File Deleted: freeradius2-packetfence-1.0.0.tar.gz
2011-03-15 15:04 fgaudreault File Deleted: freeradius2-packetfence-1.0.0-1.el5.noarch.rpm
2011-03-15 15:05 fgaudreault File Added: freeradius2-packetfence-1.0.0-1.el5.noarch.rpm
2011-03-15 15:05 fgaudreault File Added: freeradius2-packetfence-1.0.0.tar.gz
2011-03-15 15:27 fgaudreault File Deleted: freeradius2-packetfence-1.0.0-1.el5.noarch.rpm
2011-03-15 15:27 fgaudreault File Deleted: freeradius2-packetfence-1.0.0.tar.gz
2011-03-15 15:27 fgaudreault File Added: freeradius2-packetfence-1.0.0-1.el5.noarch.rpm
2011-03-15 15:27 fgaudreault File Added: freeradius2-packetfence-1.0.0.tar.gz
2011-03-15 15:28 fgaudreault Note Added: 0001928
2011-03-15 17:32 obilodeau Note Added: 0001931
2011-03-16 16:28 fgaudreault Note Added: 0001933
2011-03-17 11:28 fgaudreault Note Added: 0001934
2011-03-17 14:06 fgaudreault Relationship deleted parent of 0001051
2011-03-17 14:06 fgaudreault Relationship added related to 0001051
2011-03-17 14:07 fgaudreault Note Added: 0001936
2011-03-17 14:07 fgaudreault Status assigned => closed
2011-03-17 14:07 fgaudreault Resolution open => fixed
2011-03-17 14:07 fgaudreault Fixed in Version => +1
2011-03-17 14:15 fgaudreault Status closed => resolved
2011-03-17 14:15 fgaudreault Fixed in Version +1 => trunk
2011-03-22 11:39 fgaudreault Relationship added has duplicate 0001158
2011-05-04 11:33 obilodeau Fixed in Version trunk => 2.2.0
2011-05-04 11:40 obilodeau Status resolved => closed
2011-10-25 09:05 obilodeau Target Version +2 => 2.2.0
2012-08-14 09:15 obilodeau Category radius module => radius


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker