Hello friends,
I recently ran an upgrade on my system which is debian sid(most of it) during the upgrade I noticed that libc6 version is also being upgraded .
After the upgrade I noticed that my machine rejects any NIS login. It allows login through local accounts though.
I have attched two sections of auth.log file
here user shashank is a NIS user. If I do ypcat passwd or passwd.byname I get the entire passwd db from NIS sever. also ypwhich points to correct ypserver. We have only one NIS server on the network and no NIS slaves running.
My experience with NIS is not very vast.
I went through google but those docs did not help me much.
version of libc6 running on the system is 2.3.2-3 version of nis on system is 3.9-6.3 ========================================================================================== Aug 29 00:33:53 gnu PAM_unix[2172]: authentication failure; (uid=0) -> shashank for ssh service Aug 29 00:33:55 gnu sshd[2172]: Failed password for shashank from 158.144.42.200 port 35335 ssh2 Aug 29 00:34:02 gnu PAM_unix[2172]: check pass; user unknown Aug 29 00:34:04 gnu sshd[2172]: Failed password for shashank from 158.144.42.200 port 35335 ssh2 Aug 29 00:34:12 gnu PAM_unix[2172]: check pass; user unknown Aug 29 00:34:15 gnu sshd[2172]: Failed password for shashank from 158.144.42.200 port 35335 ssh2 Aug 29 00:34:15 gnu PAM_unix[2172]: 2 more authentication failures; (uid=0) -> shashank for ssh service Aug 29 00:34:32 gnu PAM_unix[2174]: check pass; user unknown ========================================================================================== Aug 29 17:19:13 gnu login[12149]: FAILED LOGIN (1) on `tty1' FOR `shashank', Authentication service cannot retrieve authentication info. Aug 29 17:19:20 gnu PAM_unix[12149]: (login) session opened for user matrix by LOGIN(uid=0)Aug 29 17:20:02 gnu PAM_unix[12150]: authentication failure; LOGIN(uid=0) -> root for login service Aug 29 17:20:05 gnu login[12150]: FAILED LOGIN (1) on `tty1' FOR `root', Authentication failure Aug 29 17:20:08 gnu PAM_unix[12150]: (login) session opened for user root by LOGIN(uid=0) Aug 29 17:20:08 gnu login[12150]: ROOT LOGIN on `tty1' Aug 29 17:20:24 gnu PAM_unix[12172]: check pass; user unknown Aug 29 17:20:24 gnu PAM_unix[12172]: authentication failure; LOGIN(uid=0) -> shashank for login service Aug 29 17:20:26 gnu login[12172]: FAILED LOGIN (1) on `tty1' FOR `shashank', Authentication service cannot retrieve authentication info. ==========================================================================================
Any help is apreciable
Shashank
Hi,
This email is regarding my earlier post to the list regarding broken NIS clients.
There seems to be a bug in libc6 I got following two responses from debian users list.
Response 1: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=206294 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=204711
Probably you should downgrade libc6 for the moment.
Response 2: Basically, you need to change the nsswitch.conf file from 'compat' to 'nis files' for the relevant lines, afairc.
I downgraded libc6 on my m/c to the libc6 from testing section and it worked fine.
I also tried this second alternative but that broke my local users.
Hope this helps someone.
Shashank