[Samba] Need help with directory create time

Jeremy Allison jra at samba.org
Fri Sep 16 20:54:09 UTC 2016


On Fri, Sep 16, 2016 at 07:34:44PM +0200, Karl Mauch wrote:
> Am Freitag, 16. September 2016, 09:26:18 CEST schrieb Jeremy Allison:
> > On Fri, Sep 16, 2016 at 02:37:33PM +0200, Karl Mauch via samba wrote:
> > > 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.
> > 
> > The "fake directory create times" code still
> > exists in Samba4 - shouldn't have changed at
> > all since 3.6.x.
> > 
> > Can you describe more fully what create times you're
> > getting ?
> > 
> > "fake directory create times" should always return
> > a create time of 1/1/1980 to clients.
> >
> Thank you.
> There is no difference with or without "fake directory create times=yes". 
> After changes in the folder, the creation time is changed too (current time)

Oh, have an idea what may be wrong - when the folder
is changed we may be updating the time internally
without paying attention to the "fake" time request.



More information about the samba mailing list