Hash/Salt password with mysql

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sun Aug 9 20:22:38 CEST 2015


> 
> update control {
> 	Tmp-String-0 := "%{sql:SELECT hash FROM users WHERE
> <USERNAME_CONNECTING = username>}"
> 	Tmp-String-1 := "%{sql:SELECT salt FROM users WHERE
> <USERNAME_CONNECTING = username>}"
> 
> }
> 

WHERE username='%{User-Name}'

man unlang

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150809/912cf741/attachment.sig>


More information about the Freeradius-Users mailing list