🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by LucLan Tue, 27 Feb 2024 18:26
[tin] first authorization failed, then pass
#266956
Author: LucLan
Date: Tue, 27 Feb 2024 18:26
14 lines
860 bytes
Hello,

DO anyone know why the first authorization failed, then it pass?

Warning shown:

Authorization failed for user: XXX

My credentials are stored in ~/.newsauth
And I start application with: tin -TAag es

'es' is the shortname from ~/.tin/newsrctable 

Thanks.
Re: [tin] first authorization failed, then pass
#266965
Author: candycanearter07
Date: Tue, 27 Feb 2024 19:55
19 lines
1164 bytes
On 2024-02-27, LucLan <address@is.invalid> wrote:
> Hello,
>
> DO anyone know why the first authorization failed, then it pass?
>
> Warning shown:
>
> Authorization failed for user: XXX
>
> My credentials are stored in ~/.newsauth
> And I start application with: tin -TAag es
>
> 'es' is the shortname from ~/.tin/newsrctable 
>
> Thanks.

Does it matter too much if it authenticates second try?
-- 
user <candycane> is generated from /dev/urandom
Re: [tin] first authorization failed, then pass
#266960
Author: Urs Janßen
Date: Tue, 27 Feb 2024 20:02
20 lines
1765 bytes
In <url9fp$3beev$1@dont-email.me> on Tue, 27 Feb 2024 19:26:01,
    LucLan wrote:
> Hello,
> 
> DO anyone know why the first authorization failed, then it pass?

just a guess; you have space in the auth-data? that will fail with 
AUTHINFO PLAIN which is tried before AUTHINFO USER e.g.

>>> [19:45:26.872766] AUTHINFO SASL PLAIN AGpvaG4AIGRvZQ==
<<< [19:45:26.879224] 481 generic failure
>>> [19:45:28.881885] AUTHINFO USER john
<<< [19:45:28.888510] 381 Enter password
>>> [19:45:28.888733] AUTHINFO PASS  doe
<<< [19:45:28.898705] 281 Authentication succeeded

to check you could add "-vD 1" the the cmd.line opts _after_
reading the "SECURITY" section of the man-page; i.e. you might want to
start tin with $TMPDIR set to a secure location:
TMPDIR=$HOME tin -vD 1 -TAag es
Re: [tin] first authorization failed, then pass
#266976
Author: LucLan
Date: Wed, 28 Feb 2024 07:19
20 lines
1188 bytes
candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> wrote:
> On 2024-02-27, LucLan <address@is.invalid> wrote:
>> Hello,
>>
>> DO anyone know why the first authorization failed, then it pass?
>>
>> Warning shown:
>>
>> Authorization failed for user: XXX
>>
>> My credentials are stored in ~/.newsauth
>> And I start application with: tin -TAag es
>>
>> 'es' is the shortname from ~/.tin/newsrctable 
>>
>> Thanks.
> 
> Does it matter too much if it authenticates second try?

Just a little bit.
Re: [tin] first authorization failed, then pass
#266970
Author: LucLan
Date: Wed, 28 Feb 2024 11:57
28 lines
1775 bytes
Urs Janßen <urs@buil.tin.org> wrote:
> In <url9fp$3beev$1@dont-email.me> on Tue, 27 Feb 2024 19:26:01,
>     LucLan wrote:
>> Hello,
>> 
>> DO anyone know why the first authorization failed, then it pass?
> 
> just a guess; you have space in the auth-data? that will fail with 
> AUTHINFO PLAIN which is tried before AUTHINFO USER e.g.
> 
>>>> [19:45:26.872766] AUTHINFO SASL PLAIN AGpvaG4AIGRvZQ==
> <<< [19:45:26.879224] 481 generic failure
>>>> [19:45:28.881885] AUTHINFO USER john
> <<< [19:45:28.888510] 381 Enter password
>>>> [19:45:28.888733] AUTHINFO PASS  doe
> <<< [19:45:28.898705] 281 Authentication succeeded
> 
> to check you could add "-vD 1" the the cmd.line opts _after_
> reading the "SECURITY" section of the man-page; i.e. you might want to
> start tin with $TMPDIR set to a secure location:
> TMPDIR=$HOME tin -vD 1 -TAag es

Thank you, sir, for your answer.

I tried to start tin with -vD 1, but: 
Option not enabled. Recompile with -DDEBUG.
Another bad flag in the AUR package.
Re: [tin] first authorization failed, then pass
#266973
Author: LucLan
Date: Wed, 28 Feb 2024 14:40
32 lines
1913 bytes
Urs Janßen <urs@buil.tin.org> wrote:
> In <url9fp$3beev$1@dont-email.me> on Tue, 27 Feb 2024 19:26:01,
>     LucLan wrote:
>> Hello,
>> 
>> DO anyone know why the first authorization failed, then it pass?
> 
> just a guess; you have space in the auth-data? that will fail with 
> AUTHINFO PLAIN which is tried before AUTHINFO USER e.g.
> 
>>>> [19:45:26.872766] AUTHINFO SASL PLAIN AGpvaG4AIGRvZQ==
> <<< [19:45:26.879224] 481 generic failure
>>>> [19:45:28.881885] AUTHINFO USER john
> <<< [19:45:28.888510] 381 Enter password
>>>> [19:45:28.888733] AUTHINFO PASS  doe
> <<< [19:45:28.898705] 281 Authentication succeeded
> 
> to check you could add "-vD 1" the the cmd.line opts _after_
> reading the "SECURITY" section of the man-page; i.e. you might want to
> start tin with $TMPDIR set to a secure location:
> TMPDIR=$HOME tin -vD 1 -TAag es

you are right:

>>> [14:31:41.360913] AUTHINFO SASL PLAIN xxx
<<< [14:31:41.401144] 481 user not found
>>> [14:31:43.403122] AUTHINFO USER xxx
<<< [14:31:43.445158] 381 Enter password
>>> [14:31:43.445373] AUTHINFO PASS xxx
<<< [14:31:44.065638] 281 Authentication succeeded

Thank again.
Re: [tin] first authorization failed, then pass
#266977
Author: candycanearter07
Date: Wed, 28 Feb 2024 18:25
25 lines
1438 bytes
LucLan <address@is.invalid> wrote at 07:19 this Wednesday (GMT):
> candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> wrote:
>> On 2024-02-27, LucLan <address@is.invalid> wrote:
>>> Hello,
>>>
>>> DO anyone know why the first authorization failed, then it pass?
>>>
>>> Warning shown:
>>>
>>> Authorization failed for user: XXX
>>>
>>> My credentials are stored in ~/.newsauth
>>> And I start application with: tin -TAag es
>>>
>>> 'es' is the shortname from ~/.tin/newsrctable 
>>>
>>> Thanks.
>> 
>> Does it matter too much if it authenticates second try?
>
> Just a little bit.

fair
-- 
user <candycane> is generated from /dev/urandom
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads