[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tpop3d-discuss] auth_passwd problems with 1.5.1
From: |
Travis Miller |
Subject: |
[tpop3d-discuss] auth_passwd problems with 1.5.1 |
Date: |
Wed, 20 Aug 2003 13:48:28 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030820 |
Testing out 1.5.1, having an issue w/ auth_passwd:
Compiled with:
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-auth-pam \
--enable-auth-passwd \
--enable-shadow-passwords \
--enable-auth-mysql \
--enable-mbox-bsd \
--disable-dotfile-locking \
--enable-tls \
--with-mysql-include-dir=/usr/local/mysql/include/mysql \
--with-mysql-lib-dir=/usr/local/mysql/lib/mysql \
--with-openssl-root=/usr/local/openssl
Compiled and tested, auth_mysql works perfectly but auth_passwd does
not. So then I created a minimalist conf file w/o mysql and recompile
without mysql for testing.
CFLAGS='-O2 -mcpu=i686 -march=i686' ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-auth-pam \
--enable-auth-passwd \
--enable-shadow-passwords \
--enable-mbox-bsd \
--disable-dotfile-locking \
--enable-tls \
--with-openssl-root=/usr/local/openssl
A telnet session:
address@hidden:/home/test/tpop3d-1.5.1# telnet localhost 111
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <address@hidden>
user test
+OK Tell me your password.
pass testing
-ERR Lies! Try again!
quit
+OK Fine. Be that way.
Connection closed by foreign host.
address@hidden:/home/test/tpop3d-1.5.1#
Output from tpop3:
address@hidden:/home/test/tpop3d-1.5.1# ./tpop3d -v -d -f /etc/tpop3d.conf.t
parse_listeners: listening on address 127.0.0.1:111
1 authentication drivers successfully loaded
net_loop: tpop3d version 1.5.1 successfully started
connection_sendresponse: client [5]127.0.0.1/testserver: sent `+OK
<address@hidden>'
listeners_post_select: client [5]127.0.0.1/testserver: connected to
local address 127.0.0.1:111
connection_parsecommand: client [5]127.0.0.1/testserver: received `user
test'
connection_sendresponse: client [5]127.0.0.1/testserver: sent `+OK Tell
me your password.'
connection_parsecommand: client [5]127.0.0.1/testserver: received `pass
[...]'
connection_sendresponse: client [5]127.0.0.1/testserver: sent `-ERR
Lies! Try again!'
connection_do: client `[5]127.0.0.1/testserver': username `test': 1
authentication failures
connection_parsecommand: client [5]127.0.0.1/testserver: received `quit'
connection_sendresponse: client [5]127.0.0.1/testserver: sent `+OK Fine.
Be that way.'
connections_post_select: client [5]127.0.0.1/testserver: disconnected;
31/126 bytes read/written
net_loop: terminating on signal 2
address@hidden:/home/test/tpop3d-1.5.1#
Nothing useful from what I can see... the user "test" with password
"testing" will successfuly authenticate on the system.
From ./tpop3d -h:
Available authentication drivers:
auth-passwd Uses /etc/passwd or /etc/shadow
Available mailbox drivers:
bsd BSD (`Unix') mailspool
empty Empty mailbox
Enabled features:
Mass virtual hosting
Suppress C-client metadata
TLS
This is running on an older version of slackware, 7.1 to be exact. The
exact same configuration on a slackware 9.0 box works perfectly.
- Travis
- [tpop3d-discuss] auth_passwd problems with 1.5.1,
Travis Miller <=
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Chris Lightfoot, 2003/08/20
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Travis Miller, 2003/08/20
- Message not available
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Chris Lightfoot, 2003/08/20
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Travis Miller, 2003/08/20
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Chris Lightfoot, 2003/08/20
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Travis Miller, 2003/08/20
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Chris Lightfoot, 2003/08/20
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Travis Miller, 2003/08/20
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Chris Lightfoot, 2003/08/20
- Re: [tpop3d-discuss] auth_passwd problems with 1.5.1, Travis Miller, 2003/08/20