LDAP and Linux compatibility

Markus Örebrand Markus.Orebrand at operax.com
Tue Feb 7 07:07:32 PST 2006


The old thread is here:

http://lists.freebsd.org/pipermail/freebsd-security/2005-March/002766.ht
ml

--
Markus Örebrand         Markus.Orebrand at operax.com
Systems Administrator   Operax - Guaranteed QoS

> -----Original Message-----
> From: owner-freebsd-security at freebsd.org 
> [mailto:owner-freebsd-security at freebsd.org] On Behalf Of 
> Markus Örebrand
> Sent: den 7 februari 2006 15:54
> To: freebsd-security at freebsd.org
> Subject: LDAP and Linux compatibility
> 
> While this is a fairly old thread, there may still be people 
> looking for
> the *correct* answer for this question (at least I were 10 minutes
> ago...)
> 
> 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:
> 
> GLib-WARNING **: getpwuid_r(): failed due to unknown user id
> 
> See more about the problem in previous posts in this thread.
> 
> The resolution is to edit /compat/linux/etc/nsswitch.conf, and change
> 
>   passwd:     files
>   shadow:     files
>   group:      files
> 
> to:
> 
>   passwd:    db files nisplus nis
>   shadow:    db files nisplus nis
>   group:     db files nisplus nis
> 
> LDAP clients should also have 'ldap' after 'nis' in these rows.
> 
> By the way, editing /etc/nsswitch.conf is the way to go to set lookup
> priorities for PAM in Linux. 
> 
> --
> Markus Örebrand         Markus.Orebrand at operax.com
> Systems Administrator   Operax - Guaranteed QoS
> 
> _______________________________________________
> freebsd-security at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to 
> "freebsd-security-unsubscribe at freebsd.org"
> 


More information about the freebsd-security mailing list