【发布时间】:2020-05-23 02:27:47
【问题描述】:
我有两个表(radcheck 和其他用户) 我想首先检查“radcheck”表中是否存在用户 如果用户不在那里,我想检查“其他用户”表。 这是我到目前为止所做的,但每次我尝试都会出现错误或根本不起作用。 如果您知道我可以做到的更好方法,那也会有所帮助。谢谢
authreply_table = radcheck
authreply_table2 = otherusers
nauthorize_reply_query = "\
select id, username, attribute, value, op \
from ${authreply_table} \
CROSS JOIN ${authreply_table2} \
where username = '%{sql-user-name}' \
order by id"
【问题讨论】:
标签: mysql sql freeradius radius