smbclientは、「プロトコルネゴシエーション失敗:NT_STATUS_INSUFFICIENT_RESOURCES」メッセージで失敗します。これは何を意味し、どのように解決しますか?

smbclientは、「プロトコルネゴシエーション失敗:NT_STATUS_INSUFFICIENT_RESOURCES」メッセージで失敗します。これは何を意味し、どのように解決しますか?

smbclientを使用してWindows共有にアクセスしようとしていますが、資格情報が正しいかどうかにかかわらず、このNT_STATUS_INSUFFICIENT_RESOURCESエラーが発生します。

このコマンドは株式リストに関するものです。

smbclient -L //computer.domain -U domain/username

パスワードの入力を求められますが、パスワードの入力後に失敗します。

共有を開こうとすると、同じことが起こります。

smbclient //computer.domain/sharename -U domain/username

ウェブを見回しましたが、関連するコンテンツが見つかりませんでした。他のSambaクライアントも同様の意味のないエラーメッセージで失敗します。

Windows 7で共有にアクセスできます。

また、この特定のシステムに保存されている共有に加えて、Linuxの他の共有にもアクセスできます。

それでは、問題のあるWindows共有にアクセスするためにsmbclientをどのように使用しますか?可能ですか?そうでない場合、回避策はありますか?

(私はUbuntu Server 12.04を使用しています)

ベストアンサー1

質問

クライアントから

sudo mount -t cifs -o uid=user,gid=user,username=user,password=password //192.168.0.100/shared /mnt/smb
mount: Cannot allocate memory

smbclient -L pc -U user%password
protocol negotiation failed: NT_STATUS_INSUFFICIENT_RESOURCES

dmesg | tail
[49474.230547] CIFS VFS: cifs_mount failed w/return code = -12

解決策

再起動するとLanmanServer問題が解決します。

サーバー上

net stop LanmanServer /y && net start LanmanServer
These workstations have sessions on this server:

192.168.0.100
These workstations have sessions with open files on this server:

192.168.0.100
The following services are dependent on the Server service.
Stopping the Server service will also stop these services.

   HomeGroup Listener
   Computer Browser

The HomeGroup Listener service is stopping.
The HomeGroup Listener service was stopped successfully.

The Computer Browser service is stopping..
The Computer Browser service was stopped successfully.

The Server service is stopping.
The Server service was stopped successfully.

The Server service is starting.
The Server service was started successfully.
net start Browser
The requested service has already been started.
net start HomeGroupListener
The HomeGroup Listener service is starting.
The HomeGroup Listener service was started successfully.

smbclientクライアントは後でエラーを返しません。

smbclient -L pc -U user%password
Domain=[PC] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]

顧客

顧客は

cat /etc/issue
Ubuntu 13.04 \n \l

sudo dmidecode | grep -A2 "Base Board"
   Manufacturer: Intel Corporation
   Product Name: 440BX Desktop Reference Platform

仕える人

サーバーは

ver
Microsoft Windows [Version 6.1.7601]

dmidecode | grep -A2 "Base Board"
   Manufacturer: ASUSTeK COMPUTER INC.
   Product Name: P8Z77-M PRO

おすすめ記事