smbclient gagal dengan pesan 'negosiasi protokol gagal: NT_STATUS_INSUFFICIENT_RESOURCES', apa artinya dan bagaimana cara memperbaikinya?

8

Saya mencoba mengakses share Windows dengan smbclient dan saya mendapatkan kesalahan NT_STATUS_INSUFFICIENT_RESOURCES ini, terlepas dari kredensial yang benar atau salah.

Perintahnya adalah tentang daftar saham:

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

Ia meminta kata sandi tetapi gagal setelahnya.

Jika mencoba untuk membuka saham di atasnya, hal yang sama terjadi:

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

Saya melihat-lihat web dan menemukan tidak ada yang relevan. Klien Samba lain gagal dengan pesan kesalahan yang tidak berarti sama.

Saya dapat mengakses share dari Windows 7.

Saya juga dapat mengakses share lain dari Linux, kecuali yang tersimpan di komputer itu.

Jadi bagaimana saya bisa mengakses share Windows yang bermasalah ini dengan smbclient? Apa itu mungkin? Jika tidak, apakah ada solusi?

(Saya menggunakan Ubuntu Server 12.04)

Calmarius
sumber
Silakan kirimsmb.conf
cuonglm

Jawaban:

6

Masalah

Di klien

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

Larutan

Restart LanmanServerdapat menyelesaikan masalah

Di server

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.

Setelah ini smbclient, klien tidak mengembalikan kesalahan

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

Klien

Klien itu

cat /etc/issue
Ubuntu 13.04 \n \l

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

Server

Servernya

ver
Microsoft Windows [Version 6.1.7601]

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