Re: Samba encrypted passwd file
Kent West wrote:
> Hi all!
> According to the Encryption.txt doc file for Samba, the command to
> create the encrypted password file is:
> cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd
> but when I run this I can a error:
> bash: mksmbpasswd.sh: command not found
>
> Is the documentation wrong, or am I missing a file? I've tried to
> "locate mksmbpasswd*" but found nothing.
>
> Also, doesn't this copy the /etc/password file? But if I'm running
> shadow passwords, doesn't that mean the encrypted file won't be able to
> find the passwords?
Right, the samba password file *won't* get the passwords. However, it can't *use* the
unix passwords either so this is a non-issue. You have to create all the samba
passwords by hand using smbpasswd.
--
Jens B. Jorgensen
jjorgens@bdsinc.com
Reply to: