连接到 Windows7 共享会出现挂载错误

uro*_*k93 5 windows-7 samba networking 11.10 share

嗨,我在使用 Ubuntu 11.10 到包含 Windows 计算机的工作组时遇到问题。

当我单击要从 Ubuntu 网络界面访问的工作组时收到此消息:

"Unable to mount location  
Failed to retrieve share list from server"
Run Code Online (Sandbox Code Playgroud)

我怎么解决这个问题?

sudo iptables -L 的输出:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination  
Run Code Online (Sandbox Code Playgroud)

每次我尝试使用

sudo mount -t cifs //ip_from_windows_pc/sharename /media/winshare -o username=windows_username,password=windows_password_for_user,iocharset=utf8,file_??mode=0777,dir_mode=0777
Run Code Online (Sandbox Code Playgroud)

它返回

mount: Cannot allocate memory
Run Code Online (Sandbox Code Playgroud)

我注意到在 Windows 的系统事件日志上,每次尝试连接 Ubuntu 计算机时我也会遇到此错误

服务器无法从系统非分页池分配,因为服务器达到了非分页池分配的配置限制。

Bru*_*ira 5

在您的 Windows 计算机中,将以下注册表项设置为“1?”:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache
Run Code Online (Sandbox Code Playgroud)

并将以下注册表项设置为“3?”:

HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
Run Code Online (Sandbox Code Playgroud)

没有``,只有值。

重启!