(2013-07-29)
Problem
I'm creating a new user in NIS. However I can't use it. For example:
[root@fia home]# ypcat auto.home | grep glean
stimpy:/vol/vol1/home/glean
[root@fia home]# ypmatch glean auto.home
Can't match key glean in map auto.home. Reason: No such key in map
Also possibly relevant:
[root@fia home]# yppasswd glean
Unknown error
yppasswd: unknown user (uid=0).
Solution
I made two changes which might be relevant:
- add 127.0.0.1 to /var/yp/securenets
255.255.255.255 127.0.0.1
- turn off file handle caching in /etc/ypserv.conf
# How many map file handles should be cached ?
files: 0
Things are much better behaved now.