<AuthBy EMERALD4>
authenticates users from
the Emerald version 4 database from IEA website .
It also stores accounting and logs to the Emerald 4 SQL database.goodies/emerald4.cfg
in your Radiator
distribution.<AuthBy EMERALD>
for
Emerald versions older than Emerald 4 is still distributed with Radiator
but will be removed in a future Radiator release.<AuthBy EMERALD4>
understands also the same
parameters as <AuthBy SQL>
. For more
information, see Section 3.41. <AuthBy SQL>.AuthSelect exec RadGetUser %0, NULL
DNISGroupQuery select dn.DNISNumber from AccountTypes a, \ DNISNumbers dn where a.AccountType="%0" and \ a.DNISGroupID=dn.DNISGroupID \ and dn.DNISNumber="%1"
PortAccessQuery select sa.StartTime, sa.StopTime, \ sa.MaxSessionLength from Servers s, ServerAccess sa, \ AccountTypes at\ where s.IPAddress="%{Client:Name}" \ and s.ServerID = sa.ServerID \ and (sa.Port=%0 or sa.Port=9214328)\ and sa.AccountTypeID=at.AccountTypeID\ and at.AccountType="%1"\ order by sa.Port
RadUserQuery exec RadGetConfigs %0
ClientQuery select IPAddress, Secret, Community, ServerID \ from Servers
RoamQuery exec RadRoamCache