[imp] poppassd and IMP problems<<< please help ! ;-)
Rich Lafferty
rich@horde.org
Tue, 23 Jan 2001 16:29:12 -0500
On Tue, Jan 23, 2001 at 05:51:58PM -0300, Robinson Maureira Castillo (rmaureira@alumno.inacap.cl) wrote:
> Mensaje citado por: Rich Lafferty <rich@horde.org>:
>
> > When you mentioned this on the mailing list before,
>
> I wasn't the guy who pointed out the problem, I forgot to put the Re: in the
> subject :-)
Oops, sorry, I lose track. :-)
> > The only things you should see output from poppassd are single lines
> > that begin with "200" for success or "500" for failure, followed by a
> > space and a human-readable response.
>
> I've downloaded poppassd from www.netwinsite.com, and I was just
> pointing out a workaround for this.
Yep, that's the same as Qualcomm's. Look at poppassd.c; a comment
reads
/* Prompt strings expected from the "passwd" command. If you want
* to port this program to yet another flavor of UNIX, you may need to add
* more prompt strings here.
*
You need to do so. :-) That version of poppassd is for SunOS 4.1.3 and
HP/UX 8.02, both of which are about 1993 vintage. Linux was in version
0.99 at the time!
A workaround would be out of place in IMP, since spurious or otherwise
unexpected output from poppassd *should* be considered as a sign that
something's gone awfully wrong. Consider, for instance, the spurious
output "Segmentation fault". :-)
I *will* add a note to this extent in the FAQ entry for that issue,
though.
Cheers,
-Rich
--
------------------------------ Rich Lafferty ---------------------------
Sysadmin/Programmer, Instructional and Information Technology Services
Concordia University, Montreal, QC (514) 848-7625
------------------------- rich@alcor.concordia.ca ----------------------