files: How to choose SQL entry for users?

George Koulyabin jumbo at vinf.ru
Mon Aug 24 13:22:56 CEST 2009


Hi.

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 { }. But I think that this
solution is unsecure and wrong.

On Fri, Aug 21, 2009 at 07:14:32PM +0100, Ivan Kalik wrote:
> > users:
> >  DEFAULT SQL-Group == 'Group1'
> >   ...
> >
> > But files chooses sql_acct (alphabetic first) as sql entry.
> > How to choose sql_auth?
>
> http://wiki.freeradius.org/Rlm_ldap#Group_Support
>
> Same applies to sql groups.

On Fri, Aug 21, 2009 at 07:14:32PM +0100, Ivan Kalik wrote:
> > users:
> >  DEFAULT SQL-Group == 'Group1'
> >   ...
> >
> > But files chooses sql_acct (alphabetic first) as sql entry.
> > How to choose sql_auth?
>
> http://wiki.freeradius.org/Rlm_ldap#Group_Support
>
> Same applies to sql groups.
>
> Ivan Kalik
> Kalik Informatika ISP



More information about the Freeradius-Users mailing list