gd/samba/.git
16 years agor19958: Add check for WINBIND_OFFLINE key.
Jeremy Allison [Thu, 30 Nov 2006 00:09:34 +0000 (00:09 +0000)]
r19958: Add check for WINBIND_OFFLINE key.
Jeremy.
(This used to be commit 270e84db6de66b4f20dc0a564f706dae4c00b0b2)

16 years agor19957: Initial framework to make winbindd robust
Jeremy Allison [Wed, 29 Nov 2006 23:20:22 +0000 (23:20 +0000)]
r19957: Initial framework to make winbindd robust
against tdb corruption. Needs fleshing out
(and I forgot one record type) and needs helpful
suggestion from Volker to validate freelist,
but should give an idea of how this will look.
Jeremy.
(This used to be commit 8eb53f74e414483afde7b1e38ea2a3f56ae3ec66)

16 years agor19950: talloc_destroy is replaced these days
Volker Lendecke [Wed, 29 Nov 2006 15:46:57 +0000 (15:46 +0000)]
r19950: talloc_destroy is replaced these days
(This used to be commit b6bf2e42672cc84e5c3af6f8b15a9d39c408db13)

16 years agor19948: Fix a memleak
Volker Lendecke [Wed, 29 Nov 2006 12:39:33 +0000 (12:39 +0000)]
r19948: Fix a memleak
(This used to be commit fd429c8c06e01452f04700518c93ecfaa51c3140)

16 years agor19947: Change regkey_open_internal to take the parent key and a talloc_ctx as
Volker Lendecke [Wed, 29 Nov 2006 10:51:00 +0000 (10:51 +0000)]
r19947: Change regkey_open_internal to take the parent key and a talloc_ctx as
arguments. This also replaces regkey_close_internal by TALLOC_FREE.

Volker
(This used to be commit a177bbb2d5611f03cec25b7577c2e6a542f94a69)

16 years agor19946: in SetKeySec, sd is just a [in,ref] ptr
Volker Lendecke [Wed, 29 Nov 2006 08:51:18 +0000 (08:51 +0000)]
r19946: in SetKeySec, sd is just a [in,ref] ptr
(This used to be commit 38a88ed5d71c5781286ed12a858dcfb135b33c90)

16 years agor19945: Fix a segfault -- lookup_rids needs to init the names even on failure
Volker Lendecke [Wed, 29 Nov 2006 08:11:33 +0000 (08:11 +0000)]
r19945: Fix a segfault -- lookup_rids needs to init the names even on failure
(This used to be commit eba404e668c270f2d31e3a8ab0721064eda39b40)

16 years agor19944: Fix from Don Watson -- thanks
Volker Lendecke [Wed, 29 Nov 2006 06:26:12 +0000 (06:26 +0000)]
r19944: Fix from Don Watson -- thanks
(This used to be commit c27e48594abecc4e67f3be457a4b942ae7ff4db5)

16 years agor19943: Fix bug 4267 -- Thanks to David!
Volker Lendecke [Wed, 29 Nov 2006 06:15:28 +0000 (06:15 +0000)]
r19943: Fix bug 4267 -- Thanks to David!
(This used to be commit 714971b34aad01cd855484d550c41bc0265ef051)

16 years agor19942: Fix Coverity id 333, a dereference before a NULL check.
Volker Lendecke [Wed, 29 Nov 2006 06:09:24 +0000 (06:09 +0000)]
r19942: Fix Coverity id 333, a dereference before a NULL check.

Metze, you wanted to port talloc_get_type_abort() to 4. Should I just use it
in 3-ldb?

Volker
(This used to be commit ba0df1c915c49afad629df789375440225968633)

16 years agor19941: One copy of this code should be sufficient.
James Peach [Tue, 28 Nov 2006 22:55:32 +0000 (22:55 +0000)]
r19941: One copy of this code should be sufficient.
(This used to be commit 493ba681e541292f1c2c6b6670bb2c48f63a0aa3)

