rpcclient

Greg Dickie greg at discreet.com
Tue Nov 2 14:01:26 GMT 1999




Hi,

  We are trying to set up an inventory and monitoring system using rpcclient.
This gets easier all the time since the tool is evolving but in the latest
(HEAD) version we have run into a couple of minor problems:

1st- when doing something like 
regenum HKLM\SYSTEM\CurrentControlSet\Control\"Session Manager"\Environment\

I end up with this:
       ComSpec:        [2]:
[000] 25 00 53 00 79 00 73 00  74 00 65 00 6D 00 52 00  %.S.y.s. t.e.m.R.
....
[REG_ENUM_VALUE: NT_STATUS_GROUP_EXISTS
        LIB:    [2]:
[000] 43 00 3A 00 5C 00 4F 00  44 00 49 00 5C 00 4F 00  C.:.\.O. D.I.\.O.
...

which is missing one of the keys where the NT_STATUS_GROUP_EXISTS is. Does
anyone know what that error is? . The key does contain another registry key.

2nd - when using regenum the prompt changes to the current location in the hive
which is VERY cool for people, but no so cool for scripting. Since we now have
all this command-line completion stuff could we also get a "set prompt"?

Thanks alot as always,
Greg



    


More information about the samba-ntdom mailing list