NIS client differences between FBSD5 and FBSD6?

Jim Hatfield subscriber at
Tue Jan 17 08:16:15 PST 2006

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 at 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
>speyburn# id jhatfield
>uid=115(jhatfield) gid=100(Domain Users) groups=100(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 at
>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.


More information about the freebsd-questions mailing list