summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-10-30Revert "Length comparison of the linearized version is not correct."Simo Sorce1-0/+3
This reverts commit 753af36a3e194f645ec0b68a033199035e71c909.
2008-10-29Length comparison of the linearized version is not correct.Simo Sorce1-3/+0
The linearized version is not casefolded so length might not match and yet the strings be equivalent. This can happen if one component is case-insensitive and a letter that have an uppercase version of a multibyte character that differ in legth from the corresponding lowercase one.
2008-10-24Remove unused include param/param.h.Jelmer Vernooij12-13/+1
2008-10-24Regenerate SWIG files.Jelmer Vernooij2-7/+6
2008-10-24Remove more usages of global_loadparm.Jelmer Vernooij6-25/+48
2008-10-24Remove more uses of global_loadparm.Jelmer Vernooij2-10/+6
2008-10-24Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij4-9/+9
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24Remove a few more usages of global_loadparm.Jelmer Vernooij1-2/+2
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-2/+3
2008-10-24Move charset library to top level.Jelmer Vernooij9-3113/+1
2008-10-23Make lp_tls_* return absolute paths.Jelmer Vernooij1-5/+5
2008-10-23Move subunit ui ops out of smbtorture to the torture library.Jelmer Vernooij4-4/+133
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij1-1/+1
2008-10-23Rename same_net to same_net_v4 for consistency with Samba 3.Jelmer Vernooij1-3/+3
2008-10-23Remove support for obsolete data type "ipv4address"Jelmer Vernooij1-34/+0
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