[sork] Passwd H3 3.0 and Poppassd-Ceti 1.8.5-r1

Anthony Pelaez anthony.pelaez at clinistar.com
Wed Nov 2 10:02:44 PST 2005


Hello All:

Can anyone help me with a problem I am having? I am trying to get 
Poppassd-Ceti working Passwd but to no avail. I have detailed everything 
below. I am running Gentoo Linux 2005.1, Apache 2.0.55, PHP-4.4.0-r1 and 
all of the newest, updated horde packages. Everything is working great 
except Poppassd with Passwd

1. Installed poppassd-ceti-1.8.5-r1.

2. My poppassd file in /etc/xinetd.d has:

service poppassd
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/poppassd
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
}

3. My /etc/services file has: I tried setting port 106 with the 
3com-tsmux and without.

#3com-tsmux 106/tcp poppassd # 3COM-TSMUX
#3com-tsmux 106/udp poppassd # Eudora: Unauthorized use by insecure 
poppassd protocol
poppassd 106/tcp poppassd
poppassd 106/udp poppassd

4. Started xinetd

5. Nmap says the following:

# nmap localhost

Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2005-10-28 09:24 EDT
Interesting ports on localhost.xxxxxx.com <http://localhost.xxxxxx.com> 
(127.0.0.1 <http://127.0.0.1>):
(The 1658 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
106/tcp open pop3pw
143/tcp open imap
443/tcp open https
783/tcp open spamassassin
953/tcp open rndc
993/tcp open imaps
5432/tcp open postgres

Nmap finished: 1 IP address (1 host up) scanned in 0.395 seconds

6. I can run poppassd manually and login with the new password

# /usr/sbin/poppassd
200 poppassd v1.8.5 hello, who are you?
user test
200 Your password please.
pass xxxxxx
200 Your new password please.
newpass xxxxxxx
200 Password changed, thank-you.
quit
200 Bye.

7. I can't telnet to the localhost 106.

# telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
Exit 1

8. The log file says after the telnet session:

Oct 28 09:04:23 [xinetd] FAIL: poppassd address from=127.0.0.1 
<http://127.0.0.1>
Oct 28 09:04:23 [xinetd] START: poppassd pid=8028 from=127.0.0.1 
<http://127.0.0.1>
Oct 28 09:04:23 [xinetd] EXIT: poppassd pid=8028 duration=0(sec)

9. If I run Horde-Passwd I get the errors:

Username: test
Old password: xxxxxx
New password: xxxxxxx
Confirm new password: xxxxxxx
Change password on: Example Poppassd Server

Notice: fputs(): send of 13 bytes failed with errno=32 Broken pipe in 
/var/www/localhost/htdocs/horde/passwd/lib/Driver/poppassd.php on line 85

Notice: fputs(): send of 17 bytes failed with errno=32 Broken pipe in 
/var/www/localhost/htdocs/horde/passwd/lib/Driver/poppassd.php on line 85

Notice: fputs(): send of 5 bytes failed with errno=32 Broken pipe in 
/var/www/localhost/htdocs/horde/passwd/lib/Driver/poppassd.php on line 55

Warning: Cannot modify header information - headers already sent by 
(output started at 
/var/www/localhost/htdocs/horde/passwd/lib/Driver/poppassd.php:85) in 
/var/www/localhost/htdocs/horde/passwd/templates/common-header.inc on line 4

Warning: Cannot modify header information - headers already sent by 
(output started at 
/var/www/localhost/htdocs/horde/passwd/lib/Driver/poppassd.php:85) in 
/var/www/localhost/htdocs/horde/passwd/templates/common-header.inc on line 5

Password changed on Example Poppassd Server.

10. The password isn't changed.

11. My permissions for /usr/sbin/poppassd is 750

# ls -la /usr/sbin/poppassd
-rwxr-xr-x 1 root bin 7156 Oct 27 23:51 /usr/sbin/poppassd

------------------------------------------------------------------------
I would appreciate any help.

Thanks,
Tony


More information about the sork mailing list