Bug 12421 - fake directory create times has no effect
Summary: fake directory create times has no effect
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.16.0
Hardware: All All
: P1 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
Depends on:
Reported: 2016-11-11 09:20 UTC by Anton Schulte
Modified: 2024-02-19 10:47 UTC (History)
4 users (show)

See Also:

backported patch for 4.18 and 4.19 (1.00 KB, patch)
2024-01-16 17:42 UTC, Björn Jacke
vl: review+

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Schulte 2016-11-11 09:20:41 UTC
The last time it worked was with version 3.x

There is no difference between AD or simple samba share.

Thank you
Comment 1 Anton Schulte 2017-01-17 09:40:27 UTC
No reaction until now. So I set Importance to P1, because I need a solution. Because of this bug one of my customers is using Windows.
Comment 2 Jeremy Allison 2017-02-10 21:50:13 UTC
I need a debug level 10 log showing this, as well as a wireshark trace + your smb.conf. I don't see why this is failing right now.
Comment 3 Björn Jacke 2022-01-25 15:56:20 UTC
jfyi: the fix for this is part of the linked merge request 1832.
Comment 4 Björn Jacke 2022-04-08 08:02:57 UTC
Jeremy, can you have a look at this? I would really like to see the statx MR get fully in - but if you see problems with the full thing, getting the fix for this bug in would be a start :-)
Comment 5 Jeremy Allison 2022-04-08 17:35:50 UTC
Sure I can take a look, but you need to work with Ralph on this as he is the person who marked it as "Draft". Having statx would fix the issues with birth  times so it would be good to have it.

Is there a way to just fix the "fake directory create times" problem, and then work on the statx code separately ?
Comment 6 Samba QA Contact 2022-06-22 18:58:04 UTC
This bug was referenced in samba master:

Comment 7 Samba QA Contact 2024-01-16 15:45:04 UTC
This bug was referenced in samba master:

Comment 8 Björn Jacke 2024-01-16 17:42:10 UTC
Created attachment 18228 [details]
backported patch for 4.18 and 4.19
Comment 9 Jule Anger 2024-01-22 09:01:36 UTC
Pushed to autobuild-v4-{19,18}-test.
Comment 10 Samba QA Contact 2024-01-22 10:10:04 UTC
This bug was referenced in samba v4-18-test:

Comment 11 Samba QA Contact 2024-01-22 10:54:19 UTC
This bug was referenced in samba v4-19-test:

Comment 12 Jule Anger 2024-01-22 11:15:09 UTC
Closing out bug report.

Comment 13 Samba QA Contact 2024-01-31 20:42:05 UTC
This bug was referenced in samba v4-18-stable (Release samba-4.18.10):

Comment 14 Samba QA Contact 2024-02-19 10:47:08 UTC
This bug was referenced in samba v4-19-stable (Release samba-4.19.5):