Samba Client and Windows 10 Home - "NT_STATUS_LOGON_FAILURE"/"Access denied"

I'm trying to access a file share from a Windows 10 Home using a Samba client. However the following errors happen...

1# - smbclient

    [root@eduardo-nb eduardo]# smbclient -L 192.168.0.5 -W WORKGROUP -U eduardo
    Enter WORKGROUP\eduardo's password: 
    session setup failed: NT_STATUS_LOGON_FAILURE

2# - Dolphin



----------------

NOTE: The only way to gain access to the share is by following the procedures described here ...


... which consist of allowing access to "Everyone" and "Turn off password protected sharing".

QUESTION: I would like to access this share with my existing Windows 10 Home user (has administrative prerogatives)... So what may be happening?

Thanks! =D

[Refs.: https://askubuntu.com/q/47291/134723 , https://askubuntu.com/q/109507/134723 , https://answers.microsoft.com/en-us/windows/forum/all/file-sharing-not-working/e6df6ac5-bb5a-41b3-8253-bd59b49d94bd , https://askubuntu.com/q/1175394/134723 ]

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

Hi Eduardo

My name is Andre Da Costa; an Independent Consultant, Windows Insider MVP and Windows & Devices for IT MVP. I'm here to help you with your problem.

Press Windows key + R
Type: optionalfeatures.exe
Hit Enter

Scroll down to SMB 1.0/CIFS File Sharing Support
Tick the SMB 1.0/CIFS Client
Untick SMB 1.0/CIFS Automatic Removal and
Untick SMB 1.0/CIFS Server


Click OK
Restart if prompted.

Press the Windows Key and R at the same time to bring up the Run dialog.
Type services.msc in the Run dialog and press Enter.
For each of the following services, locate the service in list, right-click the service and select Properties. Then set the Startup type to Automatic (Delayed Start) and select Apply.
Computer Browser (Browser)
Function Discovery Provider Host (FDPHost)
Function Discovery Resource Publication (FDResPub)
Network Connections (NetMan)
UPnP Device Host (UPnPHost)
Peer Name Resolution Protocol (PNRPSvc)
Peer Networking Grouping (P2PSvc)
Peer Networking Identity Manager (P2PIMSvc)
Restart Windows.

Add the machine to your Windows HOSTS file.
https://www.groovypost.com/howto/edit-hosts-fil...
Best regards,
Andre Da Costa
Independent Advisor for Directly

6 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thanks for your effort, but it didn't work... =|

"Add the machine to your Windows HOSTS file." -> What machine?

Thanks! =D

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Add the Linux machine to the Windows 10 HOSTS file. Can access the Linux box from the Windows 10 PC?

Also, try moving the file share on the Windows 10 PC to the Public folder and change the sharing permissions to everyone.

I don't have access to a Linux box, but I was able to do this from macOS, which uses Samba. Here is how I was able to access it, its just a proof of concept.

Its likely something is not configured properly that might be preventing you from accessing the machine.
Best regards,
Andre Da Costa
Independent Advisor for Directly

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

"Can access the Linux box from the Windows 10 PC?" -> Yes! Yes!

The problem occurs when I try to access shared files on Windows 10 Home from Linux.

Many thanks! =D

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Which distribution of Linux are you using? Can you try installing the latest version SAMBA then try accessing the share again?

https://linuxize.com/post/how-to-install-and-co...

Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Best regards,
Andre Da Costa
Independent Advisor for Directly

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

In this site there are several interventions made by me to try to solve the problem...

Samba Client and Windows 10 Home - “NT_STATUS_LOGON_FAILURE”/“Access denied”

... and apparently Linux is configured as it should.

UPDATE: I tried to access sharing on Windows 10 Home using a Windows 7. Same problem... I begin to suspect that there is some kind of limitation in the Windows 10 Home and maybe it is not able to share folders... =|

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I wish I had access to a Linux box I could test this, but I don't think Home is the reason why.
Best regards,
Andre Da Costa
Independent Advisor for Directly

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

"Add the Linux machine to the Windows 10 HOSTS file." -> Didn't work either...

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Any relation to this information? -> Policy CSP - LanmanWorkstation

Thanks! =D

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Eduardo

Were you able to get it to work?
Best regards,
Andre Da Costa
Independent Advisor for Directly

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

* Please try a lower page number.

* Please enter only numbers.

* Please try a lower page number.

* Please enter only numbers.

 
 

Question Info


Last updated September 10, 2023 Views 28,591 Applies to: