I've been struggling to get the poppassd packaged with qpopper to work on a Solaris 9 box. All of the research I've done has pointed to updating the P1-P4 strings to match the strings that my passwd binary produces, but that does not seem to do the trick with Solaris 9.
The passwd output is: $ passwd passwd: Changing password for stacey Enter existing login password: New Password: Re-enter new Password: passwd: password successfully changed for stacey Here is the trace file from poppassd run on the command line, after I've already hacked the hell out of P1: Jan 3 15:17:43.232 2003 [8092] Opened trace file "./tracefile" as 3 [poppassd.c:419] Jan 3 15:17:43.232 2003 Jan 3 15:17:43.242 2003 [8092] poppassd: Unable to obtain socket and address of client: (95) Socket operation on non-socket [poppassd.c:1380] [poppassd.c:1380] Jan 3 15:17:43.242 2003 Jan 3 15:17:43.256 2003 [8092] poppassd: (v4.0.4) Unable to get canonical name of client 0.0.0.0: Unknown host (1) [poppassd.c:1402] Jan 3 15:17:43.256 2003 Jan 3 15:17:43.256 2003 [8092] WriteToClient: 200 marauder poppassd v4.0.4 hello, who are you? [poppassd.c:1149] Jan 3 15:17:43.256 2003 Jan 3 15:17:46.655 2003 [8092] ReadFromClient: 11 'user stacey' [poppassd.c:1171] Jan 3 15:17:46.655 2003 Jan 3 15:17:46.655 2003 [8092] WriteToClient: 200 your password please. [poppassd.c:1149] Jan 3 15:17:46.655 2003 Jan 3 15:17:49.958 2003 [8092] ReadFromClient: pass xxxx [poppassd.c:1167] Jan 3 15:17:49.958 2003 Jan 3 15:17:49.958 2003 [8092] WriteToClient: 200 your new password please. [poppassd.c:1149] Jan 3 15:17:49.958 2003 Jan 3 15:17:53.041 2003 [8092] ReadFromClient: newpass xxxx [poppassd.c:1169] Jan 3 15:17:53.041 2003 Jan 3 15:17:53.096 2003 [8092] findpty found 5 [poppassd.c:825] Jan 3 15:17:53.096 2003 Jan 3 15:17:53.099 2003 [8092] talktochild; master=5; userid=stacey; asroot=0 [poppassd.c:867] Jan 3 15:17:53.099 2003 Jan 3 15:17:53.100 2003 [8092] expect; master=5; expected=(31)'Enter existing login password: '... [poppassd.c:1014] Jan 3 15:17:53.100 2003 Jan 3 15:17:53.101 2003 [8092] ...reading (1023) from child... [poppassd.c:1025] Jan 3 15:17:53.101 2003 Jan 3 15:17:53.104 2003 [8099] ...changing standard password [poppassd.c:773] Jan 3 15:17:53.104 2003 Jan 3 15:17:53.219 2003 [8092] ...read: (31) 'Enter existing login password: ' [poppassd.c:1035] Jan 3 15:17:53.219 2003 Jan 3 15:17:53.220 2003 [8092] match; str=(32)'Enter existing login password: \n'; pat=(31)'Enter existing login password: ' [poppassd.c:927] Jan 3 15:17:53.220 2003 Jan 3 15:17:53.220 2003 [8092] ...returning 0 [poppassd.c:955] Jan 3 15:17:53.220 2003 Jan 3 15:17:53.221 2003 [8092] expect: failure [poppassd.c:1068] Jan 3 15:17:53.221 2003 Jan 3 15:17:53.221 2003 [8092] passwd failed for stacey [poppassd.c:647] Jan 3 15:17:53.221 2003 Jan 3 15:17:53.221 2003 [8092] WriteToClient: 500 Unable to change password [poppassd.c:1149] Jan 3 15:17:53.221 2003 Thanks in advance, Stacey Conrad Millersville University
