Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 14:47:41 -0500 (EST)
From:      Tim Kellers <timothyk@serv1.wallnet.com>
To:        <questions@freebsd.org>
Subject:   NIS gods angry
Message-ID:  <20021107142617.L16192-100000@serv1.wallnet.com>

next in thread | raw e-mail | index | archive | help

In a computer lab at work...

From rc.conf in my master server:

portmap_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
nisdomainname="nemesis"
nis_server_enable="YES"
nis_yppasswdd_enable="YES"
#nis_client_enable="YES"

ls -la of /var/yp:

drwxr-xr-x   3 root  wheel    512 Nov  7 13:36 .
drwxr-xr-x  26 root  wheel    512 Sep 10 14:55 ..
-r--------   1 root  wheel  18448 Nov  7 13:35 Makefile
-r--r--r--   1 root  wheel  18448 Oct 12 00:21 Makefile.dist
-rw-------   1 root  wheel   4491 Nov  7 08:41 master.passwd
drwx------   2 root  wheel    512 Nov  7 13:36 nemesis
-rw-------   1 root  wheel   3653 Nov  7 13:35 passwd
-rw-------   1 root  wheel     40 Nov  7 13:35 ypservers

uname -v of my master server:

FreeBSD 4.7-STABLE #3: Sat Oct 12 00:29:43 EDT 2002
root@dhcp198-13.njit.edu:/usr/obj/usr/src/sys/MELPOMENE

From rc.conf on my NIS client machine:

nisdomainname="nemesis"
nis_client_enable="YES"
nfs_client_enable="YES"
nfs_reserved_port_only="YES"

uname -v of my client machine:

FreeBSD 4.7-STABLE #0: Fri Nov  1 13:17:18 EST 2002
user@dhcp199-1.njit.edu:/usr/obj/usr/src/sys/ARGUS

I'm using NFS to mount /usr/home from the server on the client machine.
All the accounts on the server have their home directories in /usr/home
ypcat passwd returns the passwd list, ypwhich returns the master server
name, chpass (usernameon server) returns the correct user's master.passwd
entry.

I've placed the correct punctuation at the bottom of the edited
master.passwd file and in the /etc/group file.

But....

None of my NIS server users can login on the client machine.

For example:

> su -l zooba
su: unknown login: zooba

And zooba is a valid login name/account on the NIS master.

I use an NFS/NIS combination in my homenetwork where 3 laptops all
wirelessly login to my NIS/NFS server.  I remember it took some time to
get it to work right, but it works just fine.

I'm clueless as to what is wrong in the lab at work.

Suggestions welcome.

Tim Kellers
CPE/NJIT



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021107142617.L16192-100000>