Date: Tue, 7 Feb 2006 16:07:23 +0100 From: =?iso-8859-1?Q?Markus_=D6rebrand?= <Markus.Orebrand@operax.com> To: <freebsd-security@freebsd.org> Subject: RE: LDAP and Linux compatibility Message-ID: <33656995C5C5094A983DE84DA649A9244A004F@lulex02.ad.operax.com>
next in thread | raw e-mail | index | archive | help
The old thread is here: http://lists.freebsd.org/pipermail/freebsd-security/2005-March/002766.ht ml -- Markus =D6rebrand Markus.Orebrand@operax.com Systems Administrator Operax - Guaranteed QoS > -----Original Message----- > From: owner-freebsd-security@freebsd.org=20 > [mailto:owner-freebsd-security@freebsd.org] On Behalf Of=20 > Markus =D6rebrand > Sent: den 7 februari 2006 15:54 > To: freebsd-security@freebsd.org > Subject: LDAP and Linux compatibility >=20 > While this is a fairly old thread, there may still be people=20 > looking for > the *correct* answer for this question (at least I were 10 minutes > ago...) >=20 > So, the problem is that some applications (acroread7 in this case) > refuse to start when run on a NIS or LDAP (client?), with a message > containing: >=20 > GLib-WARNING **: getpwuid_r(): failed due to unknown user id >=20 > See more about the problem in previous posts in this thread. >=20 > The resolution is to edit /compat/linux/etc/nsswitch.conf, and change >=20 > passwd: files > shadow: files > group: files >=20 > to: >=20 > passwd: db files nisplus nis > shadow: db files nisplus nis > group: db files nisplus nis >=20 > LDAP clients should also have 'ldap' after 'nis' in these rows. >=20 > By the way, editing /etc/nsswitch.conf is the way to go to set lookup > priorities for PAM in Linux.=20 >=20 > -- > Markus =D6rebrand Markus.Orebrand@operax.com > Systems Administrator Operax - Guaranteed QoS >=20 > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to=20 > "freebsd-security-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33656995C5C5094A983DE84DA649A9244A004F>