Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2019 03:36:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234972] yppasswdd cannot update passwd (rename of /var/yp to /var/yp/master. passwd.hold failed)
Message-ID:  <bug-234972-227-tuwUy7XsOU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234972-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234972-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234972

Edward Fuhr <edward.fuhr@us.fujitsu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edward.fuhr@us.fujitsu.com

--- Comment #1 from Edward Fuhr <edward.fuhr@us.fujitsu.com> ---
Created attachment 201374
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D201374&action=
=3Dedit
Fixes issue when rpc.yppasswdd fails to copy master.passwd

As of FreeBSD 12.0 rpc.yppasswdd was failing to copy the master.passwd file=
 due
to call pw_init truncating the filename value stored in passfile

This fix copies the value of passfile to a temporary variable, passdir. This
prevents passfile from being truncated while also allowing the necessary
directory name to be passed.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234972-227-tuwUy7XsOU>