This is Samba 3.6.10, BTW.
After further debugging, I can't get it to work under any circumstances with
XP, but I can get it to allow guest shares with the following:
security = USER
encrypt passwords = Yes
map to guest = Bad User
However, I really need encrypt passwors = No. That apparently is the culprit
however.
Does anyone know how to allow guest access while sending unencrypted
credentials? I'm guessing it fails because the user exists in the UNIX
passwd file.
Many thanks in advance!
-Ben
________________________________________
From: samba-bounces at lists.samba.org [samba-bounces at lists.samba.org] on
behalf of Benjamin Huntsman [BHuntsman at mail2.cu-portland.edu]
Sent: Monday, March 18, 2013 2:30 PM
To: samba at lists.samba.org
Subject: [Samba] helppp! security = user + public share
I'm getting killed this morning, since we did a Samba upgrade to one of our
production servers this weekend and didn't expect this one.
I have one share that I need unauthenticated access to from a few named
workstations. Here's the config:
# Samba config file created using SWAT
# from UNKNOWN (x.x.x.x)
# Date: 2013/03/18 14:25:33
[global]
encrypt passwords = No
map to guest = Bad User
guest account = pcguest
log level = 3
os level = 8
local master = No
domain master = No
idmap config * : range idmap config * : backend = tdb
[pubshare]
path = /doclink
read only = No
guest ok = Yes
hosts allow = x.x.x.x
So, from the host that is named on the pubshare share, I should just be able to
go to Start --> run, and enter \\server\pubshare and be in, regardless of who
I'm logged in as.
I also added the pcguest account into the passdb backend using 'smbpasswd
-an pcguest'. And yet, it's still prompting for a password.
I need this to work because several automated processes rely on the share. It
works just fine if I flip it back to security = SHARE, but that breaks all the
shares on the system for Windows XP clients.
Anyway, huge thanks to anyone who might be able to assist!!
-Ben
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba