From owner-freebsd-questions@FreeBSD.ORG Wed Oct 18 05:49:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D63016A415 for ; Wed, 18 Oct 2006 05:49:23 +0000 (UTC) (envelope-from jahilliya@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id C314C43D45 for ; Wed, 18 Oct 2006 05:49:22 +0000 (GMT) (envelope-from jahilliya@gmail.com) Received: by wx-out-0506.google.com with SMTP id t4so161184wxc for ; Tue, 17 Oct 2006 22:49:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ZyRNuwGGFRb5H5yLIcJc8ogeiXty5z2KPlbgys0HxPg8PwPYnzemI42qgqnCGj2qldWiVAH8z7Q7ATBcaFzJNPyGcFJ+RLxNe9AgW7axstowor0avyKDxXVcf7HGY5sFESnpatZjuIJTVK20e6yblI2imljEwxxh45N7ys2txvw= Received: by 10.90.78.1 with SMTP id a1mr5764464agb; Tue, 17 Oct 2006 22:49:22 -0700 (PDT) Received: by 10.90.101.10 with HTTP; Tue, 17 Oct 2006 22:49:22 -0700 (PDT) Message-ID: Date: Wed, 18 Oct 2006 13:49:22 +0800 From: Jahilliya To: "Chandler, Jay" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: LDAP home directories X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2006 05:49:23 -0000 On 10/18/06, Chandler, Jay 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.