From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14196 Path: main.gmane.org!not-for-mail From: "Edward J. Sabol" Newsgroups: gmane.emacs.gnus.general Subject: Re: feedback on AUTHINFO in qgnus-0.27 Date: Fri, 20 Feb 1998 16:28:31 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <199802202128.QAA21169@alderaan.gsfc.nasa.gov> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035153428 13504 80.91.224.250 (20 Oct 2002 22:37:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:37:08 +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 NAA22421 for ; Fri, 20 Feb 1998 13:31:19 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA16973 for ; Fri, 20 Feb 1998 15:29:28 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id PAH07363; Fri, 20 Feb 1998 15:29:20 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 20 Feb 1998 15:28:47 -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 PAA07344 for ; Fri, 20 Feb 1998 15:28:39 -0600 (CST) Original-Received: (qmail 21687 invoked by uid 504); 20 Feb 1998 21:28:33 -0000 Original-Received: (qmail 21684 invoked from network); 20 Feb 1998 21:28:32 -0000 Original-Received: from alderaan.gsfc.nasa.gov (128.183.127.237) by claymore.vcinet.com with SMTP; 20 Feb 1998 21:28:32 -0000 Original-Received: by alderaan.gsfc.nasa.gov (950413.SGI.8.6.12/951211.SGI.AUTO) id QAA21169; Fri, 20 Feb 1998 16:28:31 -0500 Original-To: ding@gnus.org In-reply-to: (message from Lars Magne Ingebrigtsen on 20 Feb 1998 03:31:45 +0100) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14196 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14196 Excerpts from mail: (20-Feb-98) Re: feedback on AUTHINFO in qgnus-0.27 by Lars Magne Ingebrigtsen "Edward J. Sabol" writes: Ed> It sounds more complicated than it really is. Basically, if there's an entry Ed> for the server in ~/.authinforc, then send authinfo for that server whether Ed>> challenged or not. Lars Magne Ingebrigtsen writes: Lars> Hm. Some servers only challenge when entering certain groups. The Lars> user may wish to stick the machine name and the user name into the Lars> file, but not the password, and it would be annoying if that would Lars> lead Gnus to send the authinfo (and promt the user for that Lars> unnecessary password) even if the user doesn't want to read the Lars> password-protected groups. Steinar Bang writes: Steinar> Does it matter if Gnus sends authinfo before it is challenged? Lars> It is annoying to have to type a password unless it is really Lars> required. Hmmmmm. Good point. I haven't had a chance to upgrade to the latest Quassia yet, so forgive the question, but does the netrc parsing code you snarfed from ange-ftp parse the macdefs (marco definitions)? If not, maybe it could be modified to do so. So instead of semantically overloading the username as you suggested, we could define a macro which could be used as a flag to determine whether to force authinfo or not. For example, machine news.foobar.com login baz password xyzzy macdef nntp_init force authinfo Later, Ed