[patch] smbclient -L and long share names

Christopher R. Hertel crh at ubiqx.mn.org
Mon Jul 7 04:26:58 GMT 2003


Okay, here's where I demonsrate that I've been in theory-land too long and 
have lost touch with practice-land.  :)

It *looks* to me as though the new code tries a NetrShareEnum (with 'r')  
RPC call and, if that fails, goes back to the RAP NetShareEnum (no 'r')
call.  Is that what's happening?  There are a lot of servers out there
that won't support the RPC calls but will support RAP, so trying RPC and 
failing back to RAP is the way to go.

...but then, I learned a lot about such thing from you anyway.

Chris -)-----

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org



More information about the samba-technical mailing list