[cifs-protocol] Identifying Matching Share Subtrees

Gerald (Jerry) Carter jerry at samba.org
Fri Apr 28 22:05:44 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 of 
> the protocol?

Scott,

I was referring to the NetShareGetInfo() RPC call provided on the
\srvsvc pipe.  

For example, Samba's rpcclient provides this:

$ bin/rpcclient rain -I 127.0.0.1 -U% -c 'netsharegetinfo public'
netname: public
        remark: Public Access
        path:   C:\export\u1\public
        password:
        type:   0x0
        perms:  0
        max_uses:       -1
        num_uses:       1
....

MS-RPC is not part of CIFS per say.  But pretty much a requirement
to get anything done with MS servers.




cheers, jerry
=====================================================================
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/

iD8DBQFEUpG7IR7qMdg1EfYRAkhnAKDgIO5ZLqiqesbbbTaLw29DYDYyVQCgr3f2
W2sJf0Fb5IVYdWI0oYj5X5Q=
=df6z
-----END PGP SIGNATURE-----


More information about the cifs-protocol mailing list