Age | Commit message (Collapse) | Author | Files | Lines |
|
This would crash safely
(This used to be commit 0f14357c86aee9a76ffbb45ea6419f4cc4106d62)
|
|
(It is reg_api time)
Michael
(This used to be commit d94998e46ba0faac3fa625e8292d452ad52b8e55)
|
|
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)
|
|
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)
|
|
Michael
(This used to be commit 903223b160eef6ba6ff19a8bfef19e5fe7008631)
|
|
Rationale: Use reg_api instead of backend functions.
Michael
(This used to be commit f986a708be15dd9b9fc28b9862f64f2d0f94accc)
|
|
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
|
|
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
|
|
Jeremy.
(This used to be commit 9755c5311416f17bac0a848d027cafb3fd487618)
|
|
srv_spoolss_nt.c and srv_srvsvc_nt.c.
They're next :-).
Jeremy.
(This used to be commit 55b4f9d003b036af69085f7b64e0df08c5ba440d)
|
|
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)
|
|
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)
|
|
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)
|
|
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
|
|
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
|
|
change from a pstring to a char* and still trying use pstrcpy().
(This used to be commit 21dc46a2bad6fee720f0f591e1051aa7675c77c8)
|
|
(This used to be commit c9f38fa30e9b784a56f08d0ab4765e9c7a42aa7d)
|
|
(This used to be commit b8269f454338c8b20b90451f3866fc193871e9af)
|
|
(A relict from regkey_open_internal days.)
Michael
(This used to be commit 4025cbc2024acf36e96d7236225b439dbd3e4df0)
|
|
(This used to be commit e73a418b5b0100936efb4c1133da3cfe3fcb61cd)
|
|
(This used to be commit b84370513fbf790e599c33f177fb271a2a992b72)
|
|
separate arguments.
This makes it a bit more similar to the Samba4 code.
(This used to be commit 0596badb410a58e7a715e2b17bc0bef0489a2448)
|
|
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)
|
|
will re-use the handle
(This used to be commit 0afd696f88ed04f562ef64201ac2e58cef372a90)
|
|
(This used to be commit 3da37287cadfe251491bcefea4ca9d407048868b)
|
|
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)
|
|
(This used to be commit 6cab254c49e07b11c170511ec613f0f33914c3e6)
|
|
arguments. This also replaces regkey_close_internal by TALLOC_FREE.
Volker
(This used to be commit a177bbb2d5611f03cec25b7577c2e6a542f94a69)
|
|
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)
|
|
(This used to be commit 2369ad08529d31bb77b9cb5378d0114669cdf8a8)
|
|
Volker
(This used to be commit b714b51884af0d79de8568410676d4889f23ffb6)
|
|
can still
create keys on Samba and vice versa.
Jelmer, please check.
Thanks,
Volker
(This used to be commit 1b460d6cdfe0cadd915a5299e6ca9bb359bf0075)
|
|
(This used to be commit f1266475daa3687e0b0dc5333a6fbd12a9640c3a)
|
|
treatment as the
other StringBufs, otherwise clicking on a key with this value being set leads
to regedit.exe on w2k3 chew all memory.
(This used to be commit b148cde7f39859102288a87b6f0bd2b250947a85)
|
|
(This used to be commit 01a53590a6325413551016effe302585a3a1e656)
|
|
while
playing with regedit.exe.
Volker
(This used to be commit 81bd816fa2afe89261aff2f395e8d056b73e515c)
|
|
QueryValue and later the QueryKey cache independent of the backend.
Volker
(This used to be commit 0ed3a21fccd9c05f1db40f8e20376a76583a81b6)
|
|
considerably here.
This temporarily removes a cache for the tdb based registry, I'll re-add that
in srv_winreg_nt.c in the next step.
This fixes creating/renaming values from the windows regedit.exe, as "New
Value #1" was not entering the cache after being created.
Volker
(This used to be commit c8c81f0e86256f769765c142e4f1e4c45cb74296)
|
|
(This used to be commit cd14b7f05234f540601cd2c5841a52dd047c965d)
|
|
(This used to be commit c1083216c83f4236edb78484c6333ff1d1646c40)
|
|
max name
length in *bytes* for UTF-16, not the string length. This got lost during the
conversion.
This took a while to figure out :-)
Thanks to Chetan!
Volker
(This used to be commit 8df6544fa855d2d07b1b69c8d448a1362e41733c)
|
|
talloc ctx is
misleading here. This needs fixing properly :-)
Volker
(This used to be commit f808182346aa16bb2f3a9383e28d318099a5e14e)
|
|
(This used to be commit cb7f4211b8441642dce9594522dc9588475a7719)
|
|
Jerry, please check this. The way I understood alpha_strcpy the last arg needs
to be the size of the target, not of the source.
Thanks,
Volker
(This used to be commit 287d68daab89c78748b90849c9782473784b6a84)
|
|
unique
pointers and can thus be independently NULL.
Thanks,
Volker
(This used to be commit d48ac0726a931a7200c47a87f771b74826ab9c96)
|
|
Convert the low-hanging fruit of the LSA server. This provides a sample how
the server calls can be converted one by one, see the "proxy_lsa_call"
function.
Volker
(This used to be commit 99e54a213ad3561ea6e8dc44c483847c18c5681e)
|
|
* Tested RegSaveKey() using win32 app. Apparently
this code has been brokne for a really long time.
(This used to be commit 5381dcbde34206462562bdfc7639f488820a5a64)
|
|
is happy again when creating keys and values
(This used to be commit 6e9e9f8facbdd694041709e1fc6a8f824ac8c119)
|
|
work
(This used to be commit e7e3e35c1def29430dc69d3311d5779575659ec5)
|
|
(This used to be commit 92f22f67ede2ae8c23ee86021a5709d2e27d1dec)
|