Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: pb connect to a news server with authentification ?

From: gscottjones:mchsi at: 24-Sep-2002 16:27

Hi, Patrick, From: "patrick.scotto"
> need some help please , > i wrote this to send a message to a news server , but this one needs an > authentification like > AUTHINFO USER testmod > and AUTHINFO PASS qq > how to modify this program to add authentification ?
rest of message: http://www.escribe.com/internet/rebol/m25846.html There could be more than one thing going on here, but I think that the simplest thing to try is to change the following line: nntp/url: nntp://200.75.102.165 to nntp/url: nntp://testmod:[qq--200--75--102--165] The nntp scheme should parse out the user name (testmod) and password (qq), as long as there is not an @ in the user name. When the server asks nntp for the authentication, it will supply it, hopefully. What is curious is that having trace/net on should have revealed the place at which authentication was requested, which it didn't. So there may be more than one thing going on. Apparently, authentication for nntp is not a part of the original specification, and is an extension, and not implemented uniformly. Give the above change a try before you do much else. Good luck. --Scott Jones