Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2003 17:32:10 -0400
From:      "Bob Hall" <rjhalljr@starpower.net>
To:        FreeBSD Questions List <freebsd-questions@freebsd.org>
Subject:   Re: Samba passwords
Message-ID:  <20030702213210.GA6061@kongemord.krig.net>
In-Reply-To: <20030701092942.GB12367@tuatara.fishballoon.org>
References:  <20030701002557.GB17249@kongemord.krig.net> <20030701092942.GB12367@tuatara.fishballoon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <any user name>
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 <user name>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030702213210.GA6061>