Question about smbtorture / cifs-load-gen

Nir Livni nirl at cyber-ark.com
Tue Apr 8 11:42:49 GMT 2003


Since my smbtorture connects successfully, I simply replaced its
"run_netbench" function
with the one from cifs-load-gen, including proper initalizations and nbio.c

It seems to start ok,
And the first 5 lines from client_plain.txt run fine:

Deltree \clients\client1
QUERY_PATH_INFORMATION \clients\client1
QUERY_PATH_INFORMATION \clients
NTCreateX \clients 0x1 0x3 12114 1
Close 12114 1

When running the 6th line
NTCreateX \clients\client1 0x1 0x2 12115

I get 

ERROR: cli_nt_create_full failed for \clients\client0 -
NT_STATUS_OBJECT_NAME_NOT_FOUND

Both using samba and windows servers

Am I using the wrong input files ?

-----Original Message-----
From: Richard Sharpe [mailto:rsharpe at richardsharpe.com] 
Sent: Monday, April 07, 2003 8:25 PM
To: Nir Livni
Cc: samba-technical at samba.org
Subject: RE: Question about smbtorture / cifs-load-gen


On Mon, 7 Apr 2003, Nir Livni wrote:

> Cifs_load_gen seems easier,
> But somehow cannot connect to my samba server.
> I've tried everything (security = user/server/domain , encrypt password =
> yes,no).
> 
> The problem seem to be in cli_negprot( ).
> After cifs_load_gen sends the protocols it supports,
> It should receive NTLANMAN 1.0 as an answer.
> The log shows the samba returns this answer.
> But somehow, when cifs_load_gen is reading the server's response,
> Cli->protocol becomes 1 instead of 5.
> 
> Cliconnect.c Line 867:  cli->protocol =
> prots[SVAL(cli->inbuf,smb_vwv0)].prot;   <=== this is 1 instead of 5
> 
> Please forgive my ignorance regarding this matter.
> Hope you could help me solve it.

Is it possible to get a trace/sniff?

I have seen problems with NetApp and one of the EMC boxes in the past in 
that they do not accept just share name in the tcon, but want something of 
the form //server/share.

To that end, there is a command line flag you can use to secify that, I 
think.

If you make any patches, I would appreciate them back so I can update the 
code.

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com


More information about the samba-technical mailing list