16 years agor19939: ,fix compile warning about unused functions when not using heimdal
Gerald Carter [Tue, 28 Nov 2006 21:11:20 +0000 (21:11 +0000)]
r19939: ,fix compile warning about unused functions when not using heimdal
(This used to be commit f53983079bc285ad8ced8fc4dd40df66fad13718)

16 years agor19936: Patch from Kai Blin <kai.blin@gmail.com> to
Jeremy Allison [Tue, 28 Nov 2006 18:51:49 +0000 (18:51 +0000)]
r19936: Patch from Kai Blin <kai.blin@gmail.com> to
match Windows NTLMSSP flags.
Jeremy.
(This used to be commit 786318f84bef76c6acffa1ddf7cdba947509fbac)

16 years agor19935: always use discard_const_p() in lib/ldb/
Stefan Metzmacher [Tue, 28 Nov 2006 17:47:41 +0000 (17:47 +0000)]
r19935: always use discard_const_p() in lib/ldb/

metze
(This used to be commit 4a5da57306ad8cce5522ee72349cb85b447e295c)

16 years agor19932: Add some const
Volker Lendecke [Tue, 28 Nov 2006 13:41:45 +0000 (13:41 +0000)]
r19932: Add some const
(This used to be commit be3c444c37dc6f0ab91a2815a2efe6f7c38818c5)

16 years agor19930: Revert the winreg idl changes. At least enumkey does not work anymore today.
Volker Lendecke [Tue, 28 Nov 2006 13:09:32 +0000 (13:09 +0000)]
r19930: Revert the winreg idl changes. At least enumkey does not work 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)

16 years agor19929: Fix indentation
Volker Lendecke [Tue, 28 Nov 2006 12:18:00 +0000 (12:18 +0000)]
r19929: Fix indentation
(This used to be commit 2369ad08529d31bb77b9cb5378d0114669cdf8a8)

16 years agor19928: Fix klokwork id 4509, 4573, 4574.
Volker Lendecke [Tue, 28 Nov 2006 09:06:04 +0000 (09:06 +0000)]
r19928: Fix klokwork id 4509, 4573, 4574.
(This used to be commit c004d041817f0bdf99a205090c8b026dfb0d81bc)

16 years agor19927: Fix klokwork ID 4702
Volker Lendecke [Tue, 28 Nov 2006 08:11:04 +0000 (08:11 +0000)]
r19927: Fix klokwork ID 4702
(This used to be commit 820a64af25799c19f1731a08b8e4651aea8a516b)

16 years agor19921: Add license and copyright info
Gerald Carter [Mon, 27 Nov 2006 19:06:58 +0000 (19:06 +0000)]
r19921: Add license and copyright info
(This used to be commit a3e1682ba3196d7c8aec8f2c72f9e12a3707db40)

16 years agor19919: Convert winreg_EnumKey to use ref ** instead of a unique *.
Volker Lendecke [Mon, 27 Nov 2006 14:29:55 +0000 (14:29 +0000)]
r19919: Convert winreg_EnumKey to use ref ** instead of a unique *.

Volker
(This used to be commit b714b51884af0d79de8568410676d4889f23ffb6)

16 years agor19918: Convert winreg_CreateKey to use a ref ** instead of a unique *. W2k3 can...
Volker Lendecke [Mon, 27 Nov 2006 14:05:28 +0000 (14:05 +0000)]
r19918: Convert winreg_CreateKey to use a ref ** instead of a unique *. W2k3 can still
create keys on Samba and vice versa.

Jelmer, please check.

Thanks,

Volker
(This used to be commit 1b460d6cdfe0cadd915a5299e6ca9bb359bf0075)

16 years agor19917: Fix warnings
Volker Lendecke [Mon, 27 Nov 2006 08:41:41 +0000 (08:41 +0000)]
r19917: Fix warnings
(This used to be commit cf4309b9048a8417104cac660421a3dcd2e96ffe)

