[Samba] Weird access problem to files

Rowland penny rpenny at samba.org
Tue Jul 2 12:37:58 UTC 2019


On 02/07/2019 12:14, Lorenzo Milesi wrote:
>> The latest Samba version is 4.10.6 and there have been numerous updates
>> since 4.3.11, but you shouldn't be having the problem you have, so lets
>> start be you posting your smb.conf
> Thank you very much.
> Here it is:
>
> [global]
> 	server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
> 	realm = domain.lan
> 	ldap server require strong auth = no
> 	netbios name = SERVER1
> 	workgroup = DOMAIN
> 	server role = active directory domain controller
> 	log level = 5
> 	idmap_ldb:use rfc2307 = yes
> 	log file = /var/log/samba/log.%m
>
> [users]
>      path = /home/users/
>      read only = no
>
> [profiles]
>     comment = Users profiles
>     path = /home/profiles
>     read only = no
>     browsable = no
>
> [CONDIVISIONE]
>      path = /home/condivisa
>      read only = No
>      vfs objects = recycle
>      recycle:keeptree = yes
>      recycle:versions = yes
>      recycle:maxsize = 200000000
>      recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|~*.tmp
>      recycle:excludedir =
>      recycle:noversions = *.doc|*.xls|*.ppt
>      recycle:directory_mode = 770
>      recycle:touch = yes
>      recycle:touch_mtime = yes
>      recycle:repository = .cestino/%U
>
> #<other shares>
>
> [netlogon]
>      path = /var/lib/samba/sysvol/domain.lan/scripts
>      read only = No
>      browsable = no
>
> [sysvol]
> 	path = /var/lib/samba/sysvol
> 	read only = No
> 	browsable = no

which share isn't working ?

is it 'CONDIVISIONE' ?

By setting this: vfs objects = recycle , you have turned of 'acl_xattr'.

You should also be aware that the permissions set from Windows (you are 
setting them from Windows, aren't you ?) are stored in an EA.

Rowland





More information about the samba mailing list