We are using RedHat 5.2 on SPARC with glibc-2.0.7-29.
And we are using NIS. Our NIS-Server is not in the same subnet but it
is entered in /etc/hosts.
When ypbind is started authentification via NIS is done
correctly but it takes more than 60 seconds to login (telnet-timeout !).
Even when I am logged in as root and do a
is takes more than 60 seconds. When switching off ypbind the
problem disappears. But we need NIS for user authentification.
Tcpdump showed, that there are about 100 request to the
NIS-Server when "su localaccount" is executed.
"strace su localaccount"
it only takes about 10 seconds (this is the time
it takes to display the output of strace) and then succeeds.
Tcpdump then shows less requests to the NIS-server.
With a little trick I managed to let "strace su" behave like "strace".
So I could see that the function that takes about 5 seconds several
times is called "_newselect".
Anybody any idea ?
Please tell me which dumps/logs you need!