16 years agor19916: Fix some c++ warnings
Volker Lendecke [Mon, 27 Nov 2006 08:11:10 +0000 (08:11 +0000)]
r19916: Fix some c++ warnings
(This used to be commit fb5bcb826ecd10a81e7b19c0ce134ec88d341843)

16 years agor19915: Fix two type-punned warnings
Volker Lendecke [Mon, 27 Nov 2006 08:05:42 +0000 (08:05 +0000)]
r19915: Fix two type-punned warnings
(This used to be commit f1266475daa3687e0b0dc5333a6fbd12a9640c3a)

16 years agor19914: The "default" value with the name "" need different 0-length treatment as the
Volker Lendecke [Mon, 27 Nov 2006 07:52:46 +0000 (07:52 +0000)]
r19914: The "default" value with the name "" need different 0-length 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)

16 years agor19913: Fix a const warning
Volker Lendecke [Mon, 27 Nov 2006 07:44:19 +0000 (07:44 +0000)]
r19913: Fix a const warning
(This used to be commit a660993d140b860691c3ed0b71d3e8023e5a7c57)

16 years agor19912: Move the subkey cache to srv_winreg_nt.c
Volker Lendecke [Mon, 27 Nov 2006 07:41:59 +0000 (07:41 +0000)]
r19912: Move the subkey cache to srv_winreg_nt.c
(This used to be commit 01a53590a6325413551016effe302585a3a1e656)

16 years agor19900: Fix klokwork ID 3148, 3149
Volker Lendecke [Sat, 25 Nov 2006 17:14:39 +0000 (17:14 +0000)]
r19900: Fix klokwork ID 3148, 3149
(This used to be commit 1f3e20ef3985a0a16e8945907611654ef5e884c4)

16 years agor19899: Fix some C++ warnings and klokwork ID 3147
Volker Lendecke [Sat, 25 Nov 2006 17:11:29 +0000 (17:11 +0000)]
r19899: Fix some C++ warnings and klokwork ID 3147
(This used to be commit c5e041661ec6dd63188ad0a09a228192b6dfd2b3)

16 years agor19898: Fix klokwork ids 3127, 3128, 3129, 3130
Volker Lendecke [Sat, 25 Nov 2006 17:07:49 +0000 (17:07 +0000)]
r19898: Fix klokwork ids 3127, 3128, 3129, 3130
(This used to be commit 3250d20d27d4f85421052e877077526975b16e02)

16 years agor19896: Fix klokwork id 2279
Volker Lendecke [Sat, 25 Nov 2006 16:55:11 +0000 (16:55 +0000)]
r19896: Fix klokwork id 2279
(This used to be commit 558a13a755ff39c9f15ba4f0a2639ffe30c996ac)

16 years agor19895: Fix klokwork id 2278
Volker Lendecke [Sat, 25 Nov 2006 16:53:56 +0000 (16:53 +0000)]
r19895: Fix klokwork id 2278
(This used to be commit 8ccff6a4dd92dfad4942b562cd1bb27d22d59661)

16 years agor19894: Fix klokwork id 2192
Volker Lendecke [Sat, 25 Nov 2006 16:43:26 +0000 (16:43 +0000)]
r19894: Fix klokwork id 2192
(This used to be commit 4b075f347b5449b199be19221187ce66916384cf)

16 years agor19893: Fix klokwork id 2191
Volker Lendecke [Sat, 25 Nov 2006 16:42:21 +0000 (16:42 +0000)]
r19893: Fix klokwork id 2191
(This used to be commit a301a4a12d554d9d3ba00c2780deb9eafc44e1a8)

16 years agor19892: Fix klokwork id 2190
Volker Lendecke [Sat, 25 Nov 2006 16:41:06 +0000 (16:41 +0000)]
r19892: Fix klokwork id 2190
(This used to be commit 235e8c9653a9199f2766c5c4a2d1f1d4f2801a3b)

