Mongo and operators
Alan DeKok
aland at deployingradius.com
Wed Mar 24 13:36:16 CET 2021
On Mar 23, 2021, at 8:40 PM, Giedrius Baronas <g.baronas at gmail.com> wrote:
>
> (0) sql: ERROR: The op field for attribute ':= = (null)' is NULL, or non-existent.
That's telling.
The operator name here is ":=". The value is NULL. This says that you're returning the fields in the wrong order.
See raddb/mods-config/sql/main/mongo/queries.conf
# These queries compare the check items for the user
# in ${authcheck_table} and setup the reply items in
# ${authreply_table}. You can use any query/tables
# you want, but the return data for each row MUST
# be in the following order:
#
# 0. Row ID (currently unused)
# 1. UserName/GroupName
# 2. Item Attr Name
# 3. Item Attr Value
# 4. Item Attr Operation
Alan DeKok.
More information about the Freeradius-Users
mailing list