Anonymous remote registry reads (fwd)

Luke Kenneth Casson Leighton lkcl at samba.org
Wed Oct 27 22:24:42 GMT 1999


On Wed, 27 Oct 1999, Caleb Harris wrote:

> Luke-
> 	Thanks for the information.  Actually, my goal is to get rid of
> any hosts that might have globally-readable registries.  Interesting that
> you caught on right away.  :)
> 	But, being a useless intern, I am still having difficulties.
> Basically, I'm not entirely sure how to specify the name of a key.  Say I
> had a known globally-readable key in HKLM.  Would I say:
> 	
> 		regquerykey HKLM/keyname     or
> 		regquerykey HKLM\keyname     or something else?

back slashes only accepted.
 
> 	I noticed in your message that you used HIVE_KEY_LOCAL_MACHINE,

oops.

> while in the Windows NT registry it's HKEY_LOCAL_MACHINE.  Which one is

 HKEY_LOCAL_MACHINE _or_ HKLM, i got fed up of typing the long one.



> correct, and can I specify the other top-level keys that way, like
> HKEY_USERS?

yes.  HKEY_USERS or HKU for short.

> 	Also, I did "help shutdown" as you suggested, and got nothing.
> I'm thinking that maybe I have an out-of-date version of Samba.  Was

probably!!!! see http://samba.org/cvs.html, obtain latest.

ow.  r.s.i. starting to get me.



More information about the samba-ntdom mailing list