1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-06 16:23:49 +03:00
Commit Graph

18001 Commits

Author SHA1 Message Date
Volker Lendecke
01a53590a6 r19912: Move the subkey cache to srv_winreg_nt.c 2007-10-10 12:16:08 -05:00
Volker Lendecke
1f3e20ef39 r19900: Fix klokwork ID 3148, 3149 2007-10-10 12:16:08 -05:00
Volker Lendecke
c5e041661e r19899: Fix some C++ warnings and klokwork ID 3147 2007-10-10 12:16:08 -05:00
Volker Lendecke
3250d20d27 r19898: Fix klokwork ids 3127, 3128, 3129, 3130 2007-10-10 12:16:07 -05:00
Volker Lendecke
558a13a755 r19896: Fix klokwork id 2279 2007-10-10 12:16:07 -05:00
Volker Lendecke
8ccff6a4dd r19895: Fix klokwork id 2278 2007-10-10 12:16:07 -05:00
Volker Lendecke
4b075f347b r19894: Fix klokwork id 2192 2007-10-10 12:16:06 -05:00
Volker Lendecke
a301a4a12d r19893: Fix klokwork id 2191 2007-10-10 12:16:05 -05:00
Volker Lendecke
235e8c9653 r19892: Fix klokwork id 2190 2007-10-10 12:16:05 -05:00
Volker Lendecke
b6933c3043 r19891: Fix klokwork id 2189 2007-10-10 12:16:05 -05:00
Volker Lendecke
4d44388929 r19890: Fix klokwork ID 2188 2007-10-10 12:16:04 -05:00
Volker Lendecke
1bd660fb91 r19889: Fix klokwork ID 2187 2007-10-10 12:16:04 -05:00
Volker Lendecke
66c20f2592 r19883: Fix bug 4248 -- thanks to Pascal Terjan :-) 2007-10-10 12:16:04 -05:00
James Peach
53fe047f35 r19873: Make sure we are privileged when doing DMAPI operations on systems
that don't have capability support. Patch by J Raynor <raynorj@mn.rr.com>.
2007-10-10 12:16:03 -05:00
Volker Lendecke
81bd816fa2 r19872: Move the value cache to srv_winreg_nt.c. Fix some minor issues found while
playing with regedit.exe.

Volker
2007-10-10 12:16:03 -05:00
Volker Lendecke
0ed3a21fcc r19867: Introduce struct regkey_info in srv_winreg_nt.c to be able to re-add the
QueryValue and later the QueryKey cache independent of the backend.

Volker
2007-10-10 12:16:03 -05:00
Volker Lendecke
c8c81f0e86 r19860: Streamline _winreg_QueryValue a bit. We've been pushing around memory
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
2007-10-10 12:16:03 -05:00
Volker Lendecke
ed4dc40512 r19858: Fix a memleak, add a const 2007-10-10 12:16:03 -05:00
Volker Lendecke
ce44158dde r19853: Update a link 2007-10-10 12:16:02 -05:00
James Peach
23795be8b4 r19851: Disable gcc PIE options on Darwin. 2007-10-10 12:16:02 -05:00
Jelmer Vernooij
b7f22408e9 r19849: Fix compilation after idl changes. 2007-10-10 12:16:02 -05:00
Jelmer Vernooij
75515c5fda r19848: Sync with Samba4 - no top-level unique pointers. 2007-10-10 12:16:02 -05:00
Volker Lendecke
5ec7379220 r19841: Wrap regdb_store_keys and regdb_store_values in tdb transactions 2007-10-10 12:16:01 -05:00
Volker Lendecke
c4b5e8c7a0 r19840: Fix an uninitialized variable 2007-10-10 12:16:01 -05:00
Volker Lendecke
ff4123c8f2 r19839: Fix the build, we are not there yet :-) 2007-10-10 12:16:01 -05:00
Volker Lendecke
f722f3341f r19838: We have to delete the value record as well, otherwise the old values pop up
again if the key is re-created.

Volker
2007-10-10 12:16:01 -05:00
Volker Lendecke
6639f8c119 r19837: Some reformatting (Jerry, I hope you do not mind 2007-10-10 12:16:01 -05:00
Volker Lendecke
2091018a53 r19835: Some net sam policy improvements.
Thanks to Karolin Seeger <ks@sernet.de>

Volker
2007-10-10 12:16:01 -05:00
Volker Lendecke
969eb9cda6 r19828: Add a helper function to pull *and* unparse local registry values 2007-10-10 12:16:00 -05:00
Volker Lendecke
3047a4b92c r19827: Move registry_push/pull_value to lib/util_reg.c 2007-10-10 12:16:00 -05:00
Jim McDonough
fa656ce34e r19826: Fix typo 2007-10-10 12:16:00 -05:00
Volker Lendecke
b2866b1318 r19825: To create a key, smbd also needs read privs assigned 2007-10-10 12:16:00 -05:00
Volker Lendecke
cd14b7f052 r19824: Fix the max value calculation in QueryInfoKey 2007-10-10 12:16:00 -05:00
Jeremy Allison
dbf0e58a1e r19823: "log" is an internal define in older versions of gcc.
Rename to log_ctx.
Jeremy.
2007-10-10 12:16:00 -05:00
Volker Lendecke
419ebc92f0 r19822: Implement net rpc registry createkey, deletekey and deletevalue 2007-10-10 12:15:59 -05:00
Volker Lendecke
30f02e73fd r19821: Make net_rpc_registry use net_run_function2.
Fix an erroneous NT_STATUS_NO_MEMORY found by Chetan S <cshring@gmail.com>.

Thanks :-)

Volker
2007-10-10 12:15:59 -05:00
Volker Lendecke
b32c8356f7 r19820: Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke
<bj@sernet.de>

Volker
2007-10-10 12:15:59 -05:00
Volker Lendecke
c1083216c8 r19819: Windows returns an empty string instead of NULL here 2007-10-10 12:15:59 -05:00
Volker Lendecke
7fd1578a90 r19818: Remove reg_split_hive, make use of registry_openkey 2007-10-10 12:15:58 -05:00
Volker Lendecke
9ecb69c075 r19817: Implement net rpc registry setvalue (only dword and sz so far) 2007-10-10 12:15:58 -05:00
Volker Lendecke
f24e64160d r19812: dump_regval_buf is not needed anymore 2007-10-10 12:15:57 -05:00
Volker Lendecke
6793301751 r19811: Decode REG_MULTI_SZ and REG_BINARY 2007-10-10 12:15:57 -05:00
Gerald Carter
40cff14498 r19809: remove winbind blacklist parameter 2007-10-10 12:15:57 -05:00
Gerald Carter
c142b629c8 r19808: remove old smbwrapper references 2007-10-10 12:15:57 -05:00
Volker Lendecke
40922eb924 r19807: First attempt at wrapping something sane around the registry API. Will be
extended.

Volker
2007-10-10 12:15:57 -05:00
Volker Lendecke
cb9e16c838 r19804: Fix a valgrind error 2007-10-10 12:15:57 -05:00
Volker Lendecke
8df6544fa8 r19803: Fix problem reported by Chetan S: QueryInfoKey needs to report the 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
2007-10-10 12:15:56 -05:00
Gerald Carter
4c96a387a2 r19800: * Remove exmpty aix directory
* remove old, commented out commands from 'make clean'
2007-10-10 12:15:56 -05:00
Volker Lendecke
bc4e0a388a r19797: Convert the remaining pipes to the "new" unique out ptr handling 2007-10-10 12:15:56 -05:00
Volker Lendecke
2efd3b3509 r19794: Convert DFS 2007-10-10 12:15:56 -05:00