Possible bug in rlm_perl

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Tue Apr 21 18:43:54 CEST 2009


Hi,

> Ok, but if I do not filter out the extra slashes then after the perl  
> module returns, freeradius gives the error that the User-Name field does 
> not match the peap identity. Then it shows the User-Name with too many 
> slashes (four slashes). If, in my perl module, I filter out two slashes 
> then everything works fine except for usernames that begin with "t". If I 
> just use regular usernames (without the domain name ISD\\) then the perl 
> module works fine. Since windows XP machines send the domain with the 
> username by default, I must find some way to cope with the slashes. My 
> perl module is very short. If I eliminate everything but a simple 
> return_ok I STILL get the error that the User-Name does not match the eap 
> identity. So, if I simply enter the module and immediately return and 
> still get an error that user-name does not match the eap identity is this 
> still me? I always must filter out the extra slashes ONLY if the username 
> contains a domain.

Stripped-User-Name - the code should deal with domains and stuff
at the beginning and give you what you want. you can then proxy etc
off that other info if you need (or use it during the NTLM stuff if
you use that.

alan



More information about the Freeradius-Users mailing list