after start nscd i unable login on client system (RH7, x86) as NIS-mapped user ( client system rh7, NIS-NFS server is RH6.x) if i stop nscd - all ok !!! On Rh6.x clients all ok with nscd or without ? This valid for all updates glibc for RH7 ( now i have latest 2.2-5)
Strange, we use NIS internally here, NIS server is RH6.2 and RH7 boxes work just fine against it (and several people are running nscd). Can you e.g. stop nscd, login, from some other console start nscd and see what get*by* request fail?
I turn-on debug and see my nscd.log: -------------------------------------- 1126: handle_request: request received (Version = 2) 1126: GETPWBYNAME (boss) 1126: Haven't found "boss" in password cache! 1126: handle_request: request received (Version = 2) 1126: GETPWBYNAME (boss) 1126: handle_request: request received (Version = 2) 1126: GETPWBYNAME (boss) 1126: handle_request: request received (Version = 2) 1126: GETPWBYUID (0) 1126: Haven't found "0" in password cache! 1126: handle_request: request received (Version = 2) 1126: GETPWBYUID (0) 1126: handle_request: request received (Version = 2) 1126: GETPWBYUID (0) 1126: handle_request: request received (Version = 2) 1126: GETGRBYGID (0) 1126: Haven't found "0" in group cache! -------------------------------
I am having the same problem with RedHat 7.0 clients and a RedHat 7.0 server, if I have the following section listed in /etc/ypserv.conf on the NIS server everything works fine with nscd started and I can login as normal: # Host : Map : Security : Passwd_mangle # #* : passwd.byname : port : yes #* : passwd.byuid : port : yes However if I have the following in /etc/ypserv.conf to enable 'shadow like passwords': # Host : Map : Security : Passwd_mangle # * : passwd.byname : port : yes * : passwd.byuid : port : yes I can no longer login if nscd is started on the client. If I stop nscd on the client things work as normal and I am able to login once again.
o !!!!!! on rh7 nscd run as nscd-user (uid=28), and with this option nis-server mangle passwords for requests from unprivileged users :) on rh 6.x nscd run as root and all ok !!!! maybe it security problem ? on solaris clients all nis-requests also from unprivileged ports.
Any news on this issue?
Closing, please reopen if this issue still occurs with Red Hat Linux 7.1 or above.