1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

17349 Commits

Author SHA1 Message Date
Jelmer Vernooij
8baf169549 Fix function parameters. 2008-10-23 22:10:08 +02:00
Jelmer Vernooij
f18296151d Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-23 21:59:15 +02:00
Jelmer Vernooij
9d2d666109 Make lp_tls_* return absolute paths. 2008-10-23 21:49:40 +02:00
Jelmer Vernooij
6b5d0b32b6 Move subunit ui ops out of smbtorture to the torture library. 2008-10-23 21:30:41 +02:00
Jelmer Vernooij
215b84903e Merge branch 'master' of git://git.samba.org/samba 2008-10-23 20:50:59 +02:00
Jelmer Vernooij
fe36fe8c3e Use common net utility code (address and sockaddr manipulation). 2008-10-23 20:41:15 +02:00
Jelmer Vernooij
d1bc7e56d0 Rename same_net to same_net_v4 for consistency with Samba 3. 2008-10-23 19:56:09 +02:00
Jelmer Vernooij
55fd6b125c Remove support for obsolete data type "ipv4address" 2008-10-23 18:56:37 +02:00
Jelmer Vernooij
09065795d6 Remove unused constants from local.h. 2008-10-23 18:13:25 +02:00
Jelmer Vernooij
db65c3374a Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-23 17:12:16 +02:00
Jelmer Vernooij
5b5e36085a Share codepages. 2008-10-23 16:58:11 +02:00
Jelmer Vernooij
44b728958a Use common error definitions. 2008-10-23 15:35:21 +02:00
Jelmer Vernooij
60164e9002 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-23 04:58:08 +02:00
Jelmer Vernooij
391ce30d49 Fix header file installation. 2008-10-23 04:57:44 +02:00
Andrew Bartlett
596089ec06 Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel 2008-10-23 12:56:30 +11:00
Andrew Bartlett
e79835b096 Clarify the linked attribute module behaviour with comments 2008-10-23 12:50:22 +11:00
Jelmer Vernooij
94c522b1ab Import NTSTATUS defines from Samba 3. 2008-10-23 03:29:20 +02:00
Jelmer Vernooij
3be0f6ea56 Move libcli-util error code to top-level. 2008-10-23 03:11:19 +02:00
Günther Deschner
2f1dbddc3f s4-smbtorture: fix build warning.
Guenther
2008-10-23 02:18:09 +02:00
Jelmer Vernooij
12ad92165e masktest: Avoid creating new memory context, use dynamic allocation. 2008-10-22 16:56:06 +02:00
Jelmer Vernooij
02fac42690 Change some dynamic allocations back to static buffers to fix build. 2008-10-22 16:49:56 +02:00
Jelmer Vernooij
1d9ea911e3 Change buffer size back to 256, just to be sure. 2008-10-22 05:24:00 +02:00
Jelmer Vernooij
c0e14d5021 Repel pstring to nsswitch/. 2008-10-22 05:14:14 +02:00
Jelmer Vernooij
1d5beb7294 Remove pstring usage. 2008-10-22 04:30:54 +02:00
Jelmer Vernooij
6d9b24de78 Remove pstring usages. 2008-10-22 04:25:00 +02:00
Jelmer Vernooij
7a683618e7 Require separate option for quicktest include list rather than making
assumptions about it.
2008-10-22 04:09:17 +02:00
Jelmer Vernooij
ea4f764322 Remove unused global variables. 2008-10-21 16:33:25 +02:00
Jelmer Vernooij
fdf0d9bbb8 Fix double free. 2008-10-21 15:51:04 +02:00
Jelmer Vernooij
19aec78aec Fix the build. 2008-10-21 15:47:34 +02:00
Jelmer Vernooij
d4d4a9da83 Revert "Registry server LDB backend: Don't make copies of the same type"
The original data pointer may go away so we do want to make copies in
this case.

This reverts commit 625359b2e2.
2008-10-21 14:57:41 +02:00
Jelmer Vernooij
5209a846a9 Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
Conflicts:
	source4/lib/registry/ldb.c
	source4/rpc_server/winreg/rpc_winreg.c
2008-10-21 14:51:13 +02:00
Matthias Dieter Wallnöfer
625359b2e2 Registry server LDB backend: Don't make copies of the same type 2008-10-21 14:40:42 +02:00
Matthias Dieter Wallnöfer
fcc93f68a0 Registry server LDB backend REG_BINARY type: Save it directly in LDB
With this patch the REG_BINARY type is saved directly in a LDB registry database rather than converted in a hex-string.
2008-10-21 14:40:42 +02:00
Matthias Dieter Wallnöfer
80af62652b Registry RPC server: Reintroduce the "key" variable for better readability
The "key" variable points to our working key in the hive (h->data).
2008-10-21 14:40:42 +02:00
Matthias Dieter Wallnöfer
828b033345 Registry server LDB backend REG_SZ type: Always use UTF8 encoding
We should save data OS independent in the LDB files.
2008-10-21 14:40:42 +02:00
Matthias Dieter Wallnöfer
47868196b8 Registry server LDB backend REG_SZ type: Fix up the empty string problem
This fixes up the empty string problem in a better way without the need of changing the character conversion code.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
2a267e6da5 Revert "Fix for the empty string (REG_SZ) problem"
This reverts commit d994520885301f1dfd04363bab05c9238ce5ae05.
This shouldn't be fixed in the general character conversion library but directly in the registry library.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
f10227958b Registry server: Fixes up the patch with "type" != NULL (used in "EnumValue" and "QueryValue")
This prevents the server to segfault if the input data type is NULL.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
f9d7af8569 Revert "Registry server: Enhances commit "type" != NULL (when getting values)"
This reverts commit 32d00f5e2c5a67dac806ee07f030f3ac2ad108f9.
This patch hasn't been right. Repost it in the right way.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
254eb51c4c Registry server: Enhances commit "type" != NULL (when getting values) 2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
083785c091 Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" doesn't has to be NULL 2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
c26cb44e03 Revert "Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL"
This reverts commit 82f50ea69f3aece4ac654ffdfa627babd8aadc25.
Cause: Windows (2000) doesn't accept the "data" pointer set to NULL
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
b23c3c24c2 Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL
Prevent segfaults in some client applications (e.g. regdiff)
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
5f2ab665bd Registry server: Cosmetic corrections 2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
ac4808c11f Cleanups of server files
Cosmetic corrections
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
e23e997644 Registry server: More work to be compatible
Some fixup's and assure, that we send only initialized values.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
f58f74949d ldb_get_value_by_id: Fix the return of the default value
The return of the values of a certain key has been broken since I've introduced the default value.
Now the behaviour is correct: If no default value exists, start with index zero to fetch the other values. Otherwise let zero be the default value and enumerate the others starting with one.
2008-10-21 14:40:41 +02:00
Matthias Dieter Wallnöfer
036b650ee4 reg_ldb_unpack_value: Change "CH_UTF8" in "CH_UNIX"
It's better to use "CH_UNIX" for unpacking, because the system charset doesn't have to be UTF8 and we should be compatible with "reg_ldb_pack_value".
2008-10-21 14:40:40 +02:00
Matthias Dieter Wallnöfer
1938cb1e83 ldb_del_value: Free key data also when removing the default attribute 2008-10-21 14:40:40 +02:00
Matthias Dieter Wallnöfer
d7be73eea2 Fixes for the WINREG RPC server
This changes the WINREG RPC server through some corrections into the Windows-like behaviour.
Compared with Windows 2000 and tested through Windows 2000 Registry Editor.
2008-10-21 14:40:40 +02:00