nss_ldap and the linuxulator
Alexander Leidinger
Alexander at Leidinger.net
Tue Jan 3 11:25:37 UTC 2012
Ooops,
you are correct that there are no explicit words about ldap, but the underlying issue is the same, you use a non-default nss setup.
If the rpm only contains nss ldap stuff, copy an existing linux-xxx port and modify it. Shouldn't be too hard. Just give it a try, and if you hit a problem just ask about it on emulation at . The makefile, pkg-descr and pkg-plist are the important files to have a look at.
Bye,
Alexander.
--
Send via an Android device, please forgive brevity and typographic and spelling errors.
Da Rock <freebsd-questions at herveybayaustralia.com.au> hat geschrieben: On 01/03/12 19:52, Alexander Leidinger wrote:
Hi,
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.
Alex, I don't see any such message in the linux port. It mentions NIS only.
I've also seen over time this question pops up and the only answer is to provide a "hack" that sets up passwd at boot or such.
This is a quick and easy solution to the problem.
As for the port: what's involved with that? It's not exactly something that needs updating regularly. I'd say just have it in ports for those that happen to need it. All it needs to do is copy the pam files to the usr/lib dir under linux and a message to remind the admin to set ldap.conf and nsswitch.conf.
So, how do I go about getting it in there? I have the files, but I haven't exactly mastered the makefiles under ports as yet (or in general, for that matter... :( ).
More information about the freebsd-emulation
mailing list