Hi, > On 24 Jun 2015, at 10:00, Christian Kratzer <ck-li...@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/ BR -- Tuure Vartiainen <varti...@open.com.au> Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc. _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator