Gnus development mailing list
 help / color / mirror / Atom feed
* New authinfo setup
@ 1998-02-17 11:51 Harry Putnam
  1998-02-17 20:17 ` Steinar Bang
  1998-02-19  0:13 ` Jason R Mastaler
  0 siblings, 2 replies; 4+ messages in thread
From: Harry Putnam @ 1998-02-17 11:51 UTC (permalink / raw)


Group,

Nice job on the 0.29 info section covering the new authinfo stuff.

Good examples too.

Still having a problem opening sunsite.auc.dk though

I have the emacs.ding group like so in group buffer:
 nntp+sunsite.auc.dk:emacs.ding  (as a foreign group)

When ever I start qgnus 0.29 (before making an .authinforc file)
I am prompted for my main nntp server user name and password and also
for a user name and password for "sunsite.auc.dk".

The prompt looks like:
NNTP (sunsite.auc.dk) user name:
NNTP (sunsite.auc.dk) password:

If I hit <RET> and <RET> repectively, gnus gets the emacs.ding postings.
So apparently defaults are all thats needed.

Now since I made an .authinforc file that looks like;

machine enews.newsguy.com login reader password xxxxxxxx
machine sunsite.auc.dk login <don't know> password <don't know>

Every thing I could think of to put in the second line for login and
password (including login anonymous password reader@newsguy.com)
Draws a "502 authentication error"

If I leave the line out, I am back to hitting <RET> at the prompts for 
nntp+sunsite.auc.dk.
-- 

Harry Putnam  reader@newsguy.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New authinfo setup
  1998-02-17 20:17 ` Steinar Bang
@ 1998-02-17 12:47   ` Harry Putnam
  0 siblings, 0 replies; 4+ messages in thread
From: Harry Putnam @ 1998-02-17 12:47 UTC (permalink / raw)


Steinar Bang <sb@metis.no> writes:

[...]
> 
> Hm... if sunsite doesn't challenge for authentication, you shouldn't
> need that last line.  
> 
> Do you have 
> 	(add-hook 'nntp-server-opened-hook 'nntp-send-authinfo)
> set? What does
> 	C-h v nntp-server-opened-hook RET
> say?

Yes, it was set to nntp-send-authinfo
> 
> Try removing nntp-send-authinfo from nntp-server-opened-hook, and
> removing the sunsite line from ~/.authinfo.
> 

Bingo!  Thanks, should have caught that myself.

-- 

Harry Putnam  reader@newsguy.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New authinfo setup
  1998-02-17 11:51 New authinfo setup Harry Putnam
@ 1998-02-17 20:17 ` Steinar Bang
  1998-02-17 12:47   ` Harry Putnam
  1998-02-19  0:13 ` Jason R Mastaler
  1 sibling, 1 reply; 4+ messages in thread
From: Steinar Bang @ 1998-02-17 20:17 UTC (permalink / raw)


>>>>> Harry Putnam <reader@newsguy.com>:

> Now since I made an .authinforc file that looks like;

> machine enews.newsguy.com login reader password xxxxxxxx
> machine sunsite.auc.dk login <don't know> password <don't know>

> Every thing I could think of to put in the second line for login and
> password (including login anonymous password reader@newsguy.com)
> Draws a "502 authentication error"

> If I leave the line out, I am back to hitting <RET> at the prompts for 
> nntp+sunsite.auc.dk.

Hm... if sunsite doesn't challenge for authentication, you shouldn't
need that last line.  

Do you have 
	(add-hook 'nntp-server-opened-hook 'nntp-send-authinfo)
set? What does
	C-h v nntp-server-opened-hook RET
say?

Try removing nntp-send-authinfo from nntp-server-opened-hook, and
removing the sunsite line from ~/.authinfo.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New authinfo setup
  1998-02-17 11:51 New authinfo setup Harry Putnam
  1998-02-17 20:17 ` Steinar Bang
@ 1998-02-19  0:13 ` Jason R Mastaler
  1 sibling, 0 replies; 4+ messages in thread
From: Jason R Mastaler @ 1998-02-19  0:13 UTC (permalink / raw)


Harry Putnam <reader@newsguy.com> writes:

> Nice job on the 0.29 info section covering the new authinfo stuff.

Yes, looks good except for a small typo.

1998-02-18  Jason R Mastaler  <jason@4b.org>

	* gnus.texi: Corrected typo.

--- texi/gnus.texi.orig	Mon Feb 16 22:59:47 1998
+++ texi/gnus.texi	Wed Feb 18 16:57:37 1998
@@ -8891,7 +8891,7 @@
 former server, while the latter has only the login name listed, and the
 user will be prompted for the password.
 
-Remember to not leave the @file{~/.netrc} world-readable.
+Remember to not leave the @file{~/.authinforc} world-readable.
 
 @item nntp-server-action-alist 
 @vindex nntp-server-action-alist 



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-02-19  0:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-17 11:51 New authinfo setup Harry Putnam
1998-02-17 20:17 ` Steinar Bang
1998-02-17 12:47   ` Harry Putnam
1998-02-19  0:13 ` Jason R Mastaler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).