Bug 140009 - configuration issue NIS in nsswitch.conf(5)
Summary: configuration issue NIS in nsswitch.conf(5)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2009-10-27 08:30 UTC by Volker Jahns
Modified: 2018-01-03 05:13 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Volker Jahns 2009-10-27 08:30:01 UTC
actual behaviour:
database source entry 'compat' for Database passwd in '/etc/nsswitch.conf' will result in failure of name lookup for user entries:
user1@pegasus ~ > id user2
id: user2: no such user

Changing to database source entry 'files nis' will succeed in name lookup
user1@pegasus ~ > id user2
uid=ppp(user2) gid=nnn(group2) groups=nnn(group2),5(operator),0(wheel),80(www)
- user1 is local user, user2 distributed via NIS.
- FreeBSD 6.2-stable is distributed with identical /etc/nsswitch.conf and works with NIS out of the box.

desired behaviour:
correct documentation and/or nsdispatch to be compatible with older installations.

further information:
jahns@pegasus ~ > diff /etc/nsswitch.conf nsswitch.conf 
< #
< # nsswitch.conf(5) - name service switch configuration file
< # $FreeBSD: src/etc/nsswitch.conf,v 2009/04/15 03:14:26 kensmith Exp $
< #
< passwd: files nis
> passwd: compat


Edit nsswitch.conf on FreeBSD 7.2 and change entry of database passwd from
passwd: compat
passwd: files nis
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:38 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped