In article <[EMAIL PROTECTED]>,
Ron Rademaker  <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] (Miquel van Smoorenburg)

Reply via email to