3GPP: multiple attributes, port from file based authentication to sql

Alan DeKok aland at deployingradius.com
Sat Mar 24 16:36:14 CET 2018


On Mar 24, 2018, at 9:14 AM, Wolfgang Zeitler <zeitler.wolfgang at gmx.de> wrote:
> This is understood, but my attributes have to be validated with AND. For my understanding, I would need something like that:

  No.

> +----+----------------+--------------------+------------------+------+--------------------+------------------+------+
> | id | UserName       | Attribute1         | Value1           | Op1  | Attribute2         | Value2           | Op2  | 
> +----+----------------+--------------------+------------------+------+--------------------+------------------+------+
> |  1 | user           | Cleartext-Password | password         | :=   | 3GPP-IMSI          | 262011234567     | ==   | 
> 
> Am I wrong?

  Yes.

  You just list the attributes, as in the "users" file.  The only real change is that you have to put a "userName" field in every row.

  As I said, you can just copy the "users" file entry to SQL, pretty much as-is.  How about trying that instead of arguing?

  Alan DeKok.





More information about the Freeradius-Users mailing list