View Issue Details
|0007910: Mounting old SMBv1 share fails
I am unsure if this is a duplicate, I can't use a search on the bug tracker (Dorks not working either).
sudo mount -t cifs "//xxx.xxx.xxx.xxx/remoteshare" localdir --verbose -o guest,vers=1.0
Will fail with "mount error(6): No such device or address" because the SMBv1 got patched out of Linux Kernel 5.15. So Kali Linux drops connections to SMBv1 Servers
However, there is a backport patch on Kernel.org, not sure if its upstream and in Kali Repos (see add. info)
|Steps To Reproduce
Tried using the vers=1.0 (for smb version) option for mount, will fail too.
Linux Kernel backport patch https://bugzilla.kernel.org/show_bug.cgi?id=215375
We have applied the following patch ~ https://gitlab.com/kalilinux/packages/linux/-/blob/kali/master/debian/patches/bugfix/all/Renable-CIFS.patch
This has made its way into our Kernel ~ 5.18.16-1kali2 : https://pkg.kali.org/pkg/linux
In order to use it, you need to get it from experimental branch (not yet in rolling).
This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.
Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?
If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?