summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2008-10-21Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrvJelmer Vernooij1331-257888/+22517
Conflicts: source4/lib/registry/ldb.c source4/rpc_server/winreg/rpc_winreg.c
2008-10-21Registry server LDB backend: Don't make copies of the same typeMatthias Dieter Wallnöfer1-2/+2
2008-10-21Registry server LDB backend REG_BINARY type: Save it directly in LDBMatthias Dieter Wallnöfer1-3/+5
With this patch the REG_BINARY type is saved directly in a LDB registry database rather than converted in a hex-string.
2008-10-21Registry RPC server: Reintroduce the "key" variable for better readabilityMatthias Dieter Wallnöfer1-22/+34
The "key" variable points to our working key in the hive (h->data).
2008-10-21Registry server LDB backend REG_SZ type: Always use UTF8 encodingMatthias Dieter Wallnöfer1-2/+2
We should save data OS independent in the LDB files.
2008-10-21Registry server LDB backend REG_SZ type: Fix up the empty string problemMatthias Dieter Wallnöfer1-5/+15
This fixes up the empty string problem in a better way without the need of changing the character conversion code.
2008-10-21Revert "Fix for the empty string (REG_SZ) problem"Matthias Dieter Wallnöfer1-8/+0
This reverts commit d994520885301f1dfd04363bab05c9238ce5ae05. This shouldn't be fixed in the general character conversion library but directly in the registry library.
2008-10-21Registry server: Fixes up the patch with "type" != NULL (used in "EnumValue" ↵Matthias Dieter Wallnöfer2-5/+9
and "QueryValue") This prevents the server to segfault if the input data type is NULL.
2008-10-21Revert "Registry server: Enhances commit "type" != NULL (when getting values)"Matthias Dieter Wallnöfer1-2/+13
This reverts commit 32d00f5e2c5a67dac806ee07f030f3ac2ad108f9. This patch hasn't been right. Repost it in the right way.
2008-10-21Registry server: Enhances commit "type" != NULL (when getting values)Matthias Dieter Wallnöfer1-13/+2
2008-10-21Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" ↵Matthias Dieter Wallnöfer2-17/+11
doesn't has to be NULL
2008-10-21Revert "Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL"Matthias Dieter Wallnöfer1-27/+23
This reverts commit 82f50ea69f3aece4ac654ffdfa627babd8aadc25. Cause: Windows (2000) doesn't accept the "data" pointer set to NULL
2008-10-21Registry server "reg_ldb_unpack_value": Let "data" pointer be NULLMatthias Dieter Wallnöfer1-23/+27
Prevent segfaults in some client applications (e.g. regdiff)
2008-10-21Registry server: Cosmetic correctionsMatthias Dieter Wallnöfer1-23/+11
2008-10-21Cleanups of server filesMatthias Dieter Wallnöfer2-16/+21
Cosmetic corrections
2008-10-21Registry server: More work to be compatibleMatthias Dieter Wallnöfer2-30/+63
Some fixup's and assure, that we send only initialized values.
2008-10-21ldb_get_value_by_id: Fix the return of the default valueMatthias Dieter Wallnöfer1-14/+15
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-21reg_ldb_unpack_value: Change "CH_UTF8" in "CH_UNIX"Matthias Dieter Wallnöfer1-1/+1
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-21ldb_del_value: Free key data also when removing the default attributeMatthias Dieter Wallnöfer1-4/+4
2008-10-21Fixes for the WINREG RPC serverMatthias Dieter Wallnöfer1-28/+41
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-21Fix for allowing the REG_BINARY type and introducing the default attributeMatthias Dieter Wallnöfer1-45/+128
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-21Fix for the empty string (REG_SZ) problemMatthias Dieter Wallnöfer1-0/+8
I enhanced the "utf8_push" function, who finally accepts now also the char sequence "" with length 1 as valid UTF8 string.
2008-10-21Prevent warning about directory already existing.Jelmer Vernooij1-1/+1
2008-10-21Fix rpcecho test.Jelmer Vernooij1-2/+1
2008-10-20idl: merge from s4 lsa.idl to s3.Günther Deschner1-13/+12
Guenther
2008-10-20Sync syntax of srvsvc.idl with samba3.Jelmer Vernooij1-5/+5
2008-10-20Move orpc to top-level directory.Jelmer Vernooij2-174/+1
2008-10-20Remove unused function str_list_match.Jelmer Vernooij1-13/+0
2008-10-20Move WMI support code to top-level.Jelmer Vernooij3-66/+1
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij65-70/+102
remove some unused functions.
2008-10-20Import comments about opcodes from Samba 3.Jelmer Vernooij1-20/+20
2008-10-20Provide two symbols to allow ndrdump compiled by Samba 3 to be used forJelmer Vernooij1-1/+1
Samba 4.
2008-10-20Fix merged build; use full libroken rather than just a couple of object files.Jelmer Vernooij1-9/+2
2008-10-20Use tables in Samba 3 ndrdump.Jelmer Vernooij3-227/+2
2008-10-20Fix names in winreg torture tests.Jelmer Vernooij2-3/+3
2008-10-20Also move wireshark conformance file.Jelmer Vernooij1-52/+0
2008-10-20Merge branch 'master' of ssh://git.samba.org/data/git/samba into cryptJelmer Vernooij13-251/+1004
2008-10-20Regenerate pidl output.Jelmer Vernooij1-2/+2
2008-10-20Share winreg.idl.Jelmer Vernooij1-401/+0
2008-10-20idl: finally share krb5_pac.idl.Günther Deschner1-130/+0
Guenther
2008-10-20Rework mkrelease.sh to exclude Samba3 filesAndrew Bartlett1-3/+13
This matches my proposal to samba-technical, and should allow a Samba4 release to be made shortly. Andrew Bartlett
2008-10-20Make the updated RPC-LSA pass against Win2008, and Samba4 to matchAndrew Bartlett2-1/+3
2008-10-20LSA Patch for User ManagerMatthias Dieter Wallnöfer3-107/+195
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-20Mark clearTextPassword as a privilaged attributeAndrew Bartlett1-0/+1
2008-10-20Ensure the hdb_method structure is not on the stack.Andrew Bartlett1-5/+5
We supply this to krb5 as a plugin, so we must keep it around as long as the krb5_context. Andrew Bartlett
2008-10-20Add samba4kpasswd and rkpty binariesAndrew Bartlett6-7/+789
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-20Export variables correctly for blackbox tests (thanks metze).Jelmer Vernooij1-0/+2
2008-10-20Fix blackbox tests on IPv6-only hosts.Jelmer Vernooij2-6/+17
2008-10-19Move Samba4-specific code out of selftest.Jelmer Vernooij1-0/+23
2008-10-19Fix comment after paths have changed.Jelmer Vernooij1-2/+2