summaryrefslogtreecommitdiff
path: root/source3/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2009-12-10s3-ldb: use GUID_to_ndr_blob()Andrew Tridgell1-2/+1
this also fixes an error in NTSTATUS handling
2009-12-02s3: Cope with older external libtdbVolker Lendecke1-0/+2
2009-11-29s3: Fix a "not handled in switch" warningVolker Lendecke1-0/+1
2009-10-11Fix builds with external tdbSimo Sorce1-6/+0
Make sure we do not reference our internal tdb directly. Let configure define what tdb.h file to use so that builds that use an extrenal tdb do not include 2 different versions of the tdb header.
2009-08-28s3-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)Michael Adam1-6/+9
This also removes build warnings of redefined macros since it uses the embracing "#ifndef _DLINKLIST_H ... #endif". Michael
2009-07-02LDB_ERR_INVALID_DN_SYNTAX doesn't exist ...Andrew Tridgell1-1/+1
The correct name is ldb.ERR_INVALID_DN_SYNTAX
2009-06-18Fix resource leak in lib/ldb/tools/ldbmodify.cSlava Semushin1-0/+1
Patch for bug #6389
2009-06-18Fix syntax error in lib/ldb/ldb_sqlite3/base160.cSlava Semushin1-1/+1
Patch for bug #6388
2009-06-12s3: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger2-1/+2
There are error paths in S3 where va_end() is not properly called after va_start() or va_copy() have been called. These issues were noted while performing an inspection for S4 bug #6129. Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
2009-05-16Update copies of config.guess and config.sub.Jelmer Vernooij2-76/+282
2009-04-23samba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB:Jelmer Vernooij2-17/+40
* ldb_dn_new() now takes an initial DN string * ldb_dn_string_compose() -> ldb_dn_new_fmt() * dummy ldb_dn_validate(), since LDB DNs in the current implementation are always valid if they could be created.
2009-04-23ldb/samba3: Support event context argument to ldb_init().Jelmer Vernooij8-9/+14
This argument is ignored (Samba3's LDB is synchronous) but having it there is useful for API compatibility with the LDB used by Samba 4 and available on some systems.
2009-01-23s3 ldb: Fix vasprintf segfault that has been the source of build machine ↵Tim Prouty1-5/+8
failures this week The bug was introduced when converting samba3's ldb_search interface to match samba4: 47951fc5d0085e124666b7667715bba98076820e f3ecb701335b1129947127d4c45eef970b66875c
2009-01-21Fix warning; base dn is no longer const.Jelmer Vernooij1-2/+2
2009-01-21Replace ldb_search() with ldb_search_exp_fmt(), like in Samba 4.Jelmer Vernooij9-86/+16
2009-01-21Reorder arguments to ldb_search() to match what is in Samba 4.Jelmer Vernooij10-53/+47
2009-01-01Fix bug 5913.Volker Lendecke1-1/+1
Never seen this to be a problem, but it doesn't hurt either :-)
2009-01-01Remove two pointless globalsVolker Lendecke2-13/+12
2008-10-14Fix merged build .Jelmer Vernooij1-32/+0
2008-09-25s3:lib/ldb: Don't return already freed pointer on error.Stefan Metzmacher1-0/+1
metze Signed-off-by: Karolin Seeger <kseeger@samba.org>
2008-09-16Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij1-1/+1
2008-09-14Update homepages for talloc, tdb and ldb subprojectsSimo Sorce1-14/+10
(cherry picked from commit 8cb07814bc6627fc8eba228eafd13336e3ca3758) (This used to be commit 7d85b8d076d6b5b1773c44cd527e016b5d319da5)
2008-08-27ldb: Fix permissions of new ldg files.Karolin Seeger1-1/+1
This one fixes together with 2eaf4ed62 bug #5715 and CVE-2008-3789. Thanks to Steve Langasek <vorlon@debian.org> for reporting! Karolin (cherry picked from commit b666d0a4b597218f5f5020bf36d80d84dcbf7259) (This used to be commit 73f54df7fedc8f0db022f902100fd5eb1b629fb2)
2008-07-14Fix typo.Karolin Seeger1-1/+1
retieve -> retrieve Karolin (This used to be commit 37c64130701ab13b6f34998ac17fec2d128c2e08)
2008-06-23init_shared_module -> init_samba_moduleVolker Lendecke1-2/+2
(This used to be commit 9b174871a87677f7dfbd897a80e526f203906bea)
2008-06-21Use "init_shared_module" instead of "init_module" for initializing .so'sVolker Lendecke1-2/+4
(This used to be commit 0c2fd687b25e32d446ef799927db6933bc61223d)
2008-06-13Fix a handle leak for error returns in ldb_try_load_dsoVolker Lendecke1-1/+7
Coverity ID 464 (cherry picked from commit 496d44d2f21661c85bf07e8eb7cae6298fefd900) (This used to be commit f30bc6503de6c712101e04fe26c004eeffcd300e)
2008-03-23Fix Coverity ID 472Volker Lendecke1-6/+4
Simo, S4 also has this code. You might want to cherry-pick. Volker (This used to be commit 94c29f55937e50dcf49124d28ad4e82c7fb4133e)
2008-03-21Fix Coverity ID 473Volker Lendecke1-1/+1
Simo, S4 also has this bug, you might want to merge the fix. (This used to be commit b82cf75c825298444781697072d83a163c43df4b)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-1/+1
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-11-26Fix bug 5055Volker Lendecke1-1/+1
(This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23800: LGPL is now called GNU Lesser General Public LicenseAndrew Tridgell4-8/+8
not GNU Library General Public License (This used to be commit 727a6cf2cba8da6b40610409b264e86e6908eb0c)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell4-12/+4
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell48-97/+48
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23794: convert more code from LGPLv2+ to LGPLv3+Andrew Tridgell4-20/+12
(This used to be commit f3df6cd87e1927f41e95af51d750a71278282e15)
2007-10-10r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell49-49/+49
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell5-10/+5
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison3-3/+3
Jeremy. (This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison5-5/+5
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23367: check the "use mmap" option for ldb tooAndrew Tridgell2-0/+10
(This used to be commit 15345bbc73b28d07c069fde33d3d4c1f21f107d3)
2007-10-10r23337: fix a crash bug...I wonder why only HP-UX 11.00 ans 11.11 noticedStefan Metzmacher1-25/+2
it via a SIGBUS... I missed to remove the samba3 specifc code path to tdb_open_ex() when I synced lib/tdb/ with samba4. The explicit cast in on tdb_open_ex() dropped the compiler warning :-( metze (This used to be commit 815d2101715d6646fc15ac9f2853cf727cf7fcd8)
2007-10-10r22229: discard_const_p is in lib/replace nowStefan Metzmacher1-4/+0
metze (This used to be commit 8dea4ebe98ec5bdb7fd55b54e9b14a52db817f4f)
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher2-2/+2
and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10r21312: merge from SAMBA_4_0:Stefan Metzmacher1-1/+1
fix memory hierachy, and access to already freed memory metze (This used to be commit 05a23dd75655a80667627e00e0a441b54ec92b22)
2007-10-10r20269: merge -r20264:20267 from SAMBA_3_0_24Herb Lewis5-0/+11
more no previous prototype warnings (This used to be commit 41be182f78762372ae13759ede5d2bd40a71d7f5)
2007-10-10r20054: Revert my changes, Simo promised to work on it :-)Volker Lendecke1-67/+42
(This used to be commit 4b5cf0c9cffe9903c86ac7e8b41c303fdbde5bac)
2007-10-10r20050: Remove a bogus NULL check, LTDB_OBJECTCLASS is a static stringVolker Lendecke1-3/+0
(This used to be commit f64866a43fbc21666e919cafdf3002a8e43c60af)
2007-10-10r20049: ReformattingVolker Lendecke1-39/+67
(This used to be commit 75555ae1c8039b7bbca796dd16609de08230265a)
2007-10-10r20046: Add ldb_search_exp_fmt and port comment to 4Volker Lendecke1-0/+10
(This used to be commit 1fe41c96f53b0d83e8779050e2149a5e70b5dad0)