1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

18298 Commits

Author SHA1 Message Date
Volker Lendecke
ca3300cbd1 r19898: Fix klokwork ids 3127, 3128, 3129, 3130
(This used to be commit 3250d20d27d4f85421052e877077526975b16e02)
2007-10-10 12:16:07 -05:00
Volker Lendecke
f6dece8b4d r19896: Fix klokwork id 2279
(This used to be commit 558a13a755ff39c9f15ba4f0a2639ffe30c996ac)
2007-10-10 12:16:07 -05:00
Volker Lendecke
f494d7d31f r19895: Fix klokwork id 2278
(This used to be commit 8ccff6a4dd92dfad4942b562cd1bb27d22d59661)
2007-10-10 12:16:07 -05:00
Volker Lendecke
40dc09e009 r19894: Fix klokwork id 2192
(This used to be commit 4b075f347b5449b199be19221187ce66916384cf)
2007-10-10 12:16:06 -05:00
Volker Lendecke
7968602097 r19893: Fix klokwork id 2191
(This used to be commit a301a4a12d554d9d3ba00c2780deb9eafc44e1a8)
2007-10-10 12:16:05 -05:00
Volker Lendecke
7230ce8cd0 r19892: Fix klokwork id 2190
(This used to be commit 235e8c9653a9199f2766c5c4a2d1f1d4f2801a3b)
2007-10-10 12:16:05 -05:00
Volker Lendecke
76b2e7ba13 r19891: Fix klokwork id 2189
(This used to be commit b6933c3043b73b68a30f57f681185a79c8e205c2)
2007-10-10 12:16:05 -05:00
Volker Lendecke
d128defd31 r19890: Fix klokwork ID 2188
(This used to be commit 4d44388929f75d1480a8222a7cd2f575494a2b62)
2007-10-10 12:16:04 -05:00
Volker Lendecke
433869019b r19889: Fix klokwork ID 2187
(This used to be commit 1bd660fb9139238229fc6a80566c03f473cad094)
2007-10-10 12:16:04 -05:00
Volker Lendecke
2a0e64e691 r19883: Fix bug 4248 -- thanks to Pascal Terjan :-)
(This used to be commit 66c20f2592ee2ff37de44cc7f3ab23b440f7d840)
2007-10-10 12:16:04 -05:00
James Peach
60936146d0 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>.
(This used to be commit 53fe047f35534afc4b56fcbaf135a3ca13df65bd)
2007-10-10 12:16:03 -05:00
Volker Lendecke
015534e254 r19872: Move the value cache to srv_winreg_nt.c. Fix some minor issues found while
playing with regedit.exe.

Volker
(This used to be commit 81bd816fa2afe89261aff2f395e8d056b73e515c)
2007-10-10 12:16:03 -05:00
Volker Lendecke
3f62a1a3eb 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
(This used to be commit 0ed3a21fccd9c05f1db40f8e20376a76583a81b6)
2007-10-10 12:16:03 -05:00
Volker Lendecke
6b0819e96c 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
(This used to be commit c8c81f0e86256f769765c142e4f1e4c45cb74296)
2007-10-10 12:16:03 -05:00
Volker Lendecke
fb904d2299 r19858: Fix a memleak, add a const
(This used to be commit ed4dc405127cefd1c222e1bdd63fcaaae8e83f13)
2007-10-10 12:16:03 -05:00
Volker Lendecke
969a7faa7c r19853: Update a link
(This used to be commit ce44158dde64cb65a3f51dfe1734f3c3d7f1bfd9)
2007-10-10 12:16:02 -05:00
James Peach
e2166a9fee r19851: Disable gcc PIE options on Darwin.
(This used to be commit 23795be8b429d4423263e60ce80f454e2e42cae7)
2007-10-10 12:16:02 -05:00
Jelmer Vernooij
19d7a9c315 r19849: Fix compilation after idl changes.
(This used to be commit b7f22408e9aac88e792929afe15385e5997658ce)
2007-10-10 12:16:02 -05:00
Jelmer Vernooij
4d708dfd2c r19848: Sync with Samba4 - no top-level unique pointers.
(This used to be commit 75515c5fda2d405e4b08413a80ee71139673b18a)
2007-10-10 12:16:02 -05:00
Volker Lendecke
7a19259051 r19841: Wrap regdb_store_keys and regdb_store_values in tdb transactions
(This used to be commit 5ec737922041b723b9e60c08049ace5fa2fa5dec)
2007-10-10 12:16:01 -05:00
Volker Lendecke
ca70f53930 r19840: Fix an uninitialized variable
(This used to be commit c4b5e8c7a0b936a3d95f221718a048d5374e836a)
2007-10-10 12:16:01 -05:00
Volker Lendecke
9e29e5d2b8 r19839: Fix the build, we are not there yet :-)
(This used to be commit ff4123c8f2e07e282800c166a4e00b1015ddd45c)
2007-10-10 12:16:01 -05:00
Volker Lendecke
45111ff1cb r19838: We have to delete the value record as well, otherwise the old values pop up
again if the key is re-created.