16 years agor19891: Fix klokwork id 2189
Volker Lendecke [Sat, 25 Nov 2006 16:39:34 +0000 (16:39 +0000)]
r19891: Fix klokwork id 2189
(This used to be commit b6933c3043b73b68a30f57f681185a79c8e205c2)

16 years agor19890: Fix klokwork ID 2188
Volker Lendecke [Sat, 25 Nov 2006 16:38:23 +0000 (16:38 +0000)]
r19890: Fix klokwork ID 2188
(This used to be commit 4d44388929f75d1480a8222a7cd2f575494a2b62)

16 years agor19889: Fix klokwork ID 2187
Volker Lendecke [Sat, 25 Nov 2006 16:35:22 +0000 (16:35 +0000)]
r19889: Fix klokwork ID 2187
(This used to be commit 1bd660fb9139238229fc6a80566c03f473cad094)

16 years agor19883: Fix bug 4248 -- thanks to Pascal Terjan :-)
Volker Lendecke [Sat, 25 Nov 2006 09:39:25 +0000 (09:39 +0000)]
r19883: Fix bug 4248 -- thanks to Pascal Terjan :-)
(This used to be commit 66c20f2592ee2ff37de44cc7f3ab23b440f7d840)

16 years agor19873: Make sure we are privileged when doing DMAPI operations on systems
James Peach [Fri, 24 Nov 2006 05:35:05 +0000 (05:35 +0000)]
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)

16 years agor19872: Move the value cache to srv_winreg_nt.c. Fix some minor issues found while
Volker Lendecke [Thu, 23 Nov 2006 22:58:50 +0000 (22:58 +0000)]
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)

16 years agor19867: Introduce struct regkey_info in srv_winreg_nt.c to be able to re-add the
Volker Lendecke [Thu, 23 Nov 2006 19:21:11 +0000 (19:21 +0000)]
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)

16 years agor19860: Streamline _winreg_QueryValue a bit. We've been pushing around memory
Volker Lendecke [Thu, 23 Nov 2006 16:19:06 +0000 (16:19 +0000)]
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)

16 years agor19858: Fix a memleak, add a const
Volker Lendecke [Thu, 23 Nov 2006 15:51:20 +0000 (15:51 +0000)]
r19858: Fix a memleak, add a const
(This used to be commit ed4dc405127cefd1c222e1bdd63fcaaae8e83f13)

16 years agor19857: Make the perfcounter compile after tdb changes
Volker Lendecke [Thu, 23 Nov 2006 15:39:37 +0000 (15:39 +0000)]
r19857: Make the perfcounter compile after tdb changes
(This used to be commit ab0a41c13ba3e76fea4368bc329641bbac8839b4)

16 years agor19853: Update a link
Volker Lendecke [Thu, 23 Nov 2006 10:42:58 +0000 (10:42 +0000)]
r19853: Update a link
(This used to be commit ce44158dde64cb65a3f51dfe1734f3c3d7f1bfd9)

16 years agor19852: Fix the build for the VFS examples. Fixes bugzilla #3931.
James Peach [Thu, 23 Nov 2006 06:44:05 +0000 (06:44 +0000)]
r19852: Fix the build for the VFS examples. Fixes bugzilla #3931.
(This used to be commit fa69031d00f914aa8d642a2731db8c81f74bc8d9)

16 years agor19851: Disable gcc PIE options on Darwin.
James Peach [Thu, 23 Nov 2006 06:07:03 +0000 (06:07 +0000)]
r19851: Disable gcc PIE options on Darwin.
(This used to be commit 23795be8b429d4423263e60ce80f454e2e42cae7)

16 years agor19849: Fix compilation after idl changes.
Jelmer Vernooij [Wed, 22 Nov 2006 21:40:23 +0000 (21:40 +0000)]
r19849: Fix compilation after idl changes.
(This used to be commit b7f22408e9aac88e792929afe15385e5997658ce)

