diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-18 00:26:11 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-18 00:26:11 +0000 |
commit | ccc8585567804d6a7e6f684a97d58871e2fd9f8a (patch) | |
tree | 00bc58c6cd0870a53fc5fb98648054c3ad9013e4 /source3/rpcclient/rpcclient.c | |
parent | cc8df5ce4955fc721e11ff08de052554894d963a (diff) | |
download | samba-ccc8585567804d6a7e6f684a97d58871e2fd9f8a.tar.gz samba-ccc8585567804d6a7e6f684a97d58871e2fd9f8a.tar.bz2 samba-ccc8585567804d6a7e6f684a97d58871e2fd9f8a.zip |
added regqueryval command (experimental) to get reg_io_q_info() and
reg_io_r_info() working properly. previously they weren't well
understood (well, they were the first of the registry functions i did,
back in december 97, ok??? :-)
set ntversion to 0x1 in SAMQUERY, so that we reply same as NT4 srv.
(This used to be commit 98ddeaf442cb30972cb281bf0489a6e5f7eb2883)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index b1637a3249..6caefa06b2 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -202,6 +202,12 @@ commands[] = {COMPL_NONE, COMPL_NONE} }, { + "regqueryval", + cmd_reg_query_info, + "<valname> Registry Value Query", + {COMPL_REGKEY, COMPL_NONE} + }, + { "regquerykey", cmd_reg_query_key, "<keyname> Registry Key Query", |