From owner-freebsd-questions@FreeBSD.ORG Wed Mar 23 14:10:11 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 E5B7616A4CE for ; Wed, 23 Mar 2005 14:10:11 +0000 (GMT) Received: from web81002.mail.yahoo.com (web81002.mail.yahoo.com [206.190.37.147]) by mx1.FreeBSD.org (Postfix) with SMTP id 3F23443D39 for ; Wed, 23 Mar 2005 14:10:11 +0000 (GMT) (envelope-from jprez1980@yahoo.com) Message-ID: <20050323141010.6422.qmail@web81002.mail.yahoo.com> Received: from [68.90.100.209] by web81002.mail.yahoo.com via HTTP; Wed, 23 Mar 2005 06:10:10 PST Date: Wed, 23 Mar 2005 06:10:10 -0800 (PST) From: JP To: fandino@ng.fadesa.es In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: mkhomedir.so is missing =( X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 14:10:12 -0000 Unfortunately I don't think it would work in my case although its a good idea. My problem is that my Windows 2000 Server (PDC) contains all the user information and FreeBSD authenticates against it. Supposedly, a person telneting in would be authenticated with winbind and if no home directory exists it would be created by the mkhomedir.so file. It doesn't appear that many people have experienced missing this file, not having much luck finding anything on google about it. JP fandino wrote: 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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"