16 years agor19848: Sync with Samba4 - no top-level unique pointers.
Jelmer Vernooij [Wed, 22 Nov 2006 18:57:07 +0000 (18:57 +0000)]
r19848: Sync with Samba4 - no top-level unique pointers.
(This used to be commit 75515c5fda2d405e4b08413a80ee71139673b18a)

16 years agor19841: Wrap regdb_store_keys and regdb_store_values in tdb transactions
Volker Lendecke [Wed, 22 Nov 2006 16:53:28 +0000 (16:53 +0000)]
r19841: Wrap regdb_store_keys and regdb_store_values in tdb transactions
(This used to be commit 5ec737922041b723b9e60c08049ace5fa2fa5dec)

16 years agor19840: Fix an uninitialized variable
Volker Lendecke [Wed, 22 Nov 2006 16:39:07 +0000 (16:39 +0000)]
r19840: Fix an uninitialized variable
(This used to be commit c4b5e8c7a0b936a3d95f221718a048d5374e836a)

16 years agor19839: Fix the build, we are not there yet :-)
Volker Lendecke [Wed, 22 Nov 2006 15:55:48 +0000 (15:55 +0000)]
r19839: Fix the build, we are not there yet :-)
(This used to be commit ff4123c8f2e07e282800c166a4e00b1015ddd45c)

16 years agor19838: We have to delete the value record as well, otherwise the old values pop up
Volker Lendecke [Wed, 22 Nov 2006 15:41:29 +0000 (15:41 +0000)]
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)

16 years agor19837: Some reformatting (Jerry, I hope you do not mind
Volker Lendecke [Wed, 22 Nov 2006 15:10:46 +0000 (15:10 +0000)]
r19837: Some reformatting (Jerry, I hope you do not mind
(This used to be commit 6639f8c1190419e183d92ed0322e1026375717e6)

16 years agor19835: Some net sam policy improvements.
Volker Lendecke [Wed, 22 Nov 2006 14:17:36 +0000 (14:17 +0000)]
r19835: Some net sam policy improvements.

Thanks to Karolin Seeger <ks@sernet.de>

Volker
(This used to be commit 2091018a534006cddaa5cf52f564fd7e023473b6)

16 years agor19828: Add a helper function to pull *and* unparse local registry values
Volker Lendecke [Tue, 21 Nov 2006 21:19:51 +0000 (21:19 +0000)]
r19828: Add a helper function to pull *and* unparse local registry values
(This used to be commit 969eb9cda6eba93068472e952e27138b9384c364)

16 years agor19827: Move registry_push/pull_value to lib/util_reg.c
Volker Lendecke [Tue, 21 Nov 2006 21:18:53 +0000 (21:18 +0000)]
r19827: Move registry_push/pull_value to lib/util_reg.c
(This used to be commit 3047a4b92c7d5391a8f162f26ccc92ce30c35cee)

16 years agor19826: Fix typo
Jim McDonough [Tue, 21 Nov 2006 20:44:09 +0000 (20:44 +0000)]
r19826: Fix typo
(This used to be commit fa656ce34ebea57b6dbe70ad1866a419c846e1f1)

16 years agor19825: To create a key, smbd also needs read privs assigned
Volker Lendecke [Tue, 21 Nov 2006 20:10:39 +0000 (20:10 +0000)]
r19825: To create a key, smbd also needs read privs assigned
(This used to be commit b2866b1318f2fa521ff93ec5ed58413b9145385a)

16 years agor19824: Fix the max value calculation in QueryInfoKey
Volker Lendecke [Tue, 21 Nov 2006 19:47:48 +0000 (19:47 +0000)]
r19824: Fix the max value calculation in QueryInfoKey
(This used to be commit cd14b7f05234f540601cd2c5841a52dd047c965d)

16 years agor19823: "log" is an internal define in older versions of gcc.
Jeremy Allison [Tue, 21 Nov 2006 19:45:53 +0000 (19:45 +0000)]
r19823: "log" is an internal define in older versions of gcc.
Rename to log_ctx.
Jeremy.
(This used to be commit dbf0e58a1e7fa77ce0338104cf71c7a81214884b)

16 years agor19822: Implement net rpc registry createkey, deletekey and deletevalue
Volker Lendecke [Tue, 21 Nov 2006 15:33:55 +0000 (15:33 +0000)]
r19822: Implement net rpc registry createkey, deletekey and deletevalue
(This used to be commit 419ebc92f02c9a927295ec7c54844bd5666e3f17)

16 years agor19821: Make net_rpc_registry use net_run_function2.
Volker Lendecke [Tue, 21 Nov 2006 14:01:03 +0000 (14:01 +0000)]
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)

16 years agor19820: Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke
Volker Lendecke [Tue, 21 Nov 2006 13:42:31 +0000 (13:42 +0000)]
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)

