Mongo and operators

Alan DeKok aland at deployingradius.com
Tue Mar 30 01:07:45 CEST 2021


On Mar 29, 2021, at 6:39 PM, Giedrius Baronas <g.baronas at gmail.com> wrote:
> What should be the result of the query so that there is no error message?
> 
> [ { attribute: 'User-Name', value: 'test', op: ':=' },
>   { attribute: 'User-Password', value: '12345', op: ':=' } ]\

  The results should be the same 4 columns as returned by the SQL modules:

ID
Attribute
value
op

{ "id" : 0, "attribute" : "User-Name", "Value" : "pippo", "op" : "==" }
{ "id" : 0, "attribute" : "ClearText-Password", "value" : "pwd1", "op" : ":=" }

  It turns out the documentation was wrong.  I'll go push a fix.

  Alan DeKok.




More information about the Freeradius-Users mailing list