Samba Laziness

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Logan Kennelly
Date:  
Subject: Samba Laziness
On Wednesday 17 July 2002 01:05 am, Trent Shipley wrote:
> 3) Win2K cannot browse any shares. It's username/Password combo doesn't
> work. (I suspect there are a toggle or two that I'm missing. Maybe a
> host-allow file or something too.)


I had a similar problem when I set up my Samba share. After digging through
the newsgroups, I believe I fixed the problem by adding the following three
lines into my smb.conf under the "[global]" category:

encrypt passwords = yes
security = share
smb passwd file = /etc/samba/smbpasswd

The reasoning was that Windows 2000 _requires_ that passwords be encrypted
by default. Although you can edit the registry to change this option, it
seems better to just go along with it.

Notes:

I believe /etc/samba/smbpasswd must exist, even if it is a zero byte file.
The permissions also have to be set so that the world cannot view the file.

The "security = share" may or may not be required. It has to do with your
individual configuration, but I don't think there is any issues with
leaving it as share. This setting is recommended for "guest" shares where
no password is required.

- -- 
                        Logan Kennelly
      ,,,
     (. .)
- --ooO-(_)-Ooo--