[Samba] Unable to Login as Guest to Protected Share
rpenny at samba.org
Wed Aug 4 18:07:56 UTC 2021
On Wed, 2021-08-04 at 12:50 -0500, Mckenzie Ebert via samba wrote:
> Samba Team Members,
> I work with a company that sells sensors that use Samba as a way to
> transfer files from the sensors to our clients computers. The sensors
> petalinux, and the Samba version used is 4.8.4. We do not monitor
> version of Windows our customers run, although the majority is
> Windows 10.
> In the past we have simply set all shares to public and used the
> account with no issues. However, lately some customers are unable to
> guest shares due to regulations set by their employer's (they are not
> allowed to change the anonymous access policy). Because of this it
> decided to have a "backup" user that could be used as a credentialed
> in, with a username and password that we would provide to the
> customer. The
> desired behavior would be that Windows prompts for credentials upon
> attempting to access a share, at which time either the valid user
> credentials could be input or it could be left blank, resulting in
> guest account being used instead. Both of these would be given the
> access rights. However, I have not been able to replicate this
> nor have I found anything online that might assist in figuring out
> how to
> set this up. Does anyone know if this behavior is even possible, and
> if so
> what the configuration for that looks like?
> Mckenzie Ebert
Is it possible for you to post the smb.conf ?
I presume that you are running Samba as a standalone server, but what
parameters have you set in smb.conf ?
More information about the samba