[Samba] Share access problem

Sebastien.Boulianne at cpu.ca Sebastien.Boulianne at cpu.ca
Tue Aug 29 20:20:57 UTC 2017


Hi Rowland,

https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs 
What do you think about that config for the share FTPFiles ?
Does it has some directives you would remove ?

[FTPFiles]
   comment = Files
   path = /glftpd/site
   guest ok = no
   public = no
   writable = yes
   printable = no
   browseable = yes
   read only = no
   inherit acls = yes
   inherit permissions = yes
   create mask = 0777
   directory mask = 0777
# ??  force create mode = 0660
# ??  force directory mode = 0660
   hide unreadable = Yes
   hide unwriteable files = Yes
   access based share enum = Yes
   valid users = DOM\"domain users"
   admin users = DOM\"domain admins"

Thanks again.

Sébastien

-----Message d'origine-----
De : samba [mailto:samba-bounces at lists.samba.org] De la part de Rowland Penny via samba
Envoyé : 25 août 2017 15:35
À : samba at lists.samba.org
Objet : Re: [Samba] Share access problem

On Fri, 25 Aug 2017 15:11:26 -0400
<Sebastien.Boulianne at cpu.ca> wrote:

> Hi Rowland,
> 
> My authentification seem to work (Thanks) but I can see the files 
> inside the FTPFiles shares.
> 
> I checked:
> 
> # ntlm_auth --username="sebastien boulianne" --domain=domain.qc.ca
> 
> Password:
> 
> NT_STATUS_OK: Success (0x0)
> 
> drwsrwxrwx 11 root domain users 4.0K Aug 11 16:46 site

The above shows that you are not using ACLs and that any users should be able to access, read and write files in 'site'. That is, any users known to Unix

> 
> [FTPFiles]
>         comment = Files
>         path = /glftpd/site
>         create mask = 0777
>         directory mask = 0777
>         valid users = %S

As you aren't using Windows ACLs (and if you are connecting from Windows,you should) see here:

https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs

If you decide to use Windows ACLs,see here:

https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs

Rowland

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


More information about the samba mailing list