Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2019 15:16:03 +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-B0MDbU6MeU@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

--- Comment #3 from Bernard Marshall <Bernard.Marshall@axiell.com> ---
(In reply to Edward Fuhr from comment #2)

Thanks for looking into this Edward. A quick comment on your patch. I think=
 you
have forgotten to initialise "passdir_buf" in
"yppasswdproc_update_master_1_svc". I suspect you need to add:

/* Hold a copy of the passfile in passdir */
snprintf(passdir_buf, sizeof(passdir_buf), "%s", passfile);
passdir =3D (char *)&passdir_buf;

around line 831 in the current file, otherwise passdir_buf will not be
initialised with passfile.

--=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-B0MDbU6MeU>