🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by The Doctor Fri, 23 Oct 2015 15:06
INN auth via SASL over SSL
#87126
Author: The Doctor
Date: Fri, 23 Oct 2015 15:06
8 lines
1142 bytes
Is INN auth via SASL over SSL possible?
-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Canada Get out and Vote Oct 19 2015!!

Re: INN auth via SASL over SSL
#87123
Author: Julien ÉLIE
Date: Fri, 23 Oct 2015 17:54
17 lines
1622 bytes
Hi The Doctor,

> Is INN auth via SASL over SSL possible?

Yes it is.
You have to build INN with SASL and SSL support (--with-sasl 
--with-openssl flags passed to configure for INN 2.5.x and prior; 
starting with INN 2.6 that you are already running, such support is 
automatic if you have the related libraries and development headers).

-- 
Julien ÉLIE

« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
   (Aristophane)

Re: INN auth via SASL over SSL
#87125
Author: The Doctor
Date: Fri, 23 Oct 2015 18:57
26 lines
1830 bytes
In article <n0ds8g$oli$1@news.trigofacile.com>,
=?UTF-8?Q?Julien_=c3=89LIE?=  <iulius@nom-de-mon-site.com.invalid> wrote:
>Hi The Doctor,
>
>> Is INN auth via SASL over SSL possible?
>
>Yes it is.
>You have to build INN with SASL and SSL support (--with-sasl 
>--with-openssl flags passed to configure for INN 2.5.x and prior; 
>starting with INN 2.6 that you are already running, such support is 
>automatic if you have the related libraries and development headers).
>
>-- 
>Julien ÉLIE
>
>« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
>   (Aristophane)

So what must I adjust in the readers.conf file?
-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Canada Get out and Vote Oct 19 2015!!

Re: INN auth via SASL over SSL
#87129
Author: Julien ÉLIE
Date: Fri, 23 Oct 2015 19:07
18 lines
1601 bytes
Hi The Doctor,

>>> Is INN auth via SASL over SSL possible?
>>
>> Yes it is.
>
> So what must I adjust in the readers.conf file?

You just have to make sure there is a relevant access block that matches 
the username of the SASL-authenticated client.

-- 
Julien ÉLIE

« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
   (Aristophane)

Re: INN auth via SASL over SSL
#87131
Author: The Doctor
Date: Fri, 23 Oct 2015 19:08
30 lines
1788 bytes
In article <n0e0gn$tc8$1@news.trigofacile.com>,
=?UTF-8?Q?Julien_=c3=89LIE?=  <iulius@nom-de-mon-site.com.invalid> wrote:
>Hi The Doctor,
>
>>>> Is INN auth via SASL over SSL possible?
>>>
>>> Yes it is.
>>
>> So what must I adjust in the readers.conf file?
>
>You just have to make sure there is a relevant access block that matches 
>the username of the SASL-authenticated client.
>

An example please.

>-- 
>Julien ÉLIE
>
>« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
>   (Aristophane)


-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Canada Get out and Vote Oct 19 2015!!

Re: INN auth via SASL over SSL
#87133
Author: Julien ÉLIE
Date: Fri, 23 Oct 2015 20:18
38 lines
2090 bytes
Hi The Doctor,

>> You just have to make sure there is a relevant access block that matches
>> the username of the SASL-authenticated client.
>
> An example please.

With the following example, successfully authenticated clients will have 
access to all your newsgroups (otherwise, only fr.test).
When using AUTHINFO SASL (similarly to AUTHINFO USER), a username is 
given, and it is the one that subsequent access blocks in readers.conf 
try to match.


auth anonymous {
     hosts: "*"
     default: "anonymous"
}

access restricted {
     users: "anonymous"
     newsgroups: "fr.test"
}

access full {
     users: "*,!anonymous"
     newsgroups: *
}



-- 
Julien ÉLIE

« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
   (Aristophane)

