Samba Laziness
Logan Kennelly
plug-discuss@lists.plug.phoenix.az.us
Wed, 17 Jul 2002 09:57:50 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9NaIRpNoctRtUIRQRAqLYAJ9Hc4YzOmqoh6L6C33qpcYofFq43ACfQo4I
+s4N8LBEBiFgjpwKwZjcAAY=
=Y/d3
-----END PGP SIGNATURE-----