[CentOS] RE: Samba config for Windows on VMWare

Fri Mar 23 22:34:56 UTC 2007
Akemi Yagi <amyagi at gmail.com>

On Fri, 23 Mar 2007 18:18:36 -0400, Mark Hull-Richter wrote:

>> -----Original Message-----
>> From: centos-bounces at centos.org
>> [mailto:centos-bounces at centos.org] On
>> Behalf Of John R Pierce
>> Sent: Friday, March 23, 2007 2:28 PM
>> To: CentOS mailing list
>> Subject: Re: [CentOS] Samba config for Windows on VMWare
>> 
>> security=SHARE is for old school win95 networks, with global passwords
>> on each share, I'd avoid that entirely.
>> 
>> use `security=USER`, then read up on smbpasswd. create linux user
>> accounts for each Windows user (same username as they log onto Windows
>> with), then use smbpasswd to set their Samba password to match their
>> Windows login password. Samba can't use their Linux password as SMB
>> networking and Linux use completely different password hashes.
>> 
> Okay, but (I had to have a but in there), I did not set up the Windows
> account, and it has a space, and a hyphen, in it (Mark Hull-Richter). Does
> that work on Linux, or should I go to the trouble of making a new Windows
> account with a simple name, transferring all the settings and files and so
> on, etc.?

In Windows 2000 and XP, you would be able to "connect as".  In other
words, you can specify the username and its password that are known to
samba when making a connection.  As suggested in the above message, do a
smbpasswd -a <username> as root to set up the passwd on the samba server.

Akemi