Jelmer Vernooij
0f043c197c
Move pytalloc to talloc directory.
2008-10-24 02:52:51 +02:00
Jelmer Vernooij
7ec58471df
Split up codepoints code, use consistent _m suffix.
2008-10-24 02:51:03 +02:00
Jelmer Vernooij
5e4767b532
Rename string_replace_w to string_replace_m, which is more correct.
2008-10-24 01:19:33 +02:00
Jelmer Vernooij
09a63accb8
Move charset library to top level.
2008-10-24 00:06:35 +02:00
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
Matthias Dieter Wallnöfer
ad778c00e7
Fix for allowing the REG_BINARY type and introducing the default attribute
...
The REG_BINARY type is converted and stored in the LDB database as a leaf object with string-data.
The default attribute is saved directly in the hive object as the "data"-string.
2008-10-21 14:40:40 +02:00
Matthias Dieter Wallnöfer
16ab396d52
Fix for the empty string (REG_SZ) problem
...
I enhanced the "utf8_push" function, who finally accepts now also the char sequence "" with length 1 as valid UTF8 string.
2008-10-21 14:40:40 +02:00
Jelmer Vernooij
2ee8d29d22
Prevent warning about directory already existing.
2008-10-21 14:29:38 +02:00
Jelmer Vernooij
6069407ed1
Fix rpcecho test.
2008-10-21 14:23:42 +02:00
Günther Deschner
bb36f3a342
idl: merge from s4 lsa.idl to s3.
...
Guenther
2008-10-20 22:09:07 +02:00
Jelmer Vernooij
6d2d09348f
Sync syntax of srvsvc.idl with samba3.
2008-10-20 19:50:49 +02:00
Jelmer Vernooij
41b02b7ac0
Move orpc to top-level directory.
2008-10-20 19:20:12 +02:00
Jelmer Vernooij
4b65445582
Remove unused function str_list_match.
2008-10-20 19:14:55 +02:00
Jelmer Vernooij
dc3828f06c
Move WMI support code to top-level.
2008-10-20 19:14:47 +02:00
Jelmer Vernooij
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
66b1c8b61a
Import comments about opcodes from Samba 3.
2008-10-20 17:16:04 +02:00
Jelmer Vernooij
93e52145a8
Provide two symbols to allow ndrdump compiled by Samba 3 to be used for
...
Samba 4.
2008-10-20 13:24:16 +02:00
Jelmer Vernooij
6b82b2ff13
Fix merged build; use full libroken rather than just a couple of object files.
2008-10-20 13:21:43 +02:00
Jelmer Vernooij
e0905c3090
Use tables in Samba 3 ndrdump.
2008-10-20 13:19:39 +02:00
Jelmer Vernooij
29838debb3
Fix names in winreg torture tests.
2008-10-20 12:28:13 +02:00
Jelmer Vernooij
db90d9ad16
Also move wireshark conformance file.
2008-10-20 12:20:53 +02:00
Jelmer Vernooij
d78f3be238
Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt
2008-10-20 12:19:57 +02:00
Jelmer Vernooij
a8707a43d0
Regenerate pidl output.
2008-10-20 12:19:01 +02:00
Jelmer Vernooij
5b52964b15
Share winreg.idl.
2008-10-20 11:53:20 +02:00
Günther Deschner
fc8fadf1e9
idl: finally share krb5_pac.idl.
...
Guenther
2008-10-20 11:11:22 +02:00
Andrew Bartlett
a55afef6d3
Rework mkrelease.sh to exclude Samba3 files
...
This matches my proposal to samba-technical, and should allow a Samba4
release to be made shortly.
Andrew Bartlett
2008-10-20 20:07:09 +11:00
Andrew Bartlett
85acd7eccc
Make the updated RPC-LSA pass against Win2008, and Samba4 to match
2008-10-20 20:07:09 +11:00
Matthias Dieter Wallnöfer
b789ff950f
LSA Patch for User Manager
...
New (major) patch
=================
- Enhances the "lsa.idl" file in the sense that it adds more values to
"PolicyInformation" to improve the "lsa_QueryInfoPolicy*" calls.
- Adds a minimal implementation for "AuditEvents" (also lsa_QueryInfoPolicy*
calls) to enable the "Audit" option in the "User Manager for Domains" (at least
readable).
- Adds to the "lsa.idl" file the system access mode flags needed for the calls
"lsa_*SystemAccessAccount".
- Fill in the "lsa_GetSystemAccessAccount" for enabling the "User Rights"
option in the "User Manager for Domains" (at least readable).
- Merge the two similar torture tests of the "lsa_QueryInfoPolicy*" calls in
one using "if"'s for a few separations.
- Add a torture test for "lsa_GetSystemAccessAccount".
- Some cosmetic-only changes (unifications) in output strings in the "LSA"
torture test.
The work has been done using the Microsoft WSPP docs.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-10-20 20:07:09 +11:00
Andrew Bartlett
3038bc484e
Mark clearTextPassword as a privilaged attribute
2008-10-20 20:07:09 +11:00
Andrew Bartlett
c41cc67722
Ensure the hdb_method structure is not on the stack.
...
We supply this to krb5 as a plugin, so we must keep it around as long
as the krb5_context.
Andrew Bartlett
2008-10-20 20:07:09 +11:00
Andrew Bartlett
71022daac2
Add samba4kpasswd and rkpty binaries
...
smaba4kpasswd will be used to test the kpasswdd componet of the KDC
(which is up until now untested), and rkpty is an expect-like wrapper
we can use to blackbox that utility.
Andrew Bartlett
2008-10-20 20:07:08 +11:00
Jelmer Vernooij
c3d8f472e8
Export variables correctly for blackbox tests (thanks metze).
2008-10-20 10:53:26 +02:00
Jelmer Vernooij
e549759efe
Fix blackbox tests on IPv6-only hosts.
2008-10-20 10:18:02 +02:00
Jelmer Vernooij
c0de338394
Move Samba4-specific code out of selftest.
2008-10-19 16:07:00 +02:00
Jelmer Vernooij
7e088ec354
Fix comment after paths have changed.
2008-10-19 14:41:10 +02:00
Jelmer Vernooij
2c8cf0b394
Merge branch 'master' of ssh://git.samba.org/data/git/samba into strhex
2008-10-19 10:45:25 +02:00
Jelmer Vernooij
c484b0465c
Move SMB-specific attribute function to SMB client library.
2008-10-19 10:45:02 +02:00
Jelmer Vernooij
694a579cb8
Merge branch 'selftest' of git://git.samba.org/jelmer/samba
2008-10-19 10:20:37 +02:00
Günther Deschner
f34b6bfe34
idl: share drsblobs idl.
...
Guenther
2008-10-18 23:54:49 +02:00
Günther Deschner
80af41b5ea
drsuapi: build new merged drsuapi idl and helpers.
...
Guenther
2008-10-18 23:25:58 +02:00
Günther Deschner
d413e1f40a
drsuapi: share drsuapi idl and helper code.
...
Guenther
2008-10-18 23:25:48 +02:00
Günther Deschner
dd49f7483b
s4-drsuapi: merge drsuapi_DsGetNCChanges from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:39 +02:00
Günther Deschner
6ddaf5f160
s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:31 +02:00
Günther Deschner
ca84c406d3
s4-drsuapi: merge drsuapi_DsGetDomainControllerInfo from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:24 +02:00
Günther Deschner
32a1d55797
s4-drsuapi: merge drsuapi_DsWriteAccountSpn from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:17 +02:00
Günther Deschner
b684efacf5
s4-drsuapi: merge drsuapi_DsRemoveDSServer from s3 drsuapi idl.
...
Guenther
2008-10-18 23:06:07 +02:00
Günther Deschner
bc1d39483c
s4-drsuapi: merge drsuapi_DsAddEntry from s3 drsuapi idl.
...
Guenther
2008-10-18 23:05:59 +02:00
Jelmer Vernooij
6a89b59ca6
Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with Samba
...
3.
2008-10-18 18:09:04 +02:00
Jelmer Vernooij
2d89b52be8
Use separate make variables for libutil and libcrypto.
2008-10-18 14:28:40 +02:00
Jelmer Vernooij
9d9f5b44ed
Use common detection function for zlib.
2008-10-18 14:14:44 +02:00
Günther Deschner
7b23d61a68
s4-smbtorture: fix test_DsReplicaGetInfo.
...
Guenther
2008-10-17 23:06:42 +02:00