Win7/Win8/Win8.1/Win10 are all recognized as Vista.
Created attachment 12658 [details] patch for v4.3
Created attachment 12659 [details] patch for v4.4
Created attachment 12660 [details] patch for v4.5
These look good - can you post a patch for master on samba-technical@lists.samba.org and once that's in we can add these as back-ports ! Cheers, Jeremy.
The patch I posted for v4.3 includes fix for https://bugzilla.samba.org/show_bug.cgi?id=11773. I forgot about that. So please don't use the patch for v4.3. I have posted patches for v4.4, v4.5 and master on samba-technical@lists.samba.org.
These patches should *not* go into stable release branches as they change bahaviour where users might rely on (imaging people using path names with %a in it). Can you please also enhance the man page accordingly?
Created attachment 12668 [details] patch for master
(In reply to Björn Jacke from comment #6) You are right. I use %a only in the full_audit vfs module so I ignored other situations. The new attachment is patch for master with man page update.
(In reply to Björn Jacke from comment #6) From discussion on samba-technical@lists.samba.org, I think the patch is not mature enough.