16 years agor19819: Windows returns an empty string instead of NULL here
Volker Lendecke [Tue, 21 Nov 2006 13:28:27 +0000 (13:28 +0000)]
r19819: Windows returns an empty string instead of NULL here
(This used to be commit c1083216c83f4236edb78484c6333ff1d1646c40)

16 years agor19818: Remove reg_split_hive, make use of registry_openkey
Volker Lendecke [Tue, 21 Nov 2006 10:48:11 +0000 (10:48 +0000)]
r19818: Remove reg_split_hive, make use of registry_openkey
(This used to be commit 7fd1578a905d3c974cb88cc93452d43a03038d30)

16 years agor19817: Implement net rpc registry setvalue (only dword and sz so far)
Volker Lendecke [Tue, 21 Nov 2006 10:32:08 +0000 (10:32 +0000)]
r19817: Implement net rpc registry setvalue (only dword and sz so far)
(This used to be commit 9ecb69c075060d199133520ac6a7627a5faba7f3)

16 years agor19812: dump_regval_buf is not needed anymore
Volker Lendecke [Tue, 21 Nov 2006 02:23:43 +0000 (02:23 +0000)]
r19812: dump_regval_buf is not needed anymore
(This used to be commit f24e64160dc7d7b7434cbed15677c105fa7b60de)

16 years agor19811: Decode REG_MULTI_SZ and REG_BINARY
Volker Lendecke [Tue, 21 Nov 2006 02:21:45 +0000 (02:21 +0000)]
r19811: Decode REG_MULTI_SZ and REG_BINARY
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)

16 years agor19809: remove winbind blacklist parameter
Gerald Carter [Tue, 21 Nov 2006 00:00:43 +0000 (00:00 +0000)]
r19809: remove winbind blacklist parameter
(This used to be commit 40cff1449886449b34b896e31fd43b7dff436a3f)

16 years agor19808: remove old smbwrapper references
Gerald Carter [Tue, 21 Nov 2006 00:00:18 +0000 (00:00 +0000)]
r19808: remove old smbwrapper references
(This used to be commit c142b629c8f08597519a754a8fb78b7708279f75)

16 years agor19807: First attempt at wrapping something sane around the registry API. Will be
Volker Lendecke [Mon, 20 Nov 2006 23:20:07 +0000 (23:20 +0000)]
r19807: First attempt at wrapping something sane around the registry API. Will be
extended.

Volker
(This used to be commit 40922eb924a8e21f28720f2651f087eefc3e3aed)

16 years agor19804: Fix a valgrind error
Volker Lendecke [Mon, 20 Nov 2006 18:51:00 +0000 (18:51 +0000)]
r19804: Fix a valgrind error
(This used to be commit cb9e16c8389f25f487e627bbeb06ec45f25aef6b)

16 years agor19803: Fix problem reported by Chetan S: QueryInfoKey needs to report the max name
Volker Lendecke [Mon, 20 Nov 2006 13:39:01 +0000 (13:39 +0000)]
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)

