nss_ldap and the linuxulator

Alexander Leidinger Alexander at Leidinger.net
Tue Jan 3 10:10:35 UTC 2012


if you look at the message of the linux base port, you will see that this part is discussed there.

FreeBSD does not come with ldap by default, so does the linux base port. So far nobody complained loudly about the lack of a nss ldap port for the linuxulator, and nobody felt the pressure to create such a port and talk about it on the emulation list. Anyone who uses ldap in the linuxulator is free to create a corresponding port, quesions in case of problems creating such a port can be asked on the emulation mailinglist.


Send via an Android device, please forgive brevity and typographic and spelling errors. 

perryh at pluto.rain.com hat geschrieben:Forwarding to emulation@, which is where the linuxulator gurus hang
out (AFAIK).  Please keep Da Rock in the Cc:


Date: Mon, 02 Jan 2012 21:59:57 +1000
From: Da Rock <freebsd-questions at herveybayaustralia.com.au>
To: freebsd-questions at freebsd.org
Subject: nss_ldap and the linuxulator

I've just run into this snag again which I've resolved back in 7.x/8.1: 
the linuxulator cannot handle nss lookups from ldap. I ran a search for 
nss_ldap fedora 10 and simply extracted from the rpm the 
libnss_ldap*.so* in the usr/lib into the corresponding directory under 

One then only has to copy or setup the ldap.conf in /compat/linux/etc/ 
and change /compat/linux/etc/nsswitch.conf so the it will check files 
and ldap as in the base.

It works a charm when you have issues like the missus with acroread and 
others not working inexplicably. Run acroread from the command line will 
give you the clue: getpwuid_r(): failed due to unknown user id. This 
solution does fix this categorically.

I hope this helps others, but I do have one question: why isn't this 
included in the ports already?

I still haven't yet figured out cups and printer selection yet, but I 
have made some progress... :)

freebsd-emulation at freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list