[Samba] NT_STATUS_NO_MEMORY when browsing file server on Belkin modem

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Jan 13 04:06:21 MST 2013


On Sun, Jan 13, 2013 at 11:51:23AM +0100, Volker Lendecke wrote:
> On Sun, Jan 13, 2013 at 12:57:44PM +1100, Jonathan Schultz wrote:
> > Thank you for your help.
> > 
> > >What we need are comparative network traces from accessing
> > >the box via windows and smbclient.
> > 
> > I've generated two traces for comparison:
> > 
> > https://dl.dropbox.com/u/2083295/linux-fails.cap
> > https://dl.dropbox.com/u/2083295/windows-works.cap
> 
> The attached patch to Samba master might fix this. What is
> your Samba version? I did not find this in the initial
> posting.
> 
> Volker
> 
> -- 
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9
> AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
> http://www.sernet.de, mailto:kontakt at sernet.de

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From d691cb15887770f96bc99937e9e2441c1e4db36b Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Sun, 13 Jan 2013 11:49:36 +0100
Subject: [PATCH] smbclient: use 0x260 for trans2 find always

---
 source3/libsmb/clilist.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c
index 056494e..2024aa4 100644
--- a/source3/libsmb/clilist.c
+++ b/source3/libsmb/clilist.c
@@ -953,8 +953,7 @@ NTSTATUS cli_list(struct cli_state *cli, const char *mask, uint16 attribute,
 		goto fail;
 	}
 
-	info_level = (smb1cli_conn_capabilities(cli->conn) & CAP_NT_SMBS)
-		? SMB_FIND_FILE_BOTH_DIRECTORY_INFO : SMB_FIND_INFO_STANDARD;
+	info_level = SMB_FIND_FILE_BOTH_DIRECTORY_INFO;
 
 	req = cli_list_send(frame, ev, cli, mask, attribute, info_level);
 	if (req == NULL) {
-- 
1.7.3.4



More information about the samba mailing list