Summary:

I have set  ' allow plain auth in non ssl = "yes" ' in the config file,
but a telnet test login still fails with "Plain text password...disallowed.

Details:

Q: Why is Binc not accepting my config of plain auth = yes?

0) I have set inetd.conf as below, and it starts up fine:

imap   stream  tcp     nowait  root    /usr/local/sbin/bincimap-up \
--conf=/etc/bincimap/bincimap.con f --logtype=syslog -- /bin/checkpassword \
/usr/local/sbin/bincimapd

1) The conf file is accessible:

# ls -l /etc/bincimap/bincimap.conf
-rw-r--r--    1 root     root         4064 Dec  8 17:23 /etc/bincimap/bincimap.conf

2) The telnet login test:

$ telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Welcome to Binc IMAP v1.2.3 (c) Copyright 2002, 2003 Andreas Aardal Hanssen at 
2003-12-08 17:23:15 EST
1 LOGIN karen temp
1 NO LOGIN failed: Plain text password authentication is disallowed. Please try 
enabling SSL or TLS in your mail client.
Connection closed by foreign host.

3) I checked that 'checkpassword' is functioning as expected, and with the test login.

# useradd testuser ....
# passwd  testuser goodpass
# printf "testuser\0goodpass\0Mon Dec  8 16:27:22 EST 2003\0" > t.good
# printf "testuser\0baddpass\0Mon Dec  8 16:27:22 EST 2003\0" > t.bad
# checkpassword echo "it worked" 3<t.good ; echo $?
it worked
0
# checkpassword echo "it worked" 3<t.bad ; echo $?
1
#

4) Enironment: Slackware 9.1, kernel 2.4.22, gcc 3.2.3.

5) Syslog:
Dec  8 17:23:15 mill bincimap-up[23279]: Client connected to Binc IMAP from ?
Dec  8 17:23:25 mill bincimap-up[23279]: Unprivileged stub shutting down - read:0 
bytes, wrote:0 bytes.





Reply via email to