Web lists-archives.com

Re: [Samba] Share access problem




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@xxxxxxxxxxxxxxx] De la part de Rowland Penny via samba
Envoyé : 25 août 2017 15:35
À : samba@xxxxxxxxxxxxxxx
Objet : Re: [Samba] Share access problem

On Fri, 25 Aug 2017 15:11:26 -0400
<Sebastien.Boulianne@xxxxxx> 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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba