Originally Posted by djh-novell
> Clients are autenticated by nis and mount the directory with automount
> by nfs. All was working fine but after an update i have an error:
> Nov 27 02:01:00 tutatis kernel: svc: 192.168.2.60, port=884: unknown version (4 for prog 100003, nfsd)
> Nov 27 02:01:00 tutatis mountd: mount request from unknown host 192.168.2.60 for /home/fperal (/home/fperal)
Which machine is that? Server or a client?
> My /etc/exports on the server includes this line
> /home 192.168.2.*(rw,async,no_subtree_check)
But what about the config on the client?
we haven't changed anything on the clients. It was working two days ago.
This is /etc/nsswitch.conf
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat nis
group: compat nis
shadow: compat nis
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 nis
networks: files nis
protocols: db files nis
services: db files nis
ethers: db files nis
rpc: db files nis
The following files end with a + followed by some : (as in brackets)
# yp.conf Configuration file for the ypbind process. You can define
# NIS servers manually here if they can't be found by
# broadcasting on the local net (which is the default).
# See the manual page of ypbind for the syntax of this file.
# IMPORTANT: For the "ypserver", use IP addresses, or make sure that
# the host is in /etc/hosts. This file is only interpreted
# once, and if DNS isn't reachable yet the ypserver cannot
# be resolved and ypbind won't ever bind to the server.
# ypserver ypserver.network.com
/etc/passwd (6) /etc/group (3) /etc/shadow (8) and /etc/gshadow (3)
These are /etc/auto.master and /etc/auto.home
root@PC1410:/# cat /etc/auto.master
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
# Include central master map if it can be found using
# nsswitch sources.
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
root@PC1410:/# cat /etc/auto.home
NIS is working fine, the sistem ypcat passwd gives me the whole user list on the server and the ubuntu machine let me login with any nis user, but then it fails mounting my home
> it's a dns problem or is something related to nfs?
I would guess that you were using NFS v3 and either the server or client
has tried to switch to NFS v4 (as per error message). Find out what and
where and switch it back to v3. Alternatively, upgrade *all* the systems
to recent versions and you could try v4 but you will probably have to
extensively modify your config files as well.
Ok, will try that way