Re: INN auth via SASL over SSL
#87135
Author: The Doctor
Date: Fri, 23 Oct 2015 22:37
50 lines
2260 bytes
In article <n0e4nh$2au$1@news.trigofacile.com>,
=?UTF-8?Q?Julien_=c3=89LIE?=  <iulius@nom-de-mon-site.com.invalid> wrote:
>Hi The Doctor,
>
>>> You just have to make sure there is a relevant access block that matches
>>> the username of the SASL-authenticated client.
>>
>> An example please.
>
>With the following example, successfully authenticated clients will have 
>access to all your newsgroups (otherwise, only fr.test).
>When using AUTHINFO SASL (similarly to AUTHINFO USER), a username is 
>given, and it is the one that subsequent access blocks in readers.conf 
>try to match.
>
>
>auth anonymous {
>     hosts: "*"
>     default: "anonymous"
>}
>
>access restricted {
>     users: "anonymous"
>     newsgroups: "fr.test"
>}
>
>access full {
>     users: "*,!anonymous"
>     newsgroups: *
>}
>

In this case, the user has to log in no access.

>
>
>-- 
>Julien ÉLIE
>
>« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
>   (Aristophane)


-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Canada Get out and Vote Oct 19 2015!!

Re: INN auth via SASL over SSL
#87136
Author: The Doctor
Date: Fri, 23 Oct 2015 23:08
66 lines
2885 bytes
In article <n0ecra$98h$1@ns2.nl2k.ab.ca>,
The Doctor <doctor@doctor.nl2k.ab.ca> wrote:
>In article <n0e4nh$2au$1@news.trigofacile.com>,
>=?UTF-8?Q?Julien_=c3=89LIE?=  <iulius@nom-de-mon-site.com.invalid> wrote:
>>Hi The Doctor,
>>
>>>> You just have to make sure there is a relevant access block that matches
>>>> the username of the SASL-authenticated client.
>>>
>>> An example please.
>>
>>With the following example, successfully authenticated clients will have 
>>access to all your newsgroups (otherwise, only fr.test).
>>When using AUTHINFO SASL (similarly to AUTHINFO USER), a username is 
>>given, and it is the one that subsequent access blocks in readers.conf 
>>try to match.
>>
>>
>>auth anonymous {
>>     hosts: "*"
>>     default: "anonymous"
>>}
>>
>>access restricted {
>>     users: "anonymous"
>>     newsgroups: "fr.test"
>>}
>>
>>access full {
>>     users: "*,!anonymous"
>>     newsgroups: *
>>}
>>
>
>In this case, the user has to log in no access.

Hmm!  That did not work.

INN auth via SASL over SSL for and Non-LAN account i.e. someone
who has not remote in with a username/password assigned from the local system
and not an access type password.

>
>>
>>
>>-- 
>>Julien ÉLIE
>>
>>« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
>>   (Aristophane)
>
>
>-- 
>Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
>God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
>http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
>Canada Get out and Vote Oct 19 2015!!


-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Canada Get out and Vote Oct 19 2015!!

Re: INN auth via SASL over SSL
#87140
Author: Julien ÉLIE
Date: Sat, 24 Oct 2015 09:11
17 lines
1761 bytes
The Doctor,

> INN auth via SASL over SSL for and Non-LAN account i.e. someone
> who has not remote in with a username/password assigned from the local system
> and not an access type password.

Do you know which newsreader he is using?  And which SASL mechanism for 
his authentication?  Does he happen to have logs of his attempts to 
authenticate?

-- 
Julien ÉLIE

« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
   (Aristophane)

Re: INN auth via SASL over SSL
#87141
Author: The Doctor
Date: Sat, 24 Oct 2015 12:23
52 lines
2380 bytes
In article <n0fhv6$l89$1@news.trigofacile.com>,
=?UTF-8?Q?Julien_=c3=89LIE?=  <iulius@nom-de-mon-site.com.invalid> wrote:
>The Doctor,
>
>> INN auth via SASL over SSL for and Non-LAN account i.e. someone
>> who has not remote in with a username/password assigned from the local system
>> and not an access type password.
>
>Do you know which newsreader he is using?  And which SASL mechanism for 
>his authentication?  Does he happen to have logs of his attempts to 
>authenticate?
>
>-- 
>Julien ÉLIE
>
>« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
>   (Aristophane)

It could be Thunderbird, M$ mail client, whichever .

In my readers.conf I have,

