Hi,
DNews provides no mechanism to disconnect people. You can disable the cache by using the dnews.conf setting "auth_skip_cache true".
- Roydon L.
[EMAIL PROTECTED] wrote:
Howdy, We are setting up a USENET server that discontinues access for a user after she has been on the system for a set period. The authentication method is USERS.DAT. I've programmed a small application to remove the user from USERS.DAT at the correct time. The helper application also disconnects any current sockets from that user.
Unfortunately, when the NNTP client notices the disconnect and tries to reconnect, DNEWS is letting her in again. The logs (see below) refer to a "user cache"--perhaps there is a way to disable this cache? We want users to see an authentication failure if their time is up.
Aside from this cached credentials problem, any general suggestions about ways to disconnect people are welcome.
Thanks! Gordy
P.S. We have deleted the special entry for 127.0.0.0 in Access.Conf, lest you suspect the foreign IP address is the reason for the continued access.
19 14:37:51 1:info: nntp: Setting TCP_NODELAY for socket [1] 19 14:37:51 1:info: nntp: Doing reverse DNS lookup (xfailed) 19 14:37:51 1:info: nntp: Reverse DNS completed 00155448 19 14:37:51 1:info: nntp: Doing forward DNS lookup (localhost) 19 14:37:51 1:info: nntp: forward DNS completed 19 14:37:51 1:info: max_mb = 0, max_con=0, max_users=0 areamb=0 19 14:37:51 1:info: chan: Currently 2 users (2,0) from a_* 127.0.0.1 19 14:37:51 1:info: Reverse Name lookup failed for {127.0.0.1} 19 14:37:51 1:warn: nntp: connection [1:440] From 127.0.0.1 127.0.0.1 19 14:37:51 1:info: skip 0 all 89421 19 14:37:51 1:info: nntp: Setting TCP_NODELAY for socket [1] 19 14:37:51 1:info: key: Loaded ok flags (0) NonFree NoSpoolLimit 19 14:37:51 1:info: cmd: Do cmdx[1:127.0.0.1] {MODE READER} {mode} 19 14:37:51 1:info: cmd: authinfo user helen 19 14:37:51 1:info: cmd: authinfo pass xxxxxx 19 14:37:51 1:info: Lookup user helen via Cache 19 14:37:51 1:info: Found user cache entry [0] 19 14:37:51 1:info: User lookup (helen) OK, 1 groups 19 14:37:51 1:info: chan: helen in usergroup [0] customers 19 14:37:51 1:info: LOGGEDIN: max_mb = 0, max_con=2, max_users=0 19 14:37:51 1:info: chan: Currently 1 users from a_* 19 14:37:51 1:info: chan: Currently 1 users (1,0) from helen 127.0.0.1
