summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-10-21Remove unused global variables.Jelmer Vernooij1-3/+0
2008-10-21Fix double free.Jelmer Vernooij1-1/+0
2008-10-21Fix the build.Jelmer Vernooij1-2/+2
2008-10-21Revert "Registry server LDB backend: Don't make copies of the same type"Jelmer Vernooij1-2/+2
The original data pointer may go away so we do want to make copies in this case. This reverts commit 625359b2e266105022309df8985720108ecd6f67.
2008-10-21Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrvJelmer Vernooij684-202129/+9132
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 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öfer1-2/+3
and "QueryValue") This prevents the server to segfault if the input data type is NULL.
2008-10-21Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" ↵Matthias Dieter Wallnöfer1-2/+2
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-21Cleanups of server filesMatthias Dieter Wallnöfer1-1/+5
Cosmetic corrections
2008-10-21Registry server: More work to be compatibleMatthias Dieter Wallnöfer1-14/+25
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-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-20Remove unused function str_list_match.Jelmer Vernooij1-13/+0
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij13-6/+38
remove some unused functions.
2008-10-20Provide two symbols to allow ndrdump compiled by Samba 3 to be used forJelmer Vernooij1-1/+1
Samba 4.
2008-10-20Regenerate pidl output.Jelmer Vernooij1-2/+2
2008-10-18Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij1-2/+1
3.
2008-10-18Use common detection function for zlib.Jelmer Vernooij1-26/+0
2008-10-17Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett8-131/+170
2008-10-16Transform the sequence_number operation into a normal extended operation as ↵Simo Sorce8-131/+170
it should always have been. Make it also async so that it is not a special case.
2008-10-16Assert that the server provides allowedAttributes (etc) on each entryAndrew Bartlett1-2/+6
This attribute is critical for the operation of nearly all the Microsoft Mangement Console tools Andrew Bartlett
2008-10-15s4: fix registry/rpc.c after winreg changes.Günther Deschner1-5/+5
jelmer, can you check if this is ok? Guenther
2008-10-15winreg.idl: Sync ref change from Samba 3.Jelmer Vernooij1-1/+1
2008-10-15Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij1-2/+2
2008-10-14Share ndr_compression.c.Jelmer Vernooij1-1/+0
2008-10-14Fix very old bug in ASQSimo Sorce1-2/+2
2008-10-14Remove unused structures.Jelmer Vernooij2-188/+4
2008-10-13Revert chunk applied by mistake as part of the cosmetic fixes fromi MathiasSimo Sorce1-1/+1
2008-10-13Cosmetic corrections for the DSDB moduleMatthias Dieter Wallnöfer1-1/+1
This commit applies some cosmetic corrections for the DSDB (Directory Server Database).
2008-10-12Fix number of arguments for file_load() functions.Jelmer Vernooij1-2/+2
2008-10-12Remove gencache in Samba 4 - it's unused and behind on the Samba 3Jelmer Vernooij2-469/+0
version.
2008-10-12Move zlib to top-level root.Jelmer Vernooij200-54050/+0
2008-10-12Remove unused json code.Jelmer Vernooij46-43802/+0
2008-10-12Use common util_file code.Jelmer Vernooij3-3/+3
2008-10-12Fix include paths for files that aren't compiled - breaks dependencyJelmer Vernooij2-2/+2
file generation.
2008-10-12Fix warning, prototype.Jelmer Vernooij1-1/+1
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij11-14/+14
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij55-11069/+0
Conflicts: source4/Makefile
2008-10-11Provide malloc_array() in Samba 4.Jelmer Vernooij1-0/+9
2008-10-11Provide the same set of helper functions for DEBUG in Samba 3 and SambaJelmer Vernooij4-15/+25
4, even though the macros are still different. This makes it possible to use object code compiled with one DEBUG() macro from the other sourceX directory.
2008-10-08Fix subunit files location after cherrypicks.Jelmer Vernooij1-0/+1