auth "localhost" {
    hosts: "localhost, 127.0.0.1, stdin"
    default: "<localhost>"
}

access "localhost" {
    users: "<localhost>"
    newsgroups: "*"
} 

auth "local" {
    hosts: "LAN"
    default: "<local>@nl2k.ab.ca"
} 

access "local" {
    users: "<local>@nl2k.ab.ca"
    newsgroups: "*"
}
 

Now I need a non-LOCAL access that is authenicated by the
non-kerberised system password file using SASL over SSL
-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Canada Get out and Vote Oct 19 2015!!

Re: INN auth via SASL over SSL
#87143
Author: Julien ÉLIE
Date: Sat, 24 Oct 2015 19:39
20 lines
1858 bytes
Hi The Doctor,

>> Do you know which newsreader he is using?  And which SASL mechanism for
>> his authentication?  Does he happen to have logs of his attempts to
>> authenticate?
>
> It could be Thunderbird, M$ mail client, whichever.

Do you have a real user who currently does not manage to authenticate 
via SASL?
It would help you, so as to know what the server responds to his 
attempts, and to check what is missing in your configuration.

-- 
Julien ÉLIE

« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
   (Aristophane)

Re: INN auth via SASL over SSL
#87145
Author: The Doctor
Date: Sat, 24 Oct 2015 21:40
37 lines
2149 bytes
In article <n0gmqj$tmd$1@news.trigofacile.com>,
=?UTF-8?Q?Julien_=c3=89LIE?=  <iulius@nom-de-mon-site.com.invalid> wrote:
>Hi The Doctor,
>
>>> Do you know which newsreader he is using?  And which SASL mechanism for
>>> his authentication?  Does he happen to have logs of his attempts to
>>> authenticate?
>>
>> It could be Thunderbird, M$ mail client, whichever.
>
>Do you have a real user who currently does not manage to authenticate 
>via SASL?
>It would help you, so as to know what the server responds to his 
>attempts, and to check what is missing in your configuration.
>

I was trying from a non-local route using radius and 
apparantly the old merit radius will not work.

I have has successes with postfix/SASL and Exim/SASL.

Why not INN / SASL?

>-- 
>Julien ÉLIE
>
>« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
>   (Aristophane)


-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Canada Get out and Vote Oct 19 2015!!

Re: INN auth via SASL over SSL
#87148
Author: Julien ÉLIE
Date: Sun, 25 Oct 2015 12:17
16 lines
1748 bytes
The Doctor,

> I have has successes with postfix/SASL and Exim/SASL.
> Why not INN / SASL?

It permits to have a central way to authenticate users for all your 
services.  That's good.  INN/SASL works (I've enabled it on my news 
server and successfully played with several mechanisms).

-- 
Julien ÉLIE

« Attention aux bugs dans le code ci-dessus. Je ne l'ai pas testé,
   j'ai seulement prouvé qu'il était correct. » (Donald Knuth)

Re: INN auth via SASL over SSL
#87158
Author: Julien ÉLIE
Date: Mon, 26 Oct 2015 22:17
41 lines
2453 bytes
The Doctor,

>> auth anonymous {
>>      hosts: "*"
>>      default: "anonymous"
>> }
>>
>> access restricted {
>>      users: "anonymous"
>>      newsgroups: "fr.test"
>> }
>>
>> access full {
>>      users: "*,!anonymous"
>>      newsgroups: *
>> }
>>
>
> Hmm!  That did not work.
>
> INN auth via SASL over SSL for and Non-LAN account i.e. someone
> who has not remote in with a username/password assigned from the local system
> and not an access type password.

Note that if you are already using authentication (with the common 
username/password way to authenticate), your readers.conf should not be 
altered.  Just make sure that SASL knows your user with the same 
username as the one he was accustomed to using with INN.
That is to say if you used "doctor" as the username with non-SASL 
authentication, then if "doctor" is also a user known by your SASL 
configuration, nnrpd will recognize him if SASL-authenticated as 
"doctor".  No changes to do in your readers.conf file.

-- 
Julien ÉLIE

« – Par Toutatis ! On tire encore sur nous !
   – Nous sommes au dessus de Tyr.
   – Alors tirons-nous vite ! » (Astérix)

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