Re: Samba upgrade, password issue
In article <cistron.Pine.LNX.3.96.1000216141544.3035F-100000@ron.rademaker.dhs.org>,
Ron Rademaker <ron@wep.tudelft.nl> wrote:
>Well, it's not really a downgrade (but I understand you think so), because
>now samba allows you to have different passwords for samba and shell.
That's not the reason - the reason is that windows "encrypted passwords"
are not compatible with Unix hashed passwords as in /etc/passwd. It
will work if your windows installation has encrypted passwords turned
off (for Win98 and 2000, you need to change some obscure registry entry).
>There is a program that converts all the passwords from /etc/passwd to
>smbpasswd, I can't remember the name.
That's because such a program cannot exist. Passwords in /etc/passwd are
one-way encrypted (hashed really) and you cannot decode them in any way.
>I always use smbpasswd -a <USER> (as
>root) to give anybody who needs access to samba, they can then later
>change it with smbpasswd. (The -a options says that if the user is not in
>smbpasswd smbpasswd has to add the user).
If you have win3.1 or 95 clients (or 98/2000 with the registry fixed)
and you turn off the "encrypt passwords" parameter in smb.conf samba
will use /etc/passwd to authenticate.
Mike.
--
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)
Reply to: