<div dir="ltr">Hi! I am experimenting with USENET again - after a 20 year gap - and have both built tin 2.4.0 and also used the version from brew.sh / Homebrew on OSX.<div><br></div><div>I have a INN server with the capabilities below*, and something about them seems to trigger Tin into believing that the server needs/wants the user to authenticate; entering a blank username and password causes Tin to disconnect and quit.</div><div><br></div><div>I can guarantee that authentication is not needed - I run the server - and that slrn, gnus, nn, seamonkey all work fine.</div><div><br></div><div>Presumably something about the capabilities is triggering the authentication code.</div><div><br></div><div>I ran dtruss on the execution of tin to establish how far in the connection process it gets, which I have recreated below.</div><div><br clear="all"><div>Is there a way to convince Tin that auth is not required?</div><div><br></div><div>I skimmed auth.c and found the following comment:</div><div><br></div><div><div>         * At this point, either authentication with username/password pair from</div><div>         * .newsauth has failed or there's no .newsauth file respectively no</div><div>         * matching username/password for the current server. If we are not at</div><div>         * startup we ask the user to enter such a pair by hand. Don't ask him</div><div>         * at startup except if requested by -A option because if he doesn't need</div><div>         * to authenticate (we don't know), the "Server expects authentication"</div><div>         * messages are annoying (and even wrong).</div><div>         * UNSURE: Maybe we want to make this decision configurable in the</div><div>         * options menu, too, so that the user doesn't need -A.</div><div>         * TODO: Put questions into do_authinfo_user() because it is possible</div><div>         * that the server doesn't want a password; so only ask for it if needed.</div></div><div><br></div><div>...but I can't establish the current / expected behaviour from the code.</div><div><br></div><div>Thanks!</div><div><br></div><div>    - alec</div><div><br></div><div><br></div><div><br></div><div>--</div><div>*for reference</div><div><br></div><div><div>200 usenet InterNetNews server INN 2.6.0 ready (transit mode)</div><div>CAPABILITIES</div><div>101 Capability list:</div><div>VERSION 2</div><div>IMPLEMENTATION INN 2.6.0</div><div>AUTHINFO USER</div><div>MODE-READER</div><div>.</div><div>MODE READER</div><div>200 usenet InterNetNews NNRP server INN 2.6.0 ready (posting ok)</div><div>CAPABILITIES</div><div>101 Capability list:</div><div>VERSION 2</div><div>IMPLEMENTATION INN 2.6.0</div><div>AUTHINFO SASL</div><div>HDR</div><div>LIST ACTIVE ACTIVE.TIMES COUNTS DISTRIB.PATS DISTRIBUTIONS HEADERS MODERATORS MOTD NEWSGROUPS OVERVIEW.FMT SUBSCRIPTIONS</div><div>OVER</div><div>POST</div><div>READER</div><div>SASL DIGEST-MD5 NTLM CRAM-MD5</div><div>STARTTLS</div><div>.</div></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><a href="http://dropsafe.crypticide.com/aboutalecm" target="_blank">http://dropsafe.crypticide.com/aboutalecm</a><br></div>
</div></div>