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

From: Dave <dburwell_at_symmetricom.com>
Date: Tue, 12 Jan 1999 13:57:22 -0800

  The last original request is included at the end.
  I finially got some help from Magali BERNARD.
  He has a poppassd file that is ready to go with NIS.
  I attached it here, but it is also on a couple of sites:

http://www.xray.mpe.mpg.de/mailing-lists/alpha-osf-managers/9512/msg00246.html
            or
ftp://ftp.univ-st-etienne.fr/pub/unix/decosf/poppassd.osf1-yp.tar.Z

  Except for some minor Makefile and poppassd tweaks dealing with paths, it
compiled fine, and works the way I expect. I just wish I had it 6 weeks ago
when I first asked for it.

  Thank you.
Dave


++++ Original ++++

  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 Tue Jan 12 1999 - 21:58:23 NZDT

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