Snap Server 2000: smbclient -L ok, net rpc share broken

Christopher R. Hertel crh at ubiqx.mn.org
Tue Oct 5 18:53:41 GMT 2004


Smbclient sends a RAP request to list the shares, but "net rpc share" 
sends an RPC request.  Try "net rap share" and see if that works...


$ net rpc share -S delenn
Password:
could not initialise lsa pipe
could not obtain sid for domain UBIQX

$ net rap share -S delenn
Password:
C
CDRW
DVDROM
IPC$


The above is against a W98 box.  Windows98 does not support RPC, and 
neither does SnapOS.  :)

Chris -)-----

On Tue, Oct 05, 2004 at 11:15:22AM -0700, David Wuertele wrote:
> I have a Snap Server 2000, and enumerating shares works with
> smbclient, but not with "net rpc share" (guest account has no
> password):
> 
>   # net rpc share -S SNAP59711
>   Password:
>   [2004/10/05 11:12:30, 0] rpc_client/cli_pipe.c:cli_nt_session_open(1451)
>     cli_nt_session_open: cli_nt_create failed on pipe \lsarpc to machine SNAP59711.  Error was ERRDOS - ERRbadpipe
>   could not initialise lsa pipe
>   could not obtain sid for domain ROKU
>   # smbclient -L //SNAP59711
>   Password: 
>   Anonymous login successful
>   Domain=[WORKGROUP] OS=[UNKNOWN] Server=[UNKNOWN]
> 
>           Sharename       Type      Comment
>           ---------       ----      -------
>           IPC$            IPC       
>           ADMIN$          Disk      
>           RPC$            Disk      
>           SHARE1          Disk      
>           WebRoot$        Disk      
>           Java$           Disk      
>           SHARE2          Disk      
>   Anonymous login successful
>   Domain=[WORKGROUP] OS=[UNKNOWN] Server=[UNKNOWN]
> 
>           Server               Comment
>           ---------            -------
>           SNAP59711            Snap! Server 192.168.5.170 
>           HDMA-SERVER          
> 
>           Workgroup            Master
>           ---------            -------
>           MYGROUP              RH9BOX3
>           WORKGROUP            HDMA-SERVER
>   # 
> 
> Any ideas on how I could get "net rpc share" to work?
> 
> Thanks,
> Dave
> 

-- 
"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