91691ff
try getpwnam() if getpwnam_r() fails instead of just giving up, appears to be necessary on Solaris (noted, and fix supplied, by Onime Clement)