Date: Tue, 31 Aug 2004 07:16:40 +0200 (CEST) From: Konrad Heuer <kheuer2@gwdg.de> To: Curtis Vaughan <curtis@npc-usa.com> Cc: freebsd-questions@freebsd.org Subject: Re: LDAP, pam, nss Message-ID: <20040831071244.U27214@gwdu60.gwdg.de> In-Reply-To: <181DE4A6-FAE4-11D8-AE08-000393934006@npc-usa.com> References: <181DE4A6-FAE4-11D8-AE08-000393934006@npc-usa.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Aug 2004, Curtis Vaughan wrote: > In order to get centralized logins to work on my Linux Debian computers > (authenticating of a RedHat Samba server), I have to: > > install libnss-ldap libpam-ldap. > Perform some configuration on the of /etc/libnss-ldap.conf and > /etc/pam-ldap.conf files. > Edit the /etc/nnsswitch.conf file. > > Then I can check that the packages have been installed by issuing the > command nscd. > > Finally to get authentication happening in specific applications, I go > to the directory /etc/pam.d/=A0 and edit the service files there though > which I want such authentication to occur. > > Now, of course, no one here is looking for instructions on how to do > something on Linux, but I was now wondering what it is I need to do on > my FreeBSD server to get this functionality working? I can't seem to > find anything similar so far in my searches. > > Thanks for any pointers in the right direction. With FreeBSD 4.x, you won't get very far. But beginning with 5.x (not to say 5.2.1-R), it's very similar. Install the following ports: /usr/ports/security/pam_ldap /usr/ports/net/nss_ldap Edit /usr/local/etc/ldap.conf, build /etc/nsswitch.conf, and edit the files within /etc/pam.d. Regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040831071244.U27214>