From owner-freebsd-questions@FreeBSD.ORG Wed Mar 23 11:20:59 2005 Return-Path: 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 2492716A4CE for ; Wed, 23 Mar 2005 11:20:59 +0000 (GMT) Received: from tierra2.ng.fadesa.es (tierra2.ng.fadesa.es [195.55.55.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C64043D4C for ; Wed, 23 Mar 2005 11:20:51 +0000 (GMT) (envelope-from fandino@ng.fadesa.es) Received: from [195.55.55.163] ([195.55.55.163]) (authenticated bits=0) by tierra2.ng.fadesa.es (8.12.10/8.12.10) with ESMTP id j2NBKlmA003183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 Mar 2005 12:20:50 +0100 Message-ID: <4241510F.8050705@ng.fadesa.es> Date: Wed, 23 Mar 2005 12:20:47 +0100 From: fandino User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: gl, en, es MIME-Version: 1.0 Cc: freebsd-questions@freebsd.org References: <20050323030112.61189.qmail@web81004.mail.yahoo.com> In-Reply-To: <20050323030112.61189.qmail@web81004.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: user fandino from 195.55.55.163 X-Virus-Scanned: ClamAV 0.83/780/Wed Mar 23 01:08:55 2005 on tierra2.ng.fadesa.es X-Virus-Status: Clean Subject: Re: mkhomedir.so is missing =( X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fandino@ng.fadesa.es List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 11:20:59 -0000 JP wrote: > I need some help trying to locate or how to obtain/build a file > named "mkhomedir.so" this file is needed to create home directories > after logging in successfully though winbind. I am running FreeBSD 5.3 > Release, and Samba 3. I am unable to locate this file anywhere. I'm using "preexec" as a workaround to the missing mkhomedir. [homes] comment = Home Directories valid users = %S path = /samba/%u read only = No browseable = No # automatic home directories creation root preexec = if [ ! -d "/samba/%u/" ] ;\ then { mkdir -p "/samba/%u/.winprofile" ;\ chown -R %u "/samba/%u" ; \ chmod -R 0700 "/samba/%u" ;} ; \ fi