From owner-freebsd-questions@FreeBSD.ORG Wed Jul 2 14:35:35 2003 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 17C1F37B40E for ; Wed, 2 Jul 2003 14:35:35 -0700 (PDT) Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id B14C443F93 for ; Wed, 2 Jul 2003 14:35:31 -0700 (PDT) (envelope-from rjhalljr@starpower.net) Received: from 66-44-61-4.s258.tnt4.lnhva.md.dialup.rcn.com ([66.44.61.4] helo=svold.krig.net) by smtp03.mrf.mail.rcn.net with smtp (Exim 3.35 #4) id 19XpGE-0001nf-00 for freebsd-questions@freebsd.org; Wed, 02 Jul 2003 17:35:31 -0400 Received: by svold.krig.net (sSMTP sendmail emulation); Wed, 2 Jul 2003 17:32:10 -0400 From: "Bob Hall" Date: Wed, 2 Jul 2003 17:32:10 -0400 To: FreeBSD Questions List Message-ID: <20030702213210.GA6061@kongemord.krig.net> Mail-Followup-To: FreeBSD Questions List References: <20030701002557.GB17249@kongemord.krig.net> <20030701092942.GB12367@tuatara.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030701092942.GB12367@tuatara.fishballoon.org> User-Agent: Mutt/1.4.1i Subject: Re: Samba passwords 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, 02 Jul 2003 21:35:35 -0000 On Tue, Jul 01, 2003 at 10:29:42AM +0100, Scott Mitchell wrote: > On Mon, Jun 30, 2003 at 08:25:57PM -0400, Bob Hall wrote: > > samba-2.2.8a > > FreeBSD 4.8 I have Samba working with encrypted passwords. In the earlier versions of Samba, the default location for the smbpasswd file was /usr/local/samba/private It now appears to be /usr/local/private As near as I can tell, you create the password file with # smbpasswd -a This seems to create /usr/local/private/smbpasswd will all users in /etc/passwd, and with a hashed password for the user specified in the command. Passwords can be added for any further users with the usual command: # smbpasswd The crucial step was running smbpasswd with the -a option. After that, the instructions in the documentation worked. Thanks to everyone who responded. Even though I didn't use any of the suggestions, they prodded me in the right direction. Bob Hall