Web lists-archives.com

Re: [Samba] Linux Mint 19.1, Samba 4.7.6 & WIndows 10




On Sat, 9 Feb 2019 21:28:34 +0000 (UTC)
Thomas Rieff via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Which shows you are running as a standalone server. 
> You should remove the '@' from the 'valid user'. 
> Does the user 'gc55_data2' exist on the Linux Mint machine & on the 
> Windows Computer ? 
> I know that the group 'gc55_data2' will not exist on the Windows 
> machine, but does it exist on the Linux Mint machine ? 
> 
> Rowland, 
> There is no user gc55_data2, it is a group only for this share 
> and it does exist on the Linux Machine. 

Do you have any users on the Linux machine ?
Are these users (if any), members of the group gc55_data2 ?

How do you expect a user that doesn't exist to be a 'valid user' ?

> So is valid users in conflict with force group?

Probably, possibly ???
 
> Should I delete the valid users line entirely?

Well as the 'valid user' doesn't exist, then there isn't a reason for
the line.
 
> Any other suggestions for proper authentication of users would be
> appreciated.

On a standalone server, you need to replicate your windows users as
Samba and Unix users on the standalone server. The Samba user must have
the same password as the Windows user, the Unix user doesn't need to
have the same password, but it usually does. To put it another way:
You would need this:
Windows user 'fred' would be the the Unix and Samba user 'fred' on the
Linux machine.
You would also map windows groups to Unix groups with the 'net
groupmap' command, in this case, the group names do not need to match.

What you would be running is a 'WORKGROUP'



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba