On Fri, 07 Feb 2014 11:15:28 -0800, Philip Guenther wrote: > Oof. If YP is enabled but an error occurs when trying to do the lookup > (yp_match() returns an error other than YPERR_KEY) then we should set > errno even when the later passwd file lookup return no match. So my patch > is wrong as it would zero errno in that case, giving an authoritative "no > such user" instead of "error during lookup". That's bad, as for things > like sendmail it would mean temporary YP failures would result in > permanent failure responses. This will tkae more thought.
I think it is OK to just handle the passwd file case first and then fix up the YP case in a separate commit. - todd