Samba passwords

Bob Hall rjhalljr at starpower.net
Wed Jul 2 14:35:35 PDT 2003


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


More information about the freebsd-questions mailing list