You are looking at the wrong proc. Radusers uses the RU_ procs, not
the RadUsers proces (Emerald uses the RadUsers proc to export out
the list of users).
> ================
>
> if exists (select * from sysobjects where id = object_id('dbo.RadUsers') and
> sysstat & 0xf = 4)
> drop procedure dbo.RadUsers
> GO
>
> CREATE PROCEDURE RadUsers AS
> SELECT sa.Login, sa.Password, sa.Email, d.MailDomain, sa.AccountType,
> sa.LoginLimit, sa.TimeLeft,
> MasterExpire=DateAdd(Day, (ma.Extension+ma.OverDue+1), maExpireDate),
> SubExpire=DateAdd(Day, sa.Extension, saExpireDate)
> From MasterAccounts ma, SubAccounts sa, Groups g, Domains d
> Where ma.CustomerID = sa.CustomerID
> AND ma.GroupID = g.GroupID
> AND g.DomainID = d.DomainID
> AND sa.Login<>' '
> AND ma.Active = 1 AND sa.Active = 1
>
> GO
--Dale E. Reed Jr. Emerald and RadiusNT__________________________________________IEA Software, Inc. www.iea-software.com