For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > ypcat shows results but ypmatch doesn't

ypcat shows results but ypmatch doesn't

Created by dave. Last edited by dave, 5 years and 268 days ago. Viewed 2,557 times. #1
[edit] [rdf]


I'm creating a new user in NIS. However I can't use it. For example:

[root@fia home]# ypcat auto.home | grep 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).


I made two changes which might be relevant:

  • add to /var/yp/securenets
  • 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.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt