files: How to choose SQL entry for users?

Ivan Kalik tnt at kalik.net
Mon Aug 24 13:47:52 CEST 2009


> I tried to use sql_auth-SQL-Group like ldap example (DEFAULT
> sql_auth-SQL-Group == "Group1"), but FR-server
> failed with error 'users[1]: Parse error (check) for entry DEFAULT:
> Invalid octet string "Group1" for
> attribute name "sql_auth-SQL-Group"'. This error says that attribute is
> not defined into dictionary.
> I had got success when 'sql_auth' was defined as last entry into
> instantiate { }.

Yes, you do need to list them in instatiate if files are instatiated first
in startup sequence. But you can change the order the modules are listed.

> But I think that this
> solution is unsecure and wrong.

Why?

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list