[cifs-protocol] Identifying Matching Share Subtrees
Scott.Goldstein at bluejungle.com
Fri Apr 28 23:46:56 GMT 2006
I'm definitely familiar with this method call. In fact, this is the way
our tool is currently implemented. Though, I was looking for a
non-windows, standard CIFS way to accomplish the same functionality for
1. To allow the tool to be used for machines which do not run Windows
or with are NAS
2. The Windows APIs require certain privileges when calling them to get
the local path. Ideally, we would want to run our tool with a somewhat
lower privilege level.
So, if I understand you correctly, you don't know of a way to do this in
Given that, do you know if most server implementations of CIFS, which
are not windows, support some flavor of these rpc calls?
From: Gerald (Jerry) Carter [mailto:jerry at samba.org]
Sent: Friday, April 28, 2006 3:06 PM
To: Scott Goldstein
Cc: cifs-protocol at cifs.org
Subject: RE: [cifs-protocol] Identifying Matching Share Subtrees
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 28 Apr 2006, Scott Goldstein wrote:
> Excuse my lack of knowledge here, but when you say use the
> "GetShareInfo() rpc", are you referring to something in the CIFS
> protocol itself or a method on a particular CIFS client? If it's the
> former, is there a open source CIFS client which exposes this portion
> the protocol?
I was referring to the NetShareGetInfo() RPC call provided on the
For example, Samba's rpcclient provides this:
$ bin/rpcclient rain -I 127.0.0.1 -U% -c 'netsharegetinfo public'
remark: Public Access
MS-RPC is not part of CIFS per say. But pretty much a requirement
to get anything done with MS servers.
I live in a Reply-to-All world. -----------------------
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
-----END PGP SIGNATURE-----
More information about the cifs-protocol