On Wednesday, October 05, 2011 11:08:46 PM Ken D'Ambrosio wrote:
> Hi, all.  I just bumped into an old script that used SambaTNG's rpcclient
> to access a remote Windows machine's registry:
> 
> rpcclient -S $ip -U administrator\%pwd -c 'registry key enum "$query"'
> 
> That's pretty slick -- but I see no way to accomplish this through stock
> Samba, be it rppcclient or something else.  Am I missing something?

try
net rpc -I $ip -U administrator%pwd  registry enumerate  "$key"

Gregor
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to