acct_postgresql+auth_ldap

Alan DeKok aland at deployingradius.com
Fri Oct 9 22:16:20 CEST 2009


José Johnny RANDRIAMAMPIONONA wrote:
> I d like to know if someone has already tried to do the accounting (only
> accounting) thing with postgres and authentication with OpenLdap? 

  Yes.  Configure SQL and LDPA.  Uncomment "ldap" in authorize &&
authenticate.  Uncomment "sql" in accounting.

> There is nothing on wiki ...

  How about the comments in theconfig file?

 I am wondering if I have to write some scripts to
> save the user id, his connection duration ect ...in postgres database.

  Yes... see the sample queries and schema.  This *is* documented.

> I
> want to implement the following situation: I don't care what my
> ldap_server ll return when a user sends a access request packet, but I
> want to save the name, passwd, the connection duration(so at this time I
> initialize the connection time which will be incremented until the
> disconnection time ).

  I'm not sure what this means.

  Alan DeKok.



More information about the Freeradius-Users mailing list