On Fri, 4 Feb 2000, Joachim Staeck wrote:
> Hello,
>
> Windows encrypts passwords in an ohther way than UNIX, so you can?t convert
> a UNIX Password to an SMB Password. The only way to use UNIX Passwords is to
> turn of encrytied passwords in your smb.conf and to force your Windows
> machines to send passwords as plain text (see Samba Documentation for the
> REG-Patch). By the way you could let Samba change your UNIX Password if you
> change it from your Windows box, the other way could be done by a wrapper
> script for passwd, but that wouldn?t be very secure.
>
> MfG Joachim
>
> -----Ursprungliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von Nitin Raja Bhatia
> Gesendet: Donnerstag, 3. Februar 2000 22:35
> An: [EMAIL PROTECTED]
> Betreff: [expert] SMB Trick: Using linux user accounts for SAMBA
>
>
> Hey All,
> Does anyone know if it is possible to use Linux username's and passwords
> for SAMBA. Hence, so I don't have to duplicate it just for smbuser and
> don't have to maintain smbpasswd.
>
> Raja-the-Tiger
> www.LinuxGiant.com
>
>
>
>
Here's a bit of wisdom from the O'Reilly "Using Samba" book:
begin quote:
update encrypted
For sites switching over to the encrypted password format, Samba provides
an option that should help with the transition. The "update encrypted"
option allows a site to ease into using encrypted passwords from plaintext
passwords. You can activate this option as follows
[global]
update encrypted = yes
This instucts Samba to creat an encrypted version of each user's Unix
password in the "smbpasswd" file each time he or she connects to a share.
When this option is enabled, you must have the "encrypt passwords" option
set to no so that the client will pass plaintext passwords to Samba to use
to update the files. Once each user has connected at least once, you can
set "encrypted passwords = yes", allowing you to use only the encrypted
passdwords. The user must already have a valid entry in the "smbpasswd"
file for this option to work.
end quote:
I use Samba here to allow my two client machines to connect to shared
directories in my Linux filesystem. The only step I had to complete to
make it able to use encrypted passwords was to execute "addsmbuser" and
add all my users to that file. I also learned that if I use Linuxconf to
add users accounts to my machine, it will automatically place the new id
and password in the smbpasswd file.
--
Rich Clark
Sign the petition at http://www.libranet.com/petition.html
Help bring us more Linux Drivers