[Samba] Share access problem

Rowland Penny rpenny at samba.org
Fri Aug 25 19:35:09 UTC 2017


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



More information about the samba mailing list