configuration for realm with prefix and suffix

Mike Cisar mlists at starmania.net
Fri Aug 24 17:46:59 CEST 2007


> > well... so what we get is in the form  prefix/username at suffix.com
> > I'm having trouble wrapping my head around how to configure our server
to
> > with these.
> >
> You'll need to use the hints file. The "realm" module won't run twice.
> e.g. one way to strip the prefix/ and drop it would be:
> 
> DEFAULT	User-Name =~ ".*/(.*@.*)"
> 	User-Name := "%{1}"

Thanks Phil, I'll give that a try and see if it does the trick.

Cheers,
>>>>> Mike <<<<<




More information about the Freeradius-Users mailing list