Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2006 16:16:10 +0000
From:      Jim Hatfield <subscriber@insignia.com>
To:        freebsd-questions@freebsd.org
Subject:   NIS client differences between FBSD5 and FBSD6?
Message-ID:  <cl5qs1lo984mv1eou92ie4l7hrit72dqsr@4ax.com>

next in thread | raw e-mail | index | archive | help
Still trying to migrate our NIS from an old Sparc to a Services For
Unix/Active Directory setup. AMD won't play so I'm using text files
for that. Now to move forward to actually logging in....

A test machine running FreeBSD 6 seems to work OK, though "ypwhich -m"
behaves strangely:

>speyburn# uname -v
>FreeBSD 6.0-RELEASE #0: Thu Nov 17 12:42:17 GMT 2005     =
root@speyburn.internal.local:/usr/obj/usr/src/sys/GENERIC
>speyburn# ypwhich -m
>ypwhich: can't find the master of `: reason: No such map in server's =
domain
>speyburn# ypwhich -m ypservers
>axiom
>speyburn# id jhatfield
>uid=3D115(jhatfield) gid=3D100(Domain Users) groups=3D100(Domain Users),=
 0(wheel)

But a production machine running FreeBSD 5 does not:

>banff# uname -v
>FreeBSD 5.1-RELEASE-p16 #1: Wed Apr  7 15:14:39 BST 2004     =
root@banff.isltd.insignia.com:/usr/obj/usr/src/sys/BANFF
>banff# ypwhich -m
>ypservers axiom
>banff# id jhatfield
>id: jhatfield: no such user

The only change I made is to the nisdomainname line in /etc/rc.conf,
followed by a reboot.

All the ypxxx commmands seem to work OK, yet usernames can't be looked
up. Why would this be? I really don't want to replace this machine
with a FBSD6 machine just to fix this, though I will if I have to.

Jim



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