[Samba] Need help with directory create time

Karl Mauch k_mauch at gmx.de
Fri Sep 16 14:35:55 UTC 2016


Here is the smb.conf:

# Global parameters
[global]
	workgroup = LOCAL
	realm = LOCAL.DOMAIN
	netbios name = SSRV01
	server role = active directory domain controller
	server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, 
ntp_signd, kcc, dnsupdate
	idmap_ldb:use rfc2307 = yes
	# dos filetimes =yes
	# dos filetime resolution = yes
	# no effect, so commented:
	# fake directory create times = yes

[netlogon]
	path = /var/lib/samba/sysvol/local.domain/scripts
	read only = No

[sysvol]
	path = /var/lib/samba/sysvol
	read only = No

[folder]
        comment = Software needs fixed creation times
        path = /home/share/software
        read only = no
        force create mode = 777
        valid users = a1, a2, a3


Am Freitag, 16. September 2016, 14:37:33 CEST schrieb Karl Mauch via samba:
> Hello,
> 
> my problem:
> In the past "fake directory create times" did what I expect. The creation
> time of directories were fixed.
> Then I changed to samba 4 and "fake directory create times" did not work any
> longer. But I found a workaround and the creation times of directories were
> fixed.
> Today there was a virus and I restored a backup and the directory creation
> time is variable. After changing a file, the directory creation time is new.
> And I forget what I did in the past to workaround this problem in samba 4.
> It is configured as a PDC.
> 
> Please help! The software in the directory is not working with jumping
> creation times.
> 
> Best regards
> 
> KM





More information about the samba mailing list