|
since you are authenticating against an SQL
database, you could just create a column in the table that has your
authentication details called something like auth_dialup_flag as a boolean type
(i don't know the exact Oracle syntax, i use Informix ;), and set it to 1 if the
person is allowed to authenticate using the dialup, and 0 otherwise. set
your AuthBySql AuthSelect statement for the dialin authentication realm to
something like 'select auth_password from authentication where auth_username =
'%u' and auth_dialup_flag = 1'. when you want to disable the dialin access
for the user, all you have to do is a simple 'update authentication set
auth_dialup_flag = 0 where auth_username =
'useryouwanttodisable';'.
hope this helps
---
Joel Michael System Administrator Diggy Internet Services
90 Petrie Terrace Brisbane Qld 4000 Australia Ph: +61 7 3367 3555
Fax: +61 7 3367 3544 Mob: 0401 039 462
|
Title: How to disable a user
- (RADIATOR) How to disable a user Stephen Chen
- Joel Michael
