smbclient提示NT_STATUS_INSUFFICIENT_RESOURCES

Rhel6中使用smbclient命令打開windows共享文件夾,出現:windows

Linux Samba protocol negotiation failed: NT_STATUS_INSUFFICIENT_RESOURCESide

網上的解決方案以下:rest

The issue is the LanmanServer service runs out of memory. We need to boost that up:server

On your Windows machine, fire up regedit (Start -> regedit) modify the following registry keys:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache」 from 0 to 1
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size」 from 1 to 3cmd

The problem seems to manifest itself more frequently if you use your Windows box as a file server or a media server. If you can, restart the Windows box. If for some reason you can’t (e.g. your significant other is watching a video on the tv streaming from your Windows box), then you can do effectively the same by restarting the following services:it

(Start -> cmd.exe) as administrator
> net stop LanmanServer /y
> net start LanmanServer
> net start Browser
> net start HomeGroupListenerio

相關文章
相關標籤/搜索