From:	ADVAX::"mcnc!VM1.NoDak.EDU!gerland%UBVMSB.CC.BUFFALO.EDU" "James R. Gerland"  3-FEB-1991 20:14:49.91
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
CC:	
Subj:	Version 6.0 and NNTP Authentication

Received: by ADVAX.DECnet (utk-mail11 v1.5) ; Sun, 3 Feb 91 20:13:13 EST
Received:  from mcnc by ge-dab.GE.COM (5.61/GE-DAB 1.15) with UUCP
	id AA08028 for ; Sun, 3 Feb 91 19:06:47 -0500
Received: from VM1.NoDak.EDU by mcnc.mcnc.org (5.59/MCNC/6-11-90)
	id AA20913; Sat, 2 Feb 91 15:31:46 -0500
	for ARISIA.DNET.ge.com!EVERHART
Message-Id: <9102022031.AA20913@mcnc.mcnc.org>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 5377; Sat, 02 Feb 91 14:31:29 CST
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 7578; Sat, 02 Feb 91 14:31:28 CST
Date:         Fri, 1 Feb 91 15:50:35 GMT
Reply-To: "James R. Gerland" <mcnc!VM1.NoDak.EDU!gerland%UBVMSB.CC.BUFFALO.EDU>
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
Comments:     Warning -- original Sender: tag was news@ACSU.BUFFALO.EDU
From: "James R. Gerland" <mcnc!VM1.NoDak.EDU!gerland%UBVMSB.CC.BUFFALO.EDU>
Subject:      Version 6.0 and NNTP Authentication
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
 
I have ANUNews Version 6.0 working great as an nntp newsreader here using
WIN/TCP to speak with a Unix machine here for its newservice.
 
However, I am unable to post anything because our Unix machine has the
nntp authentication patches applied to it.
 
My question is this:
 
Can anyone tell me enough about how ANUNews sends its request to the
server so I can add this to the code and thus we would all benefit?
 
I developed the necessary code in FORTRAN and I've applied these patches to
VNEWS and it works great as both a newsreader and a newsposter.
 
I would like to do the same for ANUNews but...
 
My knowledge of C is *VERY* limited and ANUNews looks very complex and to
me intimidating.
 
If anyone can give me examples of the necessary ANUNews C code or is willing to
attempt to patch ANUNews for me, I would be very appreciative.
 
Here is the FORTRAN code that works:
 
c
c VNEWS 1.3-4.1
c Jim Gerland 07/12/90 : added authinfo commands
c
c+
c       Send an AUTHINFO command to the server.  We then get back
c       whether we're authorized to use this server or not.
c-
        If (.not. Srv_Cmd('authinfo user ' // Srv_User,Buf,Lg)) Then
          Stop 'Server failure'
        EndIf
c
        If (.not. Srv_Cmd('authinfo pass ' // Srv_Pass,Buf,Lg)) Then
          Stop 'Server failure'
        EndIf
c
 
 
Where Srv_User and Srv_Pass are valid userid and password for our server
authentication.
 
Thanks in advance.
Jim...