Volker
(This used to be commit f722f3341f65f8737c10eb59048c1263a58afd44)
2007-10-10 12:16:01 -05:00
Volker Lendecke
aad7194999 r19837: Some reformatting (Jerry, I hope you do not mind
(This used to be commit 6639f8c1190419e183d92ed0322e1026375717e6)
2007-10-10 12:16:01 -05:00
Volker Lendecke
b724a28019 r19835: Some net sam policy improvements.
Thanks to Karolin Seeger <ks@sernet.de>

Volker
(This used to be commit 2091018a534006cddaa5cf52f564fd7e023473b6)
2007-10-10 12:16:01 -05:00
Volker Lendecke
45fcd0f0b7 r19828: Add a helper function to pull *and* unparse local registry values
(This used to be commit 969eb9cda6eba93068472e952e27138b9384c364)
2007-10-10 12:16:00 -05:00
Volker Lendecke
334c868b83 r19827: Move registry_push/pull_value to lib/util_reg.c
(This used to be commit 3047a4b92c7d5391a8f162f26ccc92ce30c35cee)
2007-10-10 12:16:00 -05:00
Jim McDonough
807c50858f r19826: Fix typo
(This used to be commit fa656ce34ebea57b6dbe70ad1866a419c846e1f1)
2007-10-10 12:16:00 -05:00
Volker Lendecke
6fad55ff89 r19825: To create a key, smbd also needs read privs assigned
(This used to be commit b2866b1318f2fa521ff93ec5ed58413b9145385a)
2007-10-10 12:16:00 -05:00
Volker Lendecke
c895111579 r19824: Fix the max value calculation in QueryInfoKey
(This used to be commit cd14b7f05234f540601cd2c5841a52dd047c965d)
2007-10-10 12:16:00 -05:00
Jeremy Allison
bb4fb75b22 r19823: "log" is an internal define in older versions of gcc.
Rename to log_ctx.
Jeremy.
(This used to be commit dbf0e58a1e7fa77ce0338104cf71c7a81214884b)
2007-10-10 12:16:00 -05:00
Volker Lendecke
ef4112922a r19822: Implement net rpc registry createkey, deletekey and deletevalue
(This used to be commit 419ebc92f02c9a927295ec7c54844bd5666e3f17)
2007-10-10 12:15:59 -05:00
Volker Lendecke
e56be1dead 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
(This used to be commit 30f02e73fd85faa89186511edab4d5396d5efb6a)
2007-10-10 12:15:59 -05:00
Volker Lendecke
eb96dddb28 r19820: Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke
<bj@sernet.de>

Volker
(This used to be commit b32c8356f783e0919f29b452be9417d7ff59b5bc)
2007-10-10 12:15:59 -05:00
Volker Lendecke
ead21a53ae r19819: Windows returns an empty string instead of NULL here
(This used to be commit c1083216c83f4236edb78484c6333ff1d1646c40)
2007-10-10 12:15:59 -05:00
Volker Lendecke
c63be3a4e7 r19818: Remove reg_split_hive, make use of registry_openkey
(This used to be commit 7fd1578a905d3c974cb88cc93452d43a03038d30)
2007-10-10 12:15:58 -05:00
Volker Lendecke
28bbef032f r19817: Implement net rpc registry setvalue (only dword and sz so far)
(This used to be commit 9ecb69c075060d199133520ac6a7627a5faba7f3)
2007-10-10 12:15:58 -05:00
Volker Lendecke
3b5d82cedd r19812: dump_regval_buf is not needed anymore
(This used to be commit f24e64160dc7d7b7434cbed15677c105fa7b60de)
2007-10-10 12:15:57 -05:00
Volker Lendecke
202f63e476 r19811: Decode REG_MULTI_SZ and REG_BINARY
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
2007-10-10 12:15:57 -05:00
Gerald Carter
95bfb97547 r19809: remove winbind blacklist parameter
(This used to be commit 40cff1449886449b34b896e31fd43b7dff436a3f)
2007-10-10 12:15:57 -05:00
Gerald Carter
932e95abde r19808: remove old smbwrapper references
(This used to be commit c142b629c8f08597519a754a8fb78b7708279f75)
2007-10-10 12:15:57 -05:00
Volker Lendecke
515dea007a r19807: First attempt at wrapping something sane around the registry API. Will be
extended.

Volker
(This used to be commit 40922eb924a8e21f28720f2651f087eefc3e3aed)
2007-10-10 12:15:57 -05:00
Volker Lendecke
ef012f8e7a r19804: Fix a valgrind error
(This used to be commit cb9e16c8389f25f487e627bbeb06ec45f25aef6b)
2007-10-10 12:15:57 -05:00
Volker Lendecke
ded7c032a3 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
(This used to be commit 8df6544fa855d2d07b1b69c8d448a1362e41733c)
2007-10-10 12:15:56 -05:00
Gerald Carter
53c6548fbc r19800: * Remove exmpty aix directory
* remove old, commented out commands from 'make clean'
(This used to be commit 4c96a387a283b52e4dc13cfe15190cbaa300bd1f)
2007-10-10 12:15:56 -05:00
Volker Lendecke
01367cdfd0 r19797: Convert the remaining pipes to the "new" unique out ptr handling
(This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)
2007-10-10 12:15:56 -05:00
Volker Lendecke
3372adce58 r19794: Convert DFS
(This used to be commit 2efd3b35097a780ce99abad8a10eca536f37fc26)
2007-10-10 12:15:56 -05:00
Volker Lendecke
28a01d3fdf r19793: Change the lsa calls to the new calling convention. Nobody uses the changed
calls yet.

Volker
(This used to be commit 144cddaef538cf151ec2c4989e7110c553ca63cb)
2007-10-10 12:15:56 -05:00
Volker Lendecke
9849f04868 r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)

Nevertheless, Jelmer & Jerry, please take a look!

Thanks,

Volker
(This used to be commit 95c14a822cae2ddc2e6ed87f5f5505fa7b98e4f0)
2007-10-10 12:15:55 -05:00
Volker Lendecke
30db93664c r19786: My last checkin to winreg_StringBuf killed rpccli_winreg_EnumKeys against
W2k3. The server requires that size==0 in the [in] name. Somehow I get the
feeling that something is badly wrong here....

I did not yet recreate the gen_ndr equivalent, see next mail.

Volker
(This used to be commit 016ddce12005bb0829bf050e4d4851852751b3e5)
2007-10-10 12:15:55 -05:00