After all day of researching and pulling out my hair trying all kinds of things. The only solution that worked was to remove the password from the Windows 7 user account. As for the smb.conf, I set all the parameters to their default values except for those specific to the SMB's server name, workgroup, etc. The Windows 7 and Samba authentication issues are just impossible for me to understand. And there seems to be an array of solutions out there in the public domain as to which will work. However it all depends on how one wants to use Samba.
I want to prevent the use of the login/password from CentOS 6.5 to Windows 7 shared folder
I recently lost my Windows 7 Pro hard drive to a crash and had to rebuild the laptop from scratch. I have to setup the laptop up to share files across the local LAN with XP, Vista, and CentOS 6.5 PCs. The file sharing (without the need of login/password) with all the PCs is working with one exception.
When using the file manager "from" the CentOS PC to access the shared folder on Windows 7, I'm prompted with the login/domain/password popup box. I enter the credentials and everything works fine. And I only have to do it once. The same username exist on all PCs. But I expect that the connections through the simple file sharing be done under "guest" or "annonimus". The version of Samba (SMB) running of the CentOS PC is version 3.6.9. I've have tried so many combinations of solutions and none seem to work. See list below:
From Windows:
Modifying the Local Security Policies
Removing the TransportBindName (then adding it back)
Set UseNewSmb=0 and then back to 1
From Samba:
security=share and then I tried security=user
client NTLMv2 auth = yes and back to no
NTLM auth = no and back to yes
I'm hoping there is a configuration that will prvent the annoying login/password popup.
Windows for home | Previous Windows versions | Internet and connectivity
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
5 answers
Sort by: Oldest
-
Anonymous
2014-08-25T23:44:50+00:00 -
Anonymous
2014-08-26T10:05:37+00:00 Hello,
Thank you for posting your query in Microsoft Community Forum.
I am happy to know you have found a workaround. If you still need further assistance, I would recommend posting your query in the TechNet Forums at:
Thank you.
-
Anonymous
2014-08-27T17:29:07+00:00 Well. The workaround is not good. Not password protecting my Win7 PC is really a bad idea. Something (of which I can't understand), has change in the way Windows user authentication works with respect to non-Windows based server/client configurations. Searching the web for a solution hasn't been fruitful. As a MS engineer, maybe you can provide some insight as to how I can execute network browsing from a Linux based browsing client (like the MS Network Neighborhood does for Windows) to the Win7 shares without having to enter a login/password into the client application? I'm guessing there is some undocumented registry setting yiu could provide me with.
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Anonymous
2014-08-28T10:03:55+00:00 Hello,
Thank you for keeping us updated on the status of the issue.
Please feel free to reply, in case you face any other issues with Windows in future.
Thank you.