15 Jul
2015
15 Jul
'15
4:16 p.m.
On Jul 15, 2015, at 4:10 PM, Pyromancer <pyromancer@inkubus-sukkubus.co.uk> wrote:
The database entry looks like this:
mysql> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'xktester' ORDER BY id; +------+------------+----------------------+------------------------------+----+ | id | username | attribute | value | op | +------+------------+----------------------+------------------------------+----+ | 3983 | xktester | Cleartext-Password | correct_horse_battery_staple | == |
Using "==" is wrong. Use ":=". See the Wiki, and look for rlm_sql. This is documented there. Alan DeKok.