glibc-2.0.111: getpwuid() result depends on nscd presence in nis+ environment

Dmitry O Panov dmitry@tsu.tula.ru
Thu Apr 1 00:00:00 GMT 1999


Hello.

I have noticed that getpwuid() returns "*NP*" in pw_passwd when nscd is
running and encrypted password when nscd is not running. It is
critical for some authentication programs (e.g. pam_unix_auth).
 
sp_pwdp (returned by getspnam()) contains an encrypted password in both
cases.

Can anyone reproduce this?

--
Dmitry O Panov         |  mailto:dmitry@tsu.tula.ru
Tula State University  |  http://www.tsu.tula.ru/
Dept. of CS & NIT      |  Fidonet: Dmitry Panov, 2:5022/8.31 aka 2:5022/5.50




More information about the Libc-alpha mailing list