ports/57486: [patch] poppassd doesn't work

Masamichi Takatsu taka2 at doga.jp
Thu Oct 2 04:30:21 UTC 2003


>Number:         57486
>Category:       ports
>Synopsis:       [patch] poppassd doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 01 21:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Masamichi Takatsu
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
DoGA corporation
>Environment:
System: FreeBSD eden.4koma.jp 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Tue Jul 22 01:14:36 JST 2003 taka2 at eden.4koma.jp:/usr/src/sys/i386/compile/koma4 i386
>Description:
poppassd expects the 1st line of /usr/bin/passwd output is
   "Changing local password for username.", 
but in 5.1-RELEASE passwd output is 
   "Changing local password for username".
   (period is not outputted.)
For that reason, poppassd always fails.

>How-To-Repeat:

>Fix:
diff -u poppassd.c.orig poppassd.c
@@ -146,8 +146,10 @@
--- poppassd.c.orig     Thu Oct  2 00:41:28 2003
+++ poppassd.c  Thu Oct  2 11:59:53 2003
    {"Old password:",
     "Changing password for *.\nOld password:",
     "Changing local password for *.\nOld password:",
+    "Changing local password for *\nOld password:",
     "Changing password for * on *.\nOld password:",
     "Changing NIS password for * on *.\nOld Password:",
+    "Changing NIS password for *\nOld Password:",
     "Changing password for *\n*'s Old password:",
     ""};

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list