[Samba] smbpasswd and shadow passwords

John H Terpstra jht at samba.org
Sat Mar 29 03:24:12 GMT 2003


On Fri, 28 Mar 2003, Allen Smith wrote:

> Hi everyone, I'm still debuging my installation of samba.  in
> /textdocs/DIAGNOSIS.txt under test 7, it suggested that
>
> - you have shadow passords (or some other password system) but didn't
> compile in support for them in smbd
>
> How do I check if my shadow passwords isn't compiled in support for them in
> smbd, if they are not, how do I go about compiling them?

You did not state what your platform is. Our crystal balls are so badly
worn out that guessing is painful! :)

Anyhow: In Linux shadow passwords are hidden behind PAM (Pluggable
Authentication Modules) so you do not need to worry about it.

> - you enabled password encryption but didn't create the SMB encrypted
> password file

Yep. All you need to do then is:

	smbpasswd -a root

then for each user:

	smbpasswd -a 'username'

That puts them into smbpasswd.

>
> Again how do I check for this and how do I create the SMB encrypted password
> file?  If it's talking about the /etc/samba/private/smbpasswd file, then I
> have it.  is this all I need or is there something else I'm missing?

It is talking about /etc/samba/private/smbpasswd - but you do need to make
sure that all your MS Windows users have an antry in it per the above.

- John T.
-- 
John H Terpstra
Email: jht at samba.org


More information about the samba mailing list