Groups | Search | Server Info | Login | Register


Groups > comp.protocols.smb > #4

SMB - PC Network Program 1.0 dialect - Implementation of SMBsearch

From "R.Wieser" <address@not.available>
Newsgroups comp.protocols.smb
Subject SMB - PC Network Program 1.0 dialect - Implementation of SMBsearch
Date 2011-09-24 20:29 +0200
Message-ID <4e7e2140$0$2404$e4fe514c@news2.news.xs4all.nl> (permalink)

Show all headers | View raw


Hello All,

I'm looking at the SMB-protocol, in specifically the "PC NETWORK PROGRAM
1.0" dialect.

Although I've found some good documentation to it (the 'corep' doc) I've
become almost immediatily stuck in a problem I do not see mentioned in the
docs :
After I connect to a tree (SMBtcon) I should be able to do more than one
directory-entry seach (SMBsearch) at a time.

The question is : how do I save (keep a link to) the used sub-directory in
between the "find first" and "find next" search-commands ?    How do I link
it to the requests ?

The SR (SearchRecord) is supposed to be "self contained", but does certainly
not contain the sub-directory path, meaning that I can't re-create the
origional search-request from the Tree-connect (which only contains the
base-path, right ?) and the SR-record (which only contains the filemask, not
the path itself).

Regards,
Rudy Wieser

P.s.
I'm trying to understand this dialect before continuing with an LFN-aware
verson, as its the most basic (and presumably simple) one ...


Back to comp.protocols.smb | Previous | Next | Find similar


Thread

SMB - PC Network Program 1.0 dialect - Implementation of SMBsearch "R.Wieser" <address@not.available> - 2011-09-24 20:29 +0200

csiph-web