[RADIATOR] AuthBy SQL and database connections
Heikki Vatiainen
hvn at open.com.au
Wed Jan 15 07:59:42 CST 2014
On 01/15/2014 10:00 AM, Vangelis Kyriakakis wrote:
> If we have an AuthBy SQL clause and a SessionDatabase SQL one, both
> connecting to the same database with the same DBUsername, will Radiator
> create two separate connections (one for each clause) or just one for
> both clauses?
Hello Vangelis,
if DBSource, DBUsername and DBAuth (after expanding any % specials)
are the same, then the connection should be the same. By 'should' I mean
that Radiator calls DBI's connect() which hides the actual workings of
the underlying layers.
If you do for example, 'sudo netstat -t -p -n' you can check the TCP
connections and the processes that use them.
Thanks,
Heikki
--
Heikki Vatiainen <hvn at open.com.au>
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.
More information about the radiator
mailing list