[leafnode-list] leafnode 2.0.0.alpha20090908a.luascript not authenticating?

Klaus Maria Pfeiffer kmp+leafnode-list at kmp.or.at
Sat Jul 17 10:22:55 CEST 2010


hi!

normally, if a NNTP server has enabled authentication, I would await the 
following behavior:
;===
klaus at quad:~$ telnet news.individual.net 119
Trying 130.133.4.11...
Connected to news.individual.net.
Escape character is '^]'.
200 The server welcomes h062040143131.swe.cm.kabsi.at (62.40.143.131). 
Authorization required for reading and posting.
GROUP at.telekomm.mobil
480 Authentication required.
QUIT
205 .
Connection closed by foreign host.
;===

but if i connect to my local leafnode with version 
2.0.0.alpha20090908a.luascript and patch applied that it compiles with 
gcc-4.4.4 i get the following:
;===
klaus at quad:~$ telnet news 119
Trying 2001:15c0:662f::121...
Connected to ve121.kmp.or.at.
Escape character is '^]'.
200 Leafnode NNTP daemon, version 2.0.0.alpha20090908a.luascript at 
news.kmp.or.at 
GROUP at.telekomm.mobil
211 904 15094 16068 at.telekomm.mobil group selected
QUIT
205 Always happy to serve!
Connection closed by foreign host.
;===

thats not what I await.

have also a look into /var/log/syslog:
;===
Jul 17 09:56:05 ve121 leafnode[6454]: connect from quad.kmp.or.at 
(2001:15c0:662f:0:21e:8cff:fe1f:b7d7)
Jul 17 09:56:05 ve121 leafnode[6454]: config: debugmode is 4095
[...]
Jul 17 09:56:05 ve121 leafnode[6454]: <## If you want your users to 
authenticate themselves, you can uncomment
Jul 17 09:56:05 ve121 leafnode[6454]: <## the following line and modify it 
if needed.
Jul 17 09:56:05 ve121 leafnode[6454]: <## Supported: internal - See README 
for information on how to define
Jul 17 09:56:05 ve121 leafnode[6454]: <##                       users and 
passwords.
Jul 17 09:56:05 ve121 leafnode[6454]: <##            pam      - on systems 
that support PAM
Jul 17 09:56:05 ve121 leafnode[6454]: <##                       BEWARE: PAM 
has security risks when used to
Jul 17 09:56:05 ve121 leafnode[6454]: 
<##                       authenticate 
against system passwords
Jul 17 09:56:05 ve121 leafnode[6454]: <authenticate = internal
Jul 17 09:56:05 ve121 leafnode[6454]: config: authentication method: 1
[...]
Jul 17 09:56:05 ve121 leafnode[6454]: local  host: ve121.kmp.or.at:119 
(2001:15c0:662f::121)
Jul 17 09:56:05 ve121 leafnode[6454]: remote host: quad.kmp.or.at:43231 
(2001:15c0:662f:0:21e:8cff:fe1f:b7d7)
Jul 17 09:56:05 ve121 leafnode[6454]: <klaus:5Xahb6blTQUiY
Jul 17 09:56:05 ve121 leafnode[6454]: <thomas:WVfdENx1WemY6
Jul 17 09:56:05 ve121 leafnode[6454]: >200 Leafnode NNTP daemon, version 
2.0.0.alpha20090908a.luascript at news.kmp.or.at 
Jul 17 09:56:05 ve121 leafnode[6454]: reading 
/var/spool/leafnode/leaf.node/groupinfo and /etc/leafnode/local.groups
[...]
Jul 17 09:56:11 ve121 leafnode[6454]: <GROUP at.telekomm.mobil
Jul 17 09:56:12 ve121 leafnode[6454]: Cannot open .overview.deleted for 
reading: No such file or directory
Jul 17 09:56:12 ve121 leafnode[6454]: >211 904 15094 16068 
at.telekomm.mobil 
group selected
Jul 17 09:56:14 ve121 leafnode[6454]: <QUIT
Jul 17 09:56:14 ve121 leafnode[6454]: >205 Always happy to serve!
;===

you see, that I've enabled internal authentication and leafnode is also 
reading /etc/leafnode/users file with two users in (klaus and thomas).

whats going wrong here? I see the same behavior on the leafnode version in 
debian experimental (2.0.0.alpha20090406a-1).

can anyone help? thanks in advance!

gre3tings from Austria, Klaus




More information about the leafnode-list mailing list