[Samba] fntimes failures
Andrea Venturoli
ml at netfence.it
Mon Jun 9 09:05:20 UTC 2025
On 6/7/25 10:26, Rowland Penny via samba wrote:
> I have no idea, mainly because what logs you have posted are
> meaningless, your sanitising has removed all context (e.g. Is the
> user from 'USER=' the same user as in '/home/xxxx' ?), also if the
> IP is an internal one (e.g. 192.168.1.25 , then there is no point
> in sanitising it). There will probably have also been lines that show
> what code produced the output, very hard to track down anything without
> them.
Hello.
Sorry if my question wasn't clear.
I know the logs above are insufficient to track down the problem, but
unfortunately that's all I have ATM.
However, I'm not asking help to track this down. In fact I'll have to do
this myself.
What I'm asking is a way to easily reproduce a call to fntimes.
More context: during a compilation with cmake some message appears like
"cannot set time on file xxx" (sorry again, I don't have the exact text;
I'll eventually try and get it if needed).
Of course running a lengthy compilation while watching Samba in gdb and
iterating this many times is going to take eons.
So I'd need a single command/short script/whatever in order to be able
to make this happen easily.
Perhaps is this what smbclient's "utimes" command should do? Any other
command?
If more info is needed, I'll happily provide, but what should I look for?
bye & Thanks
av.
More information about the samba
mailing list