Samba Laziness
Trent Shipley
plug-discuss@lists.plug.phoenix.az.us
Wed, 17 Jul 2002 19:49:59 -0700
> smb passwd file = /etc/samba/smbpasswd
I made this change it worked.
> security = share
In my smb.conf this is still set to:
security = user
This is evidently acceptable.
On Wednesday 17 July 2002 09:57, Logan Kennelly wrote:
> 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.