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) -- n.b. - 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 1,4d0 < # < # nsswitch.conf(5) - name service switch configuration file < # $FreeBSD: src/etc/nsswitch.conf,v 1.1.8.1 2009/04/15 03:14:26 kensmith Exp $ < # 9c5 < passwd: files nis --- > passwd: compat Fix: Edit nsswitch.conf on FreeBSD 7.2 and change entry of database passwd from -- passwd: compat -- into -- passwd: files nis --
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
Volker, did you also have "passwd_compat: nis" in your nsswitch.conf? Could you check if the problem still persists?
- cannot comment on "passwd_compat: nis" in nsswitch.conf - problem does not persist as server out of production since approx. 2010 Do you want me to reevaluate the behaviour? Which Version of FreeBSD then?
If you have time to recheck this issue on FreeBSD 14.1 that'd certainly be great.