Strip off the domain part from the User-Name

Thomas Wunder thomas.wunder at swt-bamberg.de
Fri Apr 1 18:19:50 CEST 2011


Hi,
call it crude or whatever you want ;-) but that was my last resort:
After fiddling with the code of rlm_mschap I found that all I need to do is to comment out line 1201 of rlm_mschap.c (where it says 'return RLM_MODULE_REJECT;')
Maybe it has something to do with the conditions (which look a bit complicated) that are checked in the if-statement that surrounds that return clause, maybe I've misconfigured something or maybe it's actually a bug... I don't know.

I virtually did every possible combination of 'yes' and 'no' settings for 'with_ntdomain_hack' in all of the four locations where you can set this option and none worked out. I'd really appreciate a non-local solution, i.e. something better than my nasty 'comment-out-everything-evil' hack and I would do it if I knew a little more about the internals of all that. Hopefully somebody finds some time to do it...

Please let me know when there's an official solution.

Thanks anyway!
Regards
 Tom

On Friday 01 April 2011 14:43:40 you wrote:
> On Friday 01 April 2011 14:37:34 Phil Mayers wrote:
> > Don't see the logfile...
> sorry my bad...
> 



More information about the Freeradius-Users mailing list