[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Samba Passwords


I've just converted morris (and hopper) over to using encrypted
passwords.  It was pretty simple, the only line I had to change
in /etc/samba/smb.conf in the global section was:

	encrypt passwords = yes

I then had to create /etc/samba/smbpasswd, which I did by
the following:

	# cat /etc/passwd | mksmbpasswd  > /etc/samba/smbpasswd

Then, to enable accounts (ie, change passwords), I did:

	# smbpasswd bmarshal

Note this means that we need to change (samba) passwords for
each user who wants to use smb mounted shares from morris.

It'd be nice to have this information in ldap and get samba
to talk to it from there, but thats for another day.

For more information on how Windows does encryption, see

|Brad Marshall                    |           Plugged In Software|
|Senior Systems Administrator     |     http://www.pisoftware.com|
|mailto:bmarshal@pisoftware.com   |  GPG Key Id: 47951BD0 / 1024b|
 Fingerprint:  BAE3 4794 E627 2EAF 7EC0  4763 7884 4BE8 4795 1BD0