summaryrefslogtreecommitdiff
path: root/source3/libmsrpc/cac_winreg.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19006: Final cleanups for the winreg libmsrpc functions.Gerald Carter1-98/+158
Needs thorough testing but the code has been adapted to the new rpccli_winreg_XX() API. (This used to be commit c3d1c3ca4d9b23bdbba131563c751b8e0dc4c01f)
2007-10-10r18981: * cleanup some vestiges of old cli_reg.c code and mark some TODOGerald Carter1-2/+9
items in cac_winreg.c * Get 'net rpc registry enumerate' to list values again * Fix winreg.idl QueryInfoKey(). The max_subkeysize is the max_classlen (we previously had this correct in Samba3") * fix valgrind error about uninitialized memory and use-before-set on size value inmemset() call * Fix key enumeration in 'net rpc registry enumerate' * regenerate gen_dir files based on local pidl patches Please note that the generated ndr files are from my local copy of pidl. If you need to regenerate, please apply the patch that I posted to the samba-technical list earlier today. (This used to be commit 5d843612a1b9d92022f76626f1c7473faebec4ba)
2007-10-10r18959: reformat using indentGerald Carter1-843/+948
(This used to be commit 69c298f85d44ac3138d11de2db34923a3328e119)
2007-10-10r18919: * Get the new rpccli_winreg_XXXX() functions into the treeGerald Carter1-94/+71
There some broken functionality here that I'm still working on. * remove unneeded parsing routines (This used to be commit cbfe1a4b498593a48fc34f584754ed4a9ef72cc5)
2007-10-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij1-2/+2
descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10r18711: Replace the following hand code client routines:Gerald Carter1-3/+2
* rpccli_reg_abort_shutdown() * rpccli_reg_flush_key() Remove the cmd_reg.c from rpcclient since the entire file was unused (This used to be commit c4788f0c1398feb098f131aa5c4d0398d7489527)
2007-10-10r18560: * Add in the winreg and initshutdown IDL filesGerald Carter1-6/+6
* rename PI_SHUTDOWN from include/smb.h to PI_INITSHUTDOWN for compatibility with pidl libndr output (This used to be commit 23a882861311d9d6ca45af1bfcc90d05846ba3a9)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-2/+2
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16585: Fix Klocwork #1976. Possible null deref.Jeremy Allison1-0/+1
Jeremy. (This used to be commit a912ef0d9724373966e77f9e8928be462de8df4a)
2007-10-10r14408: More on fix for coverity #36. The previous fix would cause us toJim McDonough1-0/+2
marshall a buffer based on an unknown size. Zero out the sec_desc buffer to prevent this. This is still not getting proper results for a registry security descriptor (everything gets ACCESS DENIED), but at least we aren't blowing out memory now... (This used to be commit cb370cc28ce361628df137c9aef02739aca062db)
2007-10-10r14406: Disable this call until we can sort out how thisJeremy Allison1-0/+6
should be done correctly. Fix coverity #37. Jeremy. (This used to be commit d241f74e06eac7b61e5b7e09c2b9a955ec560fec)
2007-10-10r14367: Not that I fully understand what's going on here, but the code as it ↵Volker Lendecke1-4/+8
was here was clearly buggy as Coverity showed with bug id #36. According to samba4 idl the sec_desc_buf is [in,out,ref], so we _have_ to ship it in the request. Volker (This used to be commit 075e784491e6f2b491bd063db08ff1267f9cabbb)
2007-10-10r14261: Fix coverity #38. No null deref.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 2a2b966b7b92ac340d61ba157d207a42509a93d1)
2007-10-10r14194: Coverity bug #35. Fix uninitialized pipe_hnd.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 8aca76f03540f3df5a81ddab2588c1f8219ac550)
2007-10-10r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter1-6/+6
macro which sets the freed pointer to NULL. (This used to be commit b65be8874a2efe5a4b167448960a4fcf6bd995e2)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison1-1/+1
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10r11124: Commit Chris' fixes for libmsrpc after the rpc_clientGerald Carter1-130/+99
rewrite. His comments: I've gotten the libmsrpc code to work with TRUNK. I've put the patch at: www.uoguelph.ca/~cnicholl/libmsrpc_trunk_v1.patch.gz It is from revision 11093. I also fixed a minor bug in the svcctl code, the timeout parameter for all the control functions was working in milliseconds instead of seconds. Also fixed bug in Makefile when building libmsrpc.a (This used to be commit d3a52900ec223316779e59a13cea87ecb500bccc)
2007-10-10r10003: in the rush for 10k, I forgot to run add the rest of Chris' libmsrpc ↵Gerald Carter1-0/+1033
files (This used to be commit 32bebc452dffa8348b94c5b866350b1fe761986f)