16 years agor19800: * Remove exmpty aix directory
Gerald Carter [Sun, 19 Nov 2006 19:01:14 +0000 (19:01 +0000)]
r19800: * Remove exmpty aix directory
* remove old, commented out commands from 'make clean'
(This used to be commit 4c96a387a283b52e4dc13cfe15190cbaa300bd1f)

16 years agor19797: Convert the remaining pipes to the "new" unique out ptr handling
Volker Lendecke [Sun, 19 Nov 2006 18:57:52 +0000 (18:57 +0000)]
r19797: Convert the remaining pipes to the "new" unique out ptr handling
(This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)

16 years agor19794: Convert DFS
Volker Lendecke [Sun, 19 Nov 2006 18:22:20 +0000 (18:22 +0000)]
r19794: Convert DFS
(This used to be commit 2efd3b35097a780ce99abad8a10eca536f37fc26)

16 years agor19793: Change the lsa calls to the new calling convention. Nobody uses the changed
Volker Lendecke [Sun, 19 Nov 2006 18:06:08 +0000 (18:06 +0000)]
r19793: Change the lsa calls to the new calling convention. Nobody uses the changed
calls yet.

Volker
(This used to be commit 144cddaef538cf151ec2c4989e7110c553ca63cb)

16 years agor19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
Volker Lendecke [Sun, 19 Nov 2006 17:56:35 +0000 (17:56 +0000)]
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)

16 years agor19786: My last checkin to winreg_StringBuf killed rpccli_winreg_EnumKeys against
Volker Lendecke [Sun, 19 Nov 2006 17:07:59 +0000 (17:07 +0000)]
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)

16 years agor19780: Ok, regkey_open_internal needs a regkey_close_internal. Giving a talloc ctx is
Volker Lendecke [Sun, 19 Nov 2006 11:11:01 +0000 (11:11 +0000)]
r19780: Ok, regkey_open_internal needs a regkey_close_internal. Giving a talloc ctx is
misleading here. This needs fixing properly :-)

Volker
(This used to be commit f808182346aa16bb2f3a9383e28d318099a5e14e)

16 years agor19779: Fail properly on talloc_strdup failure
Volker Lendecke [Sun, 19 Nov 2006 10:54:57 +0000 (10:54 +0000)]
r19779: Fail properly on talloc_strdup failure
(This used to be commit b57e446789530cb7e18e107478ca8b59a19d990f)

16 years agor19778: Make regkey_open_internal take a talloc ctx
Volker Lendecke [Sun, 19 Nov 2006 10:50:33 +0000 (10:50 +0000)]
r19778: Make regkey_open_internal take a talloc ctx
(This used to be commit cb7f4211b8441642dce9594522dc9588475a7719)

16 years agor19777: Make regsubkey_ctr_addkey return WERROR. Nobody checks this so far, but this
Volker Lendecke [Sat, 18 Nov 2006 17:46:32 +0000 (17:46 +0000)]
r19777: Make regsubkey_ctr_addkey return WERROR. Nobody checks this so far, but this
will change.

Volker
(This used to be commit 17c7c337f64b082c1bf1045a4093c279deeec958)

16 years agor19776: Hmmm. I should have done one instead of three commits. Sorry :-)
Volker Lendecke [Sat, 18 Nov 2006 17:07:15 +0000 (17:07 +0000)]
r19776: Hmmm. I should have done one instead of three commits. Sorry :-)
(This used to be commit e2a35ceffe35b25aafde987c50e63b89a3e3ec16)

16 years agor19775: Fix typo
Volker Lendecke [Sat, 18 Nov 2006 17:06:43 +0000 (17:06 +0000)]
r19775: Fix typo
(This used to be commit 370e29ebb9da92c9072bdd4eec84980b5753089a)

16 years agor19774: Fix typo
Volker Lendecke [Sat, 18 Nov 2006 17:06:02 +0000 (17:06 +0000)]
r19774: Fix typo
(This used to be commit 842599a7fd1217b498dc2d241d39ed604cf0da7d)

