Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

Linux smbclient fails to download file with error "getattrib: NT_STATUS_NOT_SUPPORTED"

Views:
994
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
cifs
Last Updated:

Applies to

  • NetApp Data ONTAP operating in 7-Mode
  • options cifs.smb2.enable on
  • Linux smbclient

Issue

  • When downloading file use the following command, it fails with error "getattrib: NT_STATUS_NOT_SUPPORTED".

Example:

[root@centos-02 ~]# smbclient //10.128.242.240/vol_test -U domain\\user Password -D "\\qtree_test" -c "get test.txt"
getattrib: NT_STATUS_NOT_SUPPORTED

  • From packet perspective, smbclient sends SMB2_FILE_ALL_INFO when issuing the aforementioned command, but it's unsupported in Data ONTAP operating in 7-mode.

Example:

2020-05-13 13:58:18.197617 0.000356 10.128.242.31 10.128.242.240 SMB2 0 GetInfo Request FILE_INFO/SMB2_FILE_ALL_INFO File: qtree_test\test.txt
2020-05-13 13:58:18.197644 0.000027 10.128.242.240 10.128.242.31 SMB2 0 GetInfo Response, Error: STATUS_NOT_SUPPORTED

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support