A fresh install of windows 7 might have a problem with samba shares,
if you setup samba logging you will see errors like this:
[2009/08/26 09:15:53, 3] smbd/connection.c:yield_connection(76)
yield_connection: tdb_delete for name failed with error Record does not exist.
[2009/08/26 09:15:53, 3] smbd/server.c:exit_server(614)
although the user was able to connect from a different PC with a different operating system.
I found this great solution for the samba connection problem,
and to break it to a few simple steps:
- from the run command or from a cmd window run secpol.msc
- go to “Local Policies” -> “Security Options” -> “Network Security: LAN Manager authentication level”
- change to “LM and NTLM – use NTLMV2 session security if negotiated”
- Press the OK button
This solution worked just fine on a fresh windows 7 install.
this solution works ,, Thanks Bossss
Thanks so much! This solution does work. My default setting for that local policy was set to “Not Defined”.
You are good. Got it working in 30 seconds flat. Thank you
Having problems opening secpol.msc
error note – is not recognised as an internal or external opperational programe or batch file
Hi Adders,
this fix is for windows 7 – are you trying this in the same OS?
Does your account have sufficient (admin) rights on the machine for opening the secpol.msc ?
you can try opening gpedit.msc instead – here is a page explaining the difference between gpedit and secpol:
http://www.maxi-pedia.com/what+is+the+difference+between+gpedit.msc+and+secpol.msc
also – maybe some startup services interrupt you from using secpol, try disable un needed startup services and processes with msconfig and try again, here is another link about the same issue with secpol:
http://groups.google.co.uk/group/microsoft.public.windowsupdate/browse_thread/thread/7371b3470bce04ab/d12ee62e08044122?lnk=st&q=%22cannot+open+secpol.msc%22&rnum=1&hl=en#d12ee62e08044122
let me know if any of this helped !!!
good luck
yonitg
question….
is that your pic…. it’s beautiful
Funny LvRdHd
yeah, its me …
I can not find the local policies on my compouter
Hi Lorelei,
This solution is for Windows 7 only,
which operating system you have there?
are you using an Admin user?
to find the local policies try to open the start -> run -> and type there “local” – see what that brings for you.
let me know if you need more help …
This works !!! Thanks
But that option to change Network security: LAN Manager authentication level is inactive in my Windows 7 machine. :(… Any clues how to make it active?
Are you logged in as the admin ?
try to switch users and see if it helps.
also – maybe your box is a part of a domain, and the domain admins restricted that option?
if so – you will need to contact your IT team and ask for their help.
This worked flawless! Thanks!
I do not have a secpol or gpedit. I have Windows 7 Home Premium (or how you call that bea&$h). Help, please.
Good solution. Unfortunately secpol.msc is only available on Win7 Pro not Win7 Home edition. I assume those users having problems with finding this script have Win7 Home. Apparently msoft wants the extra $120 upgrade charge to give you this script. Its likely possible to change setting manually in Win7 Home pub it seems to involve more than 40 settings. Looking around the web to see if anyone has yet written a how-to for that.
If you have Win7 Home:
Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Create a new DWORD value with the following properties: NAME: LmCompatibilityLevel VALUE: 1
That’ll save you the $120.. you’re welcome. lol
that helped me a lot. thanks!
How about a solution to the problem in linux instead?
Thanks for posting this fix – it worked perfectly on a Win2k* server for me today!
Hello,
The secpol.msc settingd mentioned works like a charm, But as per our company security policy this change should not be applied to windows 7 systems .Is there anyway to fix this access issue without changing secpol.msc setttings and by adding some parameter in Solaris config file ?
Thanks in advance
– Anbu
Howdy, i read your blog from time to time and i own
a similar one and i was just wondering if you get a lot of
spam comments? If so how do you protect against it, any plugin or anything you can recommend?
I get so much lately it’s driving me mad so any support is very much appreciated.
Hi, I have the same problem, and I could ´n solved….Windows 7 Home Premiun, when I try to access to a Samba resource, Access Denied. If I go to another Pc with Xp, and log on with the same user and pass, I have no problem….
I did your both recomendations:
– modify policies ( I have installed gpedit.msc)
– and create LmCompatibilityLevel 1
Unfortunatelly I can ´t resolve my problem, any other idea ? thanks ¡