root@inti:/srv/samba/test/posix# ls -l total 0 -rw-r--r--. 1 root root 0 25. Mai 08:18 'file_*_aster' -rw-r--r--. 1 root root 0 25. Mai 09:05 'file_\_backsl' -rw-r--r--. 1 root root 0 25. Mai 09:06 'file_?_question' -rw-r--r--. 1 root root 0 25. Mai 09:04 'file_"_quot' root@inti:/srv/samba/test/posix# ls -l /mnt/smb3unix/posix/ ls: /mnt/smb3unix/posix/FPY288~0: No such file or directory ls: /mnt/smb3unix/posix/FTIZKB~S: No such file or directory ls: /mnt/smb3unix/posix/FUP1N9~H: No such file or directory ls: /mnt/smb3unix/posix/FLBU6E~S: No such file or directory total 0 -rw-r--r--. 1 root root 0 25. Mai 09:06 FLBU6E~S -rw-r--r--. 1 root root 0 25. Mai 08:18 FPY288~0 -rw-r--r--. 1 root root 0 25. Mai 09:04 FTIZKB~S -rw-r--r--. 1 root root 0 25. Mai 09:05 FUP1N9~H Have patch, need bugnumer.
Created attachment 18647 [details] WIP patch
SMB1 UNIX still works: root@inti:/srv/samba/test/posix# ls -l /mnt/smb1unix/posix/ ls: '/mnt/smb1unix/posix/file_*_aster': No such file or directory ls: '/mnt/smb1unix/posix/file_"_quot': No such file or directory ls: '/mnt/smb1unix/posix/file_?_question': No such file or directory total 0 -rw-r--r--. 1 root root 0 25. Mai 08:18 'file_*_aster' -rw-r--r--. 1 root root 0 25. Mai 09:05 'file_\_backsl' -rw-r--r--. 1 root root 0 25. Mai 09:06 'file_?_question' -rw-r--r--. 1 root root 0 25. Mai 09:04 'file_"_quot' Though the client messes up the query-info on the files after receiving the correct find result from the server, same as SMB3 UNIX.
This bug was referenced in samba master: 93ad870a1e497066f82e8ec85c8a643dcd15b4de 4b7175eae803a026b9a0709ff1fe71b9cf43d631 bc300c7a300bafe4dc417d074f56ffd2547dd2f9 8b2ae47a5110592cdaef070c972514a47bce0b50 e5ff201592eec86b22ccaa977f3efd3c0e5f9053 9687078251620c50420ebbeb6d7d3d53c04705a7