[RADIATOR] Best way to strip leading DOMAIN\ with PEAP
Christian Kratzer
ck at cksoft.de
Wed Jun 24 02:52:22 CDT 2015
Hi,
On Wed, 24 Jun 2015, Tuure Vartiainen wrote:
> Hi,
>
>> On 24 Jun 2015, at 10:00, Christian Kratzer <ck-lists at cksoft.de> wrote:
>>
>> I have a couple of windows users that send a DOMAIN\ prefix to their username.
>>
>> What would be the best way to strip these things when using PEAP with AuthBy SQL.
>>
>> We are currently passing %X (eap identity) as the username with PEAP and %w (orig username) in the TTLS case.
>>
>
> by using RewriteUsername I would say. E.g.
>
> RewriteUsername s/^([^\\]*)\\(.*)/$2/
and this would not interfere with EAP handling in PEAP or TTLS ?
Greetings
Christian
>
>
> BR
>
--
Christian Kratzer CK Software GmbH
Email: ck at cksoft.de Wildberger Weg 24/2
Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden
Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart
Mobile: +49 171 1947 843 Geschaeftsfuehrer: Christian Kratzer
Web: http://www.cksoft.de/
More information about the radiator
mailing list