summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_winreg_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-16s3-winreg: change notify call has no meaning when called remotely.Günther Deschner1-4/+0
Just return not supported to make smbtorture happy. Guenther
2010-03-11s3-winreg: make QueryValue pass RPC-WINREG test again.Günther Deschner1-0/+4
Guenther
2010-03-11s3-winreg: fix some function names in debug statements.Günther Deschner1-3/+3
Guenther
2010-03-11s3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior.Günther Deschner1-11/+8
Found by RPC-WINREG smbtorture test. Guenther
2010-03-10s3-winreg: add some debug statements to _winreg_QueryValue().Günther Deschner1-2/+6
Guenther
2009-12-07s3-winreg: fill in some inline comments.Günther Deschner1-10/+38
Guenther
2009-12-07s3-winreg: remove trailing whitespace.Günther Deschner1-40/+40
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner1-3/+3
Guenther
2009-01-08Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fnVolker Lendecke1-15/+5
2008-11-24Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!Volker Lendecke1-4/+6
2008-10-15s3: fix s3 winreg server after idl changes.Günther Deschner1-8/+8
Guenther
2008-10-15Rename reboot -> do_reboot since the first is a reserved name on FreeBSD.Jelmer Vernooij1-2/+2
2008-10-15Share initshutdown.idl.Jelmer Vernooij1-4/+4
2008-07-22Fix warnings on FreeBSD-based platformsZach Loafman1-4/+4
Fix two shadowed declaration warnings on FreeBSD-based platform: 'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in netinet/tcp.h. (This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)
2008-06-13Fix a crash in _winreg_QueryValueVolker Lendecke1-0/+4
Coverity ID 474, value_length and type are both unique, not ref pointers and can thus be NULL. Karolin, please merge this to -stable. Thanks, Volker (cherry picked from commit 999533c0ccced59141d8baff5bc248d63e2a966f) (This used to be commit 7e07ec68f15908a998f83d615a1b4d1349935a54)
2008-03-28srv_winreg: add a debug message to _winreg_CreateKey().Michael Adam1-0/+3
Michael (This used to be commit 971f6749ed23523f6eafe5136f6d4c920c20aec4)
2008-03-25Fix _winreg_QueryValue().Günther Deschner1-7/+7
Guenther (This used to be commit b217dd674e22b6a7cc492f1a84a37ddc4ddca663)
2008-03-17Coverity fixesMarc VanHeyningen1-2/+4
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-03-05Fix Coverity ID 565Volker Lendecke1-2/+0
This would crash safely (This used to be commit 0f14357c86aee9a76ffbb45ea6419f4cc4106d62)
2008-02-18Fix a comment. REGISTRY_KEY has vanished from srv_winreg_nt.cMichael Adam1-1/+1
(It is reg_api time) Michael (This used to be commit d94998e46ba0faac3fa625e8292d452ad52b8e55)
2008-02-15Move the implementation of _winreg_RestoreKey to reg_api.cMichael Adam1-121/+1
This removes the internals of reg_api from srv_winreg_nt.c entirely, only reg_api is used there, now. This enlarges the dependencies of reg_api somewhat now since it adds regfio. But this can be separated out later. The current goal is to achieve a complete use of reg_api. Michael (This used to be commit 2222acbac955cd6d5bd48d1ce5cf4b4c7c067093)
2008-02-15Move implementation of _winreg_SaveKey() from srv_winreg_nt.c to reg_api.cMichael Adam1-170/+1
This gives a new function reg_savekey() and hides a piece of the backend code from srv_winreg_nt.c. One step towards using reg_api throughout samba code. Michael (This used to be commit bf6340d00dd631fdc909c20632250977a3a112c4)
2008-01-17Add a reg_getversion() function to reg_api and use it in srv_winreg_nt.c.Michael Adam1-3/+1
Michael (This used to be commit 903223b160eef6ba6ff19a8bfef19e5fe7008631)
2008-01-17Use reg_[gs]etkeysecurity() instead of regkey_[gs]et_secdes().Michael Adam1-2/+2
Rationale: Use reg_api instead of backend functions. Michael (This used to be commit f986a708be15dd9b9fc28b9862f64f2d0f94accc)
2007-12-21Some C++ fixesVolker Lendecke1-1/+3
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
2007-12-21Some C++ warningsVolker Lendecke1-1/+1
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
2007-11-27Fixed obvious typo.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 9755c5311416f17bac0a848d027cafb3fd487618)
2007-11-27Remove pstring from everything in rpc_server exceptJeremy Allison1-109/+147
srv_spoolss_nt.c and srv_srvsvc_nt.c. They're next :-). Jeremy. (This used to be commit 55b4f9d003b036af69085f7b64e0df08c5ba440d)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison1-13/+14
one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-5/+5
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25534: Apply some constVolker Lendecke1-1/+1
Why? It moves these structs from the data into the text segment, so they will never been copy-on-write copied. Not much, but as in German you say "Kleinvieh macht auch Mist...." (This used to be commit 0141e64ad4972232de867137064d0dae62da22ee)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23633: Fix a couple of crash bugs pointed out by Volker caused by an oldGerald Carter1-1/+6
change from a pstring to a char* and still trying use pstrcpy(). (This used to be commit 21dc46a2bad6fee720f0f591e1051aa7675c77c8)
2007-10-10r23434: Coorect a comment.Michael Adam1-1/+1
(This used to be commit c9f38fa30e9b784a56f08d0ab4765e9c7a42aa7d)
2007-10-10r23433: remove superfluous semicolon.Michael Adam1-1/+1
(This used to be commit b8269f454338c8b20b90451f3866fc193871e9af)
2007-10-10r23432: Remove superfluous comment.Michael Adam1-2/+0
(A relict from regkey_open_internal days.) Michael (This used to be commit 4025cbc2024acf36e96d7236225b439dbd3e4df0)
2007-10-10r21462: Fix EnumValue (?)Jelmer Vernooij1-2/+2
(This used to be commit e73a418b5b0100936efb4c1133da3cfe3fcb61cd)
2007-10-10r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4.Jelmer Vernooij1-6/+6
(This used to be commit b84370513fbf790e599c33f177fb271a2a992b72)
2007-10-10r20875: Pass DCE/RPC server call arguments as a struct rather than as ↵Jelmer Vernooij1-175/+149
separate arguments. This makes it a bit more similar to the Samba4 code. (This used to be commit 0596badb410a58e7a715e2b17bc0bef0489a2448)
2007-10-10r20832: Remove extra pointers previously added to unique [out] pointers. ↵Jelmer Vernooij1-1/+1
Instead, add [ref] pointers where necessary (top-level [ref] pointers, by spec, don't appear on the wire). This brings us closer to the DCE/RPC standard again. (This used to be commit 580f2a7197b1bc9db14a643fdd112b40ef37aaef)
2007-10-10r20015: We have to zero out handle on key_close, otherwise the NT4 regedit ↵Volker Lendecke1-0/+2
will re-use the handle (This used to be commit 0afd696f88ed04f562ef64201ac2e58cef372a90)
2007-10-10r20007: Fix a const warning just introducedVolker Lendecke1-1/+1
(This used to be commit 3da37287cadfe251491bcefea4ca9d407048868b)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke1-549/+154
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10r19963: Add 'registry shares = yes' and registry key security descriptors.Volker Lendecke1-3/+35
(This used to be commit 6cab254c49e07b11c170511ec613f0f33914c3e6)
2007-10-10r19947: Change regkey_open_internal to take the parent key and a talloc_ctx asVolker Lendecke1-18/+1
arguments. This also replaces regkey_close_internal by TALLOC_FREE. Volker (This used to be commit a177bbb2d5611f03cec25b7577c2e6a542f94a69)
2007-10-10r19930: Revert the winreg idl changes. At least enumkey does not work ↵Volker Lendecke1-12/+7
anymore today. With more than 5 different trees I can't swear that I did test this properly yesterday. Sorry for the noise. Volker (This used to be commit 978a6196bf0a2280c7f74b4a6d9fa7941c3aa049)
2007-10-10r19929: Fix indentationVolker Lendecke1-1/+1
(This used to be commit 2369ad08529d31bb77b9cb5378d0114669cdf8a8)
2007-10-10r19919: Convert winreg_EnumKey to use ref ** instead of a unique *.Volker Lendecke1-4/+9
Volker (This used to be commit b714b51884af0d79de8568410676d4889f23ffb6)