summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/nssldb
AgeCommit message (Collapse)AuthorFilesLines
2010-03-02LDB:NSS - make LDB "signed-safe" on counter variablesMatthias Dieter Wallnöfer1-2/+2
"i" needs to be unsigned on both places since it counts till a "count" variable of a "struct ldb_result" object which itself is unsigned. I see counting variables much better as "unsigned" since in most cases we don't use negative values at all. We've only to be careful on binary searches and downto counts regarding them.
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce2-14/+21
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-1/+1
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-02-20Fix static module list generation for ldb.Jelmer Vernooij1-5/+0
(This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
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 01e3fe7533b5670236c026ec3c6cc1e25655fbc3)
2007-10-10r23794: convert more code from LGPLv2+ to LGPLv3+Andrew Tridgell4-20/+12
(This used to be commit 9d37f1ec070ddcfd49dfe351e76cc08fa0d9b41c)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce2-3/+3
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19720: - don't pass a pointer reference to ldb_search_default_callback()Stefan Metzmacher1-3/+4
as it's ugly when it free's the callers memory on failure! - only steal the controls on a LDB_REPLY_EXTENDED, LDB_REPLY_DONE and ignore them on LDB_REPLY_ENTRY, LDB_REPLY_REFERRAL as we currently have not way to return them in a ldb_result (we should fix this!) metze (This used to be commit 47da62b15abf48f97ce6fc8dc4627792728349ae)
2007-10-10r19458: Some info on the "schema"Simo Sorce1-0/+34
(This used to be commit 724d8fb153cfe6f941ba2b8893e5221b24da9431)
2007-10-10r19457: committed by mistake, this binary is available from here anyway:Simo Sorce1-433/+0
http://www.samba.org/ftp/unpacked/junkcode/nsstest.c (This used to be commit 48e38abe7170a4ec9996079fd5c4672312cc96a0)
2007-10-10r19456: Add an example application for ldb using the tdb backendSimo Sorce5-0/+1588
(This used to be commit 778198f279b374222c737e5eda1c47efc2dce39c)