Hello

 

In order to replace the ldap module wich can’t cope with multi valued attributes (I know the ldap directory is inadequate for freeradius, but I can not change it), I am trying to use perl module.

 

First I get a strange error when starting freeradius with the perl module, if I include the ldap library in the perl script I get this a the starting of freeradius:

 

Can't locate loadable object for module IO in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/lib/perl/5.10/IO/Handle.pm line 9

 

 

I aml using a debian. I found a workaround by starting freeradius with : “LD_PRELOAD=/usr/lib/libperl.so.5.10 /usr/sbin/freeradius -X -d /etc/freeradius”. But I can figure out why, is there a way to clean this error in a more elegant way ?

 

 

3 hashes are given to the module and  filled with value-pairs (Attribute names and values):

 

        #  %RAD_CHECK           Read-only       Check items

        #  %RAD_REQUEST         Read-only       Attributes from the request

        #  %RAD_REPLY           Read-write      Attributes for the reply

 

Why are %RAD_CHECK            and %RAD_REQUEST Read-Only?  I would like to add check item and modify le request. Is there a way to make them Read-write?

 

 

Regards,