So, I did, and at the testparm command I have this:
> [sermor@archlinux ~]$ testparm
> Load smb config files from /etc/samba/smb.conf
> Loaded services file OK.
> Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
>
> Server role: ROLE_STANDALONE
>
> Press enter to see a dump of your service definitions
>
> # Global parameters
> [global]
> dns proxy = No
> map to guest = Bad User
> security = USER
> server string = Samba Server
> idmap config * : backend = tdb
>
>
> [shared]
> guest ok = Yes
> path = /home/sermor/Pubblici
> read only = No
But if I try to share a folder I have the same problem as before, that is:
“This folder cannot be shared because your user account is not a member of the “root” group”
““For security reasons, it is not possible to make the user “%1(I18N_ARGUMENT_MISSING)” a member of the group “%2(I18N_ARGUMENT_MISSING)”. The group name is unsafe; valid group names include the text “samba” and do not include the text “admin” or “root”.””
So, maybe I’m close to the solution: the error on the screen tells me that the user is not part of the root or admin group, I need to indicate the users and admin users inside the smb.conf file.
I tried putting these lines under global:
valid users = sermor
admin users = sermor
It didn’t work, but the error message changed, which is that the smb.conf file is corrupt and to see the distro documentation, something similar. I think it’s the right way, even if I did it improperly, maybe it needs to be fixed inside the smb.conf file
Can you run testparm in a terminal and post the output.
Also have you run sudo smbpasswd -a yourusername and in /etc/group are you added to the group sambashare