summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-12-16repack the ldb after re-indexingAndrew Tridgell1-0/+4
re-indexing in ldb is triggered on any modification to the @ATTRIBUTES or @INDEXLIST records. This happens to produce a worst-case fragmentation of the database, as all @INDEX records are deleted then re-created. By repacking after re-indexing we ensure that the database ends up without extreme fragmentation.
2008-12-16use transactions in ldbadd, ldbmodify and ldbeditAndrew Tridgell3-0/+30
The command line tools ldbadd, ldbmodify and ldbedit should operate within a transaction to make them more efficient. The ldbadd tool in particular is much faster when adding a large number of records if all the adds happen within a transaction. Previously there was a transaction per record.
2008-12-03Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell13-1186/+14
2008-11-17Remove timeout event once we are calling the callback.Andrew Bartlett2-4/+6
(Even if the callback takes some time, this isn't a ldb_tdb timeout any more) Andrew Bartlett
2008-11-17Print unconvertable ldb element values as base64.Andrew Bartlett1-2/+4
If an LDB element cannot be converted into a printable form, we should still print it, just with safety applied. Andrew Bartlett
2008-11-17Always validate a DN when constructing from a string in pythonAndrew Bartlett1-1/+1
2008-11-16s4:librpc/ndr: integrate NDR_MISC into LIBNDRStefan Metzmacher2-2/+2
metze
2008-11-16s4:torture: fix the build with auto dependenciesStefan Metzmacher1-1/+1
metze
2008-11-16Move libtorture to top-level.Jelmer Vernooij5-1174/+0
2008-11-11Regenerate SWIG output.Jelmer Vernooij1-1/+0
2008-11-11It is not valid to talloc_free() ldb_dn_get_linearized()Andrew Bartlett1-1/+0
2008-11-06fixed options argument to ldb connect in pythonAndrew Tridgell2-10/+18
The options argument to ldb connect() needs to be marked for the same special handling as attrs in search
2008-11-06don't give errors when an empty modules list is given to ldbAndrew Tridgell2-5/+9
2008-11-04Use ldb_dn_from_ldb_val to avoid possible over-run of the value.Andrew Bartlett4-8/+8
The ldb_val is length-limited, and while normally NULL terminated, this avoids the chance that this particular value might not be, as well as avoiding a cast. Andrew Bartlett
2008-11-02Remove global_loadparm.Jelmer Vernooij2-6/+2
2008-11-02Use environment variable rather than loadparm parameter when testingJelmer Vernooij1-1/+1
nonblocking sockets.
2008-11-02Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij2-3/+4
2008-11-02Remove use of global loadparm in python modules.Jelmer Vernooij1-2/+7
2008-11-02Move check of SMB_CONF_PATH to loadparm code.Jelmer Vernooij1-5/+1
2008-11-02Fix the build.Jelmer Vernooij1-3/+1
2008-11-02Use a separate global for nonblocking socket testing rather than ↵Jelmer Vernooij2-1/+5
global_loadparm.
2008-11-01Split out torture results from torture context.Jelmer Vernooij3-36/+53
2008-10-31Add comments in torture code, allow creating subcontexts.Jelmer Vernooij2-4/+46
2008-10-30Fix installation of Samba 4 during merged build.Jelmer Vernooij1-1/+1
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.