From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13787 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Forcing authentication on a server Date: 05 Feb 1998 15:54:52 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035153089 11138 80.91.224.250 (20 Oct 2002 22:31:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:31:29 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id HAA05859 for ; Thu, 5 Feb 1998 07:02:42 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA24157 for ; Thu, 5 Feb 1998 08:59:37 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id JAN23736; Thu, 5 Feb 1998 09:35:16 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 05 Feb 1998 08:55:41 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id IAA14895 for ; Thu, 5 Feb 1998 08:55:33 -0600 (CST) Original-Received: (qmail 27212 invoked by uid 504); 5 Feb 1998 14:55:28 -0000 Original-Received: (qmail 27209 invoked from network); 5 Feb 1998 14:55:26 -0000 Original-Received: from norne.oslo.metis.no (195.0.254.238) by claymore.vcinet.com with SMTP; 5 Feb 1998 14:55:25 -0000 Original-Received: by norne.oslo.metis.no (8.8.4/8.8.4) id PAA18864; Thu, 5 Feb 1998 15:54:52 +0100 (MET) Original-To: ding@gnus.org Original-Lines: 33 X-Mailer: Quassia Gnus v0.22/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13787 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13787 Platform: qgnus-0.22, GNU emacs 19.34, SPARC, Solaris 2.5 The FAQ says the following about using an NNTP server with authentication: (add-hook 'nntp-server-opened-hook 'nntp-send-authinfo) I've also tried (add-hook 'nntp-server-opened-hook 'nntp-send-nosy-authinfo) But this only works on an NNTP server that demands authentication, right...? I would like to force authentication on a server that doesn't request it in the first place. Ie. a username and a password gives me access to some newsgroups that aren't normally available. Question: Is this possible? Answer: of course it's possible! This is Gnus! Rephrased question: Is this simple? Answer: not really, you have to write a function that does a forced authentication on some NNTP servers, and then add this function to nntp-server-opened-hook New question: would it be an idea to add a general mechanism that would let you set username and password in the Group Info of a foreign NNTP group? - Steinar