2
I have an old Red Hat Linux box that I use, amongst other things, to run Samba. My Vista and remaining Win XP PC can access the p/w-protected Samba shares.
I just set up a new Windows 7 64-bit Pro PC. Attempts to access the Samba shares by clicking on the Linux box's icon in 'Network' from this machine gave a Logon failure: unknown user name or bad password.
message when I gave the correct credentials.
So I followed the suggestions in Windows 7, connecting to Samba shares (also checked here but found LmCompatibilityLevel was already 1).
This got me a little further. If click on the Linux box's icon in 'Network' from this machine I now see icons for the shared directories. But when I click on one of these, I get \\LX\share is not accessible. You might not have permission...
etc.
I tried making the Win 7 password the same as my Samba p/w (the user name was already the same). Same result.
The Linux box does part of what I need for ecommerce - the in-house part, it's not accessible to the Internet. As my Linux Fu is weak, I have to avoid changes to the Linux box, so I'm hoping someone can tell me what to do to Win 7 to make it behave like XP and Vista when accessing this share.
Help please!?
Thanks
Thanks for replying @Randolph. I had set 'Network security: LAN Manager authentication level' to Send LM & NTLM - use NTLMv2 session security if negotiated
based on the advice in Windows 7, connecting to Samba shares and had restarted the machine, but that didn't work for me.
I'll try playing with other Network security values.
I have now tried the following:
Network security: Allow Local System to use computer identity for NTLM: changed from Not Defined to "Enabled".
- Restarted machine
Still says "\LX\share is not accessible. You might not have permission..." etc.
Network security: Restrict NTLM: Add remote server exceptions for NTLM Authentication (added LX)
- Restarted machine
Still says "\LX\share is not accessible. You might not have permission..." etc.
I can't see any other Network security settings that might affect this. Any other ideas please?
Thanks
Roy
On the Windows box can you search the Security event log (
eventvwr.exe
) for failed logon attempts and provide that as a part of your question? I'll be able to offer better advice if I can see the event details. Have you tried authenticating withWin7HostName\username
? – David Woodward – 2016-10-01T15:04:57.610Are you prompted for credentials when opening a remote directory? make sure you put the remote hostname as the domain (e.g.
redhat\redhat_user
and the password you created for the red_hat user account). Also, can you post up your smb.conf and highlight the share you've tested that isn't working. – Kinnectus – 2018-11-26T13:09:51.450Have you restarted the windows machine after you changed the samba share password? – Sion – 2012-07-17T06:06:19.060