Using %{User-Password} in sql query for mschapv2

Oliver oliver at
Sun Apr 1 03:30:37 CEST 2012

Hi everybody,

I use FreeRADIUS Version 2.1.10 on Debian with OpenVPN and
xl2tp/openswan and the rlm_sql module. I want to use the user password
in a sql query in dialup.conf. This works fine with ssh and openvpn
logins but not with mschapv2. I don't know if the password is really not
submitted or just not replaced in the sql query.

Is there a simple way to make this work?

Thanks in advance

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3868 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <>

More information about the Freeradius-Devel mailing list