rpcclient changed?

Gerald Carter jerry at samba.org
Fri Jul 26 06:28:03 GMT 2002


On Fri, 19 Jul 2002, David Bear wrote:

> 
> looking at examples of rpcclient from old list archives I seen useage of a
> -c "regenum hkey_user" .. from a script authored by Luke.  The docs for
> the 2.2 sambe never mention the regenum command and indeed when I try it I
> get the error
> 
> 'regenum hkey_users
> command not found: regenum'
> 
> I get this with going to an NT 4 and a win2k box.  Has the command
> changed?  If not, what am I doing wrong...
> 
> The real question behind this is how do I query certain parts of the
> registry?  I'd like to create a script to watch certain parts of the
> registry from a central console.

rpcclient has been rewritten several times.  the registry client
functions got dropped during one of those.  I just cleaned up
most of the relavant winreg parsing routines so it would not
be that big of a deal to code up client routines (some may already 
exist but are not being called).  I don't have time to do this 
right now, but would be glad to answer any questions if someone
wants to give it a go.




cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba-technical mailing list