Help with making a new poppassd.c that works with NIS

From: Dave <dburwell_at_symmetricom.com>
Date: Mon, 11 Jan 1999 12:38:09 -0800

  Since no one seems to be using poppassd with NIS, I have tryed to modify
one myself.
  Question: Is there a tool that I can use to see where the poppassd
process is failing? I think the problem is when poppassd tries to execl the
/usr/bin/yppasswd program, but I can not be sure.


  I have already modifyed the poppassd.c file:

Changed all of the /bin/passwd entries to /usr/bin/yppasswd.
Changed the expected strings to match the exact results of running yppasswd
as a typical user.


This is a dialog from a workstation to the poppassd server:
killroy{root}96: telnet techserv2 106
Trying 192.9.207.19...
Connected to techserv2.
Escape character is '^]'.
200 poppassd v1.2c hello, who are you?
user jblow
200 your password please.
pass wgg5th45
200 your new password please.
newpass wgg5th45
500 Unable to change password.
Connection closed by foreign host.
killroy{root}97:

  Now, jblow does exist in the NIS passwd file, and their password really
is wgg5th45. And when I check the poppassd.log file, all it says is:
Jan 11 12:20:54 techserv2 poppassd[31192]: failed attempt by jblow
  It doesn't seem to matter what user I use (real or not), and it doesn't
seem to matter what password I enter (real, duplicate, or fake).

  There are no other error messages I can find.
Received on Mon Jan 11 1999 - 20:41:04 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT