On Wed, Aug 06, 2003 at 02:31:50PM +0200, Patrick wrote: > Hi, > > im just reposting this after trawling the mailing lists i still havent > seem to have come up with anything usefull... im trying to run login time > but here is my confusing bit ... currently im using both users file and sql > database ... i add the line into the users file with login-time and it > works user cant login > > eg : > > xsitest0005 Password == "xsitest0005", Login-Time := "Any0000-1000"
these two are check items > Service-Type = Framed-User, > Framed-Protocol = PPP the are reply items. > so in sql i make a user xsitest0001 > and in rad group reply i put the following stuff : > > mysql> select * from radgroupreply where GroupName = "XSInetDaytime"; > +----+---------------+-----------------+----+-------------+------+ > | id | GroupName | Attribute | op | Value | prio | > +----+---------------+-----------------+----+-------------+------+ > | 3 | XSInetDaytime | Service-Type | := | Framed-User | 0 | > | 4 | XSInetDaytime | Framed-Protocol | := | PPP | 0 | > | 6 | XSInetDaytime | Login-Time | := | Al0000-0020 | 0 | > +----+---------------+-----------------+----+-------------+------+ > 3 rows in set (0.00 sec) here you show some reply and some check items (from your users file example) but they are all in the reply table. just put check items in the check table and it should work. Oliver. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
