SUMMARY: NIS painfully slow on OSF/1 3.0

From: Jonathan Rozes <jrozes_at_gumbo.tcs.tufts.edu>
Date: Mon, 27 Nov 1995 16:09:35 -0500

On Tue Nov 14, 4:40pm, I said:

> We've attempted to install a NIS master server on an Alpha 3000/800 running
> OSF/1 3.0, but had to back down due to extreme sluggishness.
>
> We followed all of the intructions in the Network Configuration Guide, except
> that we only want to deal with the passwd, group, and hosts databases. The
> Alpha is the master server; there are no slave servers or clients (there will
> be clients once the the server actually works).
>
> Having configured everything correctly, I reboot, login, and as a test, try
> to change my password with yppasswd (we are running rpc.yppasswdd). I get
> the "Changing NIS password" message and then it hangs for a good five minutes
> before asking me my old password. Ditto when I try to su.

One thing is that if there are no slave servers, the ypservers map should be
empty (ours listed the master as a slave server). It still must be created,
only without any entries, like so:

        cd /var/yp
        ./makedbm - <domainname>/ypservers
        <ctrl-d>

Jon Buchanan <Jonathan.Buchanan_at_ska.com> suggested, among other things:

        Make sure the hashed password files /etc/passwd.dir and
        /etc/passwd.pag do not exist or NIS gets confused. Delete
        them if they are present (you really don't need them - honest!)
        and don't ever remake them when asked by the adduser utility.

The combination of these two things appears to have fixed our problems.

However, there is a remaining issue with yppasswdd, which is manifested in
rpc.yppasswdd writing the DBM passwd maps mode 666 (group and world writable).
We have filed a bug report with DEC and are awaiting a fix. If you run the
yppasswd server and don't have this problem (with OSF/1 3.0) I'd be very
interested in hearing from you!

Thanks to all who replied...
jonathan

-- 
+++ Jonathan Rozes, Unix Systems Administrator, Tufts University
++  jrozes_at_tcs.tufts.edu, http://gumbo.tcs.tufts.edu/~jrozes/
+   Mind Over Liver: The liver probably contains 100 million cells, but
    1,000 livers do not add up to a rich inner life. <GDF:SA 09/92>
Received on Mon Nov 27 1995 - 22:32:23 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT