[Pkg-samba-maint] Bug#778639: The extra-slash bug can be easily verified using wireshark

Sven Geggus sven at gegg.us
Fri Jan 20 16:29:16 UTC 2017


I just ran into the very same problem.

I was able to verify the \\ behaviour using wireshark:

SMB 228 Trans2 Request, QUERY_PATH_INFO, Query File All Info, Path: \\<netapp>\<share>\\<subdir>

I thought about having a look inside the sourcecode, but I have no idea if
this is implemented in userlang (cifs-utils) or kernel.

When the nodfs option is given mount.cifs does not seem to query the \\
crap thus it will work. This will probably give a hint on how to fix the

This might also well work on Samba Servers, as Linux generally ignore
double-slashes on fs access.



Unix is simple and coherent, but it takes a genius – or at any rate a
programmer – to understand and appreciate the simplicity
(Dennis M. Ritchie)
/me is giggls at ircnet, http://sven.gegg.us/ on the Web

More information about the Pkg-samba-maint mailing list