Date: Wed, 18 Oct 2006 13:49:22 +0800 From: Jahilliya <jahilliya@gmail.com> To: "Chandler, Jay" <chandler@chapman.edu> Cc: freebsd-questions@freebsd.org Subject: Re: LDAP home directories Message-ID: <ba5e78ea0610172249u208bc0a8k3744d9cc2eb24ee@mail.gmail.com> In-Reply-To: <A50A29B70741ED42BE44230B1DF6118414EABC96@ADAM.chapman.edu> References: <A50A29B70741ED42BE44230B1DF6118414EABC96@ADAM.chapman.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/18/06, Chandler, Jay <chandler@chapman.edu> wrote: > > Does anyone have a way to do home directory mapping through LDAP? We've > got user directories mounted via NFS to /usr/users and would like to be > able to type in "cd ~ted" and go to Ted's home directory, perhaps in > /usr/users/students/ted. > > > > We do it in Linux regularly, but I'm trying to lead a migration to > FreeBSD-sadly, haven't done LDAP within BSD of any sort before. > > > > Thanks in advance! > > > > -- > > Jay Chandler > > Network Administrator, Chapman University > Hey, We are using FreeBSD with Samba+OpenLDAP, each user effectively needs mapping to a local user so what we've used to give us the ability to type : cd ~user and get their home dir, as well as type : id 10000 to get their username/groups... is to install nss_ldap, pam_ldap, edit the files in /etc/pam.d/, there is a lot of good information on this, have a look at the Samba docs as well as the documentation for pam_ldap and nss_ldap.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ba5e78ea0610172249u208bc0a8k3744d9cc2eb24ee>