Hello Peter -
On Thu, 10 Jan 2002 23:53, Peter Zhu wrote: > Hello, > > I have installed radiator radius, we use database interbase to > authenticate users. > I want to know: > 1. How can I config the radius so that it disconnects every 4 hours You would send a Session-Timeout reply attribute (seconds): AddToReply Session-Timeout = 14400 > 2. How can I restrict the dialup number. E.g. we have 3 different > dialup number (A=12345, B=56789, C=00000) I want to restrict some users > to use only number A, some only to number B and others to number C > For the users in question you would define check attributes like this: userA Called-Station-Id = 12345 userB Called-Station-Id = 56789 userC Called-Station-Id = 00000 In your AuthBy SQL clause you would do this: # define AuthBy SQL <AuthBy SQL> ...... AuthSelect select PASSWORD, CHECKATTR, REPLYATTR \ from SUBSCRIBERS where USERNAME = '%n' AuthColumnDef 0, Password, check AuthColumnDef 1, GENERIC, check AuthColumnDef 2, GENERIC, reply ..... AddToReply Session-Timeout = 14400 ..... </AuthBy> Have a look at section 6.28 in the Radiator manual ("doc/ref.html"). regards Hugh -- Radiator: the most portable, flexible and configurable RADIUS server anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X. - Nets: internetwork inventory and management - graphical, extensible, flexible with hardware, software, platform and database independence. === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.