16 years agor19773: TALLOC_FREE checks for NULL itself
Volker Lendecke [Sat, 18 Nov 2006 17:05:50 +0000 (17:05 +0000)]
r19773: TALLOC_FREE checks for NULL itself
(This used to be commit fb3983ae1fdd1935333ffee80bceb747228ac0f3)

16 years agor19766: Fix a const-warning. Jerry, what did you want to fix with this line?
Volker Lendecke [Sat, 18 Nov 2006 11:29:29 +0000 (11:29 +0000)]
r19766: Fix a const-warning. Jerry, what did you want to fix with this line?

Volker
(This used to be commit 55dc4741cfead0f21deb7ea2d28afb240505686b)

16 years agor19764: set version in 3.0 branch to 3.0.25
Gerald Carter [Fri, 17 Nov 2006 23:31:45 +0000 (23:31 +0000)]
r19764: set version in 3.0 branch to 3.0.25
(This used to be commit d7179d945c24f1aa4fff243cc6c29a5545ce692a)

16 years agor19762: libaddns/*[ch] code fixes donated by Centeris Corporation
Gerald Carter [Fri, 17 Nov 2006 21:46:26 +0000 (21:46 +0000)]
r19762: libaddns/*[ch] code fixes donated by Centeris Corporation
(http://www.centeris.com/) under my copyright.

* Rework error reporting to use DNS_ERROR instead
  of int32
* Convert memory allocation to use talloc()
* Generalize the DNS request/response packet marshalling
* Fix the secure update requests
(This used to be commit c78798333616c3f823514df0f58da2eb3a30a988)

16 years agor19758: remove the LDAP_SCOPE_ONELEVEL define (not needed after svnup)
Gerald Carter [Fri, 17 Nov 2006 01:25:23 +0000 (01:25 +0000)]
r19758: remove the LDAP_SCOPE_ONELEVEL define (not needed after svnup)
(This used to be commit e37132f219bb9ef52c7fc9b396bd272dd5abca70)

16 years agor19754: * When using a krb5 session setup, we don't fill in the server_name
Gerald Carter [Thu, 16 Nov 2006 23:48:46 +0000 (23:48 +0000)]
r19754: * When using a krb5 session setup, we don't fill in the server_name
  string the clis_state struct.  So call saf_store() after we
  have the short domain name in the lsa_query_inof_policy code.

* Remove unused server string in saf_delete()
(This used to be commit 3eddae2f2080f8dafec883cb9ffa2e578c242607)

16 years agor19748: Ensure to link against the required libraries.
Lars Müller [Thu, 16 Nov 2006 18:29:36 +0000 (18:29 +0000)]
r19748: Ensure to link against the required libraries.
(This used to be commit 85d8c73fbbf86f4d22244f8e2bb2fdd51fa6680b)

16 years agor19747: Ensure to link with the required objects.
Lars Müller [Thu, 16 Nov 2006 18:16:57 +0000 (18:16 +0000)]
r19747: Ensure to link with the required objects.
(This used to be commit 8d50fb3f5152b5daa62fde5bbf34f585631be397)

16 years agor19745: For the fun of it, add an CLDAP client written in perl.
Günther Deschner [Thu, 16 Nov 2006 11:55:16 +0000 (11:55 +0000)]
r19745: For the fun of it, add an CLDAP client written in perl.

Guenther
(This used to be commit 8a2dded7fb6fff7080a77895803f28985bdf728b)

16 years agor19744: merge from samba4
Stefan Metzmacher [Thu, 16 Nov 2006 11:18:05 +0000 (11:18 +0000)]
r19744: merge from samba4

metze
(This used to be commit fe61e6ebf7d771ce6441198bf2e330d53bf7b10e)

16 years agor19741: fix compiler warnings
Stefan Metzmacher [Thu, 16 Nov 2006 11:11:09 +0000 (11:11 +0000)]
r19741: fix compiler warnings

metze
(This used to be commit 18171cf54b22f9f2d73753db580934bd10e95e3d)