You are not logged in.
Had to start somewhere. Not sure if this is a Samba, Windows 7, or Thunar issue. Maybe someone monitoring this group came across this scenario and has since discovered a resolution. But the network browsing from Linux to Win7 is acting flaky.
Server (linpc): CentOS 6.5 running Samba 3.6.9-69
Client (lanpc): Windows 7 Pro SP1
LAN Workgroup name: LANSYS
--
Samba is configured as a STAND-ALONE server using parameter:
security=USER
encrypted passwords = yes
Win7: password protection=off
128-bit encrytion=off (using 40/56-bit)
Homegroup services are disabled
Set LmCompatibilityLevel = 1 (Clients use LM and NTLM authentication, and use NTLMv2 session security if the server supports it)
--
Steps to reproduce the issue:
1. Login to linpc
2. Login to lanpc
3. Open the Thunar Network Browser on linpc
4. Navigate to the lanpc PC name and double click
- What happens: Popup prompt and I'm forced to enter login/password
- Expected: I should have gone straight into the share
5. So I enter the proper login/password to access lanpc
6. Now I see the lanpc shared folder [Temp] and double click
- What happens: Again, I'm forced to enter login/password
- Expected: I should have gone straight into the share
--
The workaround (to which I don't like), is to remove the password to the user account on the Windows 7 PC (lanpc). Now I'm able to access the lanpc shares from linpc without having to be prompted by Thunar's login/password popup.
Executing this same scenario "to" a Windows XP PC doesn't give me the login/password prompt. It works as expected. And accessing shares "from" Win7 or WinXP "to" Linux works without using login/passwords.
So there is some flaky issue in the way the authentication is occurring into Windows 7. No errors (that I've been able to see), are recorded in any of the /var/log files.
Offline
It appears my problem has been solved (for me at least). Discovered by researching another TechNet posting Listed below are the changes made. I doubt that all were required but then again the Big Bang solutions always seem to work when dealing with Microsoft operating systems, yes?
The registry
1. KEY: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
DATA: everyoneincludesanonymous = 1
2. KEY: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
DATA: NoLmHash = 0
3. KEY: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
DATA: LmCompatibilityLevel = 1
4. KEY: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters
DATA: restrictnullsessaccess = 0
In the Local Security Policy editor under the Security Options folder
1. Microsoft network client: Send unencrypted password to third-party SMB servers = enabled
In the Network Sharing Center
1. Navigate to the Advance Sharing Settings page
2. Select: Enable file sharing for devices that use 40- or 56-bit encryption
Test:
1. Reboot Windows 7
2. Reboot Linux server
3. Open Linux Network Browser application (Thunar)
4. Navigate through the Windows 7 shares without having to enter login/password: Success!
Offline
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 522.21 KiB (Peak: 531.48 KiB) ]