Bug 15862 - SMB3 POSIX Extensions mangles Windows illegal characters
Summary: SMB3 POSIX Extensions mangles Windows illegal characters
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Ralph Böhme
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-25 07:08 UTC by Ralph Böhme
Modified: 2025-05-25 10:20 UTC (History)
0 users

See Also:


Attachments
WIP patch (4.85 KB, patch)
2025-05-25 10:12 UTC, Ralph Böhme
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Böhme 2025-05-25 07:08:42 UTC
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.
Comment 1 Ralph Böhme 2025-05-25 10:12:36 UTC
Created attachment 18647 [details]
WIP patch
Comment 2 Ralph Böhme 2025-05-25 10:20:31 UTC
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.