<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">no, but if you run tin in debug mode ("-D 1") the reason for trying to auth<br>
should show up in the log.<br></blockquote><div><br></div><div>Hi Urs!</div><div><br></div><div>This appears substantially similar to what I sent previously.</div><div><br></div><div>The message "nntp_open() authenticate()" corresponds with auth.c line 1432 </div><div><br></div><div>...and if I read it right it has decided to authenticate on the basis of:</div><div><br></div><div> if (force_auth_on_conn_open || </div><div> (nntp_caps.type == CAPABILITIES && </div><div>   !nntp_caps.reader && </div><div>   (nntp_caps.authinfo_user || (nntp_caps.authinfo_sasl & SASL_PLAIN))))<br></div><div><br></div><div>Adding some extra debug statements shows that this expression evaluates to True because all of:</div><div><br></div><div>* nntp_caps.type == CAPABILITIES<br></div><div>* !nntp_caps.reader <br></div><div>* nntp_caps.authinfo_user</div><div><br></div><div>...are true (and the other expressions are false) but I don't follow why this tuple of booleans should require Tin to authenticate?</div><div><br></div><div>There is a comment in the code:</div><div><br></div><div><div>         * If the user wants us to authenticate on connection startup, do it now.<br></div><div>         * Some news servers return "201 no posting" first, but after successful</div><div>         * authentication you get a "200 posting allowed". To find out if we are</div><div>         * allowed to post after authentication issue a "MODE READER" again and</div><div>         * interpret the response code.</div></div><div><br></div><div>...but again this seems not relevant to the situation?</div><div><br></div><div>I am wondering whether this is a bug/not commonly encountered case, because I am connecting to INN from an IP which also _feeds_ the server, so article Feeding requires Auth but article Reading/Posting does not? </div><div><br></div><div>That might line up because, Gnus, etc, all do MODE READER and _then_ check whether they need to authenticate - which, in this case, they do not.</div><div><br></div><div>    -a</div><div><br></div><div><br></div><div><br></div><div><div>nntp_open() BEGIN</div><div>nntp_open() usenet:119</div><div><<< [16:22:36.471330] 200 usenet InterNetNews server INN 2.6.0 ready (transit mode)</div><div>nntp_open() usenet InterNetNews server INN 2.6.0 ready (transit mode)</div><div>new_nntp_command(CAPABILITIES)</div><div>>>> [16:22:36.472123] CAPABILITIES</div><div><<< [16:22:36.664325] 101 Capability list:</div><div>new_nntp_command(CAPABILITIES) OK</div><div><<< [16:22:36.690737] VERSION 2</div><div><<< [16:22:36.690945] IMPLEMENTATION INN 2.6.0</div><div><<< [16:22:36.691058] AUTHINFO USER</div><div><<< [16:22:36.691162] MODE-READER</div><div>nntp_open() authenticate()</div><div>nntp_open() MODE READER</div><div>>>> [16:22:36.691528] MODE READER</div><div><<< [16:22:37.959359] 200 usenet InterNetNews NNRP server INN 2.6.0 ready (posting ok)</div><div>new_nntp_command(CAPABILITIES)</div><div>>>> [16:22:37.960847] CAPABILITIES</div><div><<< [16:22:38.092218] 101 Capability list:</div><div>new_nntp_command(CAPABILITIES) OK</div><div><<< [16:22:38.119069] VERSION 2</div><div><<< [16:22:38.119294] IMPLEMENTATION INN 2.6.0</div><div><<< [16:22:38.145393] AUTHINFO SASL</div><div><<< [16:22:38.145623] HDR</div><div><<< [16:22:38.145822] LIST ACTIVE ACTIVE.TIMES COUNTS DISTRIB.PATS DISTRIBUTIONS HEADERS MODERATORS MOTD NEWSGROUPS OVERVIEW.FMT SUBSCRIPTIONS</div><div><<< [16:22:38.145961] OVER</div><div><<< [16:22:38.146076] POST</div><div><<< [16:22:38.146204] READER</div><div><<< [16:22:38.146329] SASL DIGEST-MD5 NTLM CRAM-MD5</div><div><<< [16:22:38.146462] STARTTLS</div><div>authorization failed</div><div>nntp_close() END</div><div>nntp_command(QUIT)</div><div>>>> [16:22:41.994303] QUIT</div><div><<< [16:22:42.128402] 205 Bye!</div><div>nntp_command(QUIT) OK</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div></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>