unix auth with mysql radreply

Ivan Kalik tnt at kalik.net
Thu Jul 3 15:47:27 CEST 2008


>        It uses both unix accounting (which main users are there)

So it's not accounting then. You are using (unix) system accounts for
authentication.

> and
>mysql at the same time for accounting and logging.
>
>        Just i have a little problem.
>        If i create a user on mysql and give an attribute in radreply, it
>works fine.

Good.

>But if i create an entry in radreply (Even tried with radgroupreply and
>usergroup) with unix/shadow authentication, i cant get the reply message.

Can you post those mysql entries? It should work, so something is wrong
with them. Post them and output of radiusd -X.

>Just radacct records works fine without a problem.
>
>       Do i have to enable smthing else on radius.conf or sql.conf to use
>radreply for unix accounting?

No.

>
>And also i wonder is it possible to give a default value for everyuser
>that authenticated via freeradius? A default group for everybody???
>

That would be a DEFAULT entry in users file.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list