On 4/3/07, Bodin Bruno <bbodin01@univ-lr.fr> wrote:
Hello,
During few days I've a problem with openser 1.2 and radius authentication but I just solve it !
This is a little note about my method. Please,  you're welcome to check and comment it for a better solution.

Issue : Radius authentication fail for openser 1.2 but not for 1.1.1 version with the same config.
Description : freeradius server sucess (Sending Access-Accept in log) but it's not good in openser log.

Problem in Dictionay files of Both Radius server and Client 

in Radius Client ,
Check the servers file and  radiusclinet.conf in Radius Client in Radius Clint and also the Dictionary files .
And , If U r doing authentication with MySql of Radius , in the NAS table or in flat files check in naslist and client file n server


Search method : analyse of differences between 1.1.1 and 1.2 version
>lsof | grep radius | grep -v radiusd

openser 1.1.1 :
openser   6226       root  mem       REG                8,2    50984    1333396 /usr/lib64/libradiusclient-ng.so.2.0.0
openser   6226       root  mem       REG                8,2    71642   30076344 /opt/openser-1.1.1/lib64/openser/modules/auth_radius.so
openser   6226       root  mem       REG                8,2    41637   30076357 /opt/openser-1.1.1/lib64/openser/modules/group_radius.so
openser   6226       root  mem       REG                8,2    43683   30076346 /opt/openser-1.1.1/lib64/openser/modules/avp_radius.so
openser   6226       root  mem       REG                8,2    38171   30389824 /opt/openser-1.1.1/lib64/openser/modules/uri_radius.so

openser1.2 :
openser   6299       root  mem       REG                8,2    50952    1333316 /usr/lib64/libfreeradius-client.so.2.0.0
openser   6299       root  mem       REG                8,2    76493   30356347 /opt/openser-1.2/lib64/openser/modules/auth_radius.so
openser   6299       root  mem       REG                8,2    41769   30356361 /opt/openser-1.2/lib64/openser/modules/group_radius.so
openser   6299       root  mem       REG                8,2    44923   30356349 /opt/openser-1.2/lib64/openser/modules/avp_radius.so
openser   6299       root  mem       REG                8,2    39411   30076331 /opt/openser-1.2/lib64/openser/modules/uri_radius.so

openser 1.2.0 use libfreeradius-client.so.2.0.0 
openser 1.1.1 use libradiusclient-ng.so.2.0.0


my solve method :


>cd /usr/lib64/
>mv libfreeradius-client.so.2.0.0 libfreeradius-client.so.2.0.0.old
>ln -s libradiusclient-ng.so.2.0.0 libfreeradius-client.so.2.0.0

_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users




--
Thanks and Regards
Ravi Prakash Sunkara
ravi.sunkara@hyperion-tech.com
M:+91 9985077535
www.hyperion-tech.com
Client and Parent company :- www.august-networks.com