rlm_perl not found

2013-06-28 Thread Thomas Hermarij Maimann Andersen
Hi,

I have a yum install free radius which I'm trying to use the perl module.
I am following the examples/instructions here 
http://wiki.freeradius.org/modules/Rlm_perl


But I'm getting an error when starting radiusd.

server { # from file /etc/raddb/radiusd.conf
 modules {
  Module: Creating Auth-Type = Perl
  Module: Creating Auth-Type = ntlm_auth
  Module: Creating Auth-Type = LDAP
  Module: Creating Post-Auth-Type = REJECT
 Module: Checking authenticate {...} for more modules to load
/etc/raddb/modules/perl[7]: Failed to link to module 'rlm_perl': file not found
/etc/raddb/sites-enabled/default[51]: Failed to load module "perl".
/etc/raddb/sites-enabled/default[51]: Failed to parse "perl" entry.

Any help on how to resolve this?




--
Med venlig hilsen / With best regards
Thomas Andersen

Systems and Network Administrator

IT University in Copenhagen
Rued Langgaards Vej 7
2300 København S

Phone: +45 72185249



**NEVER DISCLOSE YOUR PASSWORD OR SHOE SIZE - NOT EVEN TO YOUR DENTIST**

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Setting VLAN based on ldap attribute id

2013-06-20 Thread Thomas Hermarij Maimann Andersen
Hi,

I've been reading the mailing list for a few days and tried to see if there are 
any posts resempling mine. There are a few "almost" but noting that has got me 
that final step.

Currently i have a radius server authenticating with ntlm to an AD.
What I wan't now, is to assign a VLAN to the user based on ExtensionAttribute1, 
which is set to a numeric value which represents the VLAN id. E.g. 1001

I am currently messing with sites-enabled/default in the post-auth section 
where I try to set Tunnel-Private-Group-Id to the number they have in their 
attribute, but I have no clue on how to link that.

Please help.



--
Med venlig hilsen / With best regards
Thomas Andersen

Systems and Network Administrator

IT University in Copenhagen
Rued Langgaards Vej 7
2300 København S

Phone: +45 72185249



**NEVER DISCLOSE YOUR PASSWORD OR SHOE SIZE - NOT EVEN TO YOUR DENTIST**

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html