summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r792: - changed the ldb ldif_* functions to be in the ldb_ namespaceAndrew Tridgell5-8/+9
- added better error reporting in ldbdel - fixed a bug in handling packing of records which contain elements with no values (it caused db corruption) - allow search with "dn" as target attribute (This used to be commit 36575396234e3d35dbd442c8f1ff54a17ae64e64)
2007-10-10r609: allow ldbedit to take a list of attributes to edit, just likeAndrew Tridgell1-2/+9
ldbsearch. This allows you to edit the description of all users using something like: ldbedit 'objectclass=user' description and not get overwhelmed with fields. It also allows you to edit HIDDEN attributes by specifying them explicitly (This used to be commit dd83d39de23cdf8c574005829972dae8dc6bee6a)
2007-10-10r574: - another attempt at const cleanliness in ldbAndrew Tridgell4-15/+28
- fixed a problem with searching for values containing an '=' sign - fixed the semantics of attempting an attribute deletion on an attribute that doesn't exist. - added some more ldb_msg_*() utilities (This used to be commit 62b4ec367d170330d837b0f1fe5cd13205a53b59)
2007-10-10r513: added a generic ldb debug system to allow the Samba debug functions toAndrew Tridgell6-0/+12
be cleanly interfaced to ldb (This used to be commit 74b89d5f960d6b936751e3f057b4540eb80b79cd)
2007-10-10r502: modified ldb to allow the use of an external pool memoryAndrew Tridgell5-25/+30
allocator. The way to use this is to call ldb_set_alloc() with a function pointer to whatever memory allocator you like. It includes a context pointer to allow for pool based allocators. (This used to be commit 3955c482e6c2c9e975a4bb809ec8cb6068e48e34)
2007-10-10r490: - expanded the test suite to test modify and delete operationsAndrew Tridgell2-10/+92
- made yet another attempt to make ldb const clean. - "make test" now runs both the tdb and ldap backend tests, and run the ldbtest utility with and without indexing - added prototypes in ldb.h for ldb_msg_*() public functions (This used to be commit 01e87406768cb5a98ac8530a2f361a4987a36cd3)
2007-10-10r456: - added -i option to ldbsearchAndrew Tridgell1-33/+51
- fixed sorting bug in ldb index handing (This used to be commit cdd48e2b9b3ca6be5503eec401e09db162408ac8)
2007-10-10r444: - added the beginnings of a ldb test suite and benchmarkAndrew Tridgell1-0/+247
- updated the test slapd config to use bdb and indexing (This used to be commit 7ad0858c060ee212a33434dc4be75e7a0cd1a0e3)
2007-10-10r442: fixed some uninitialised variables pointed out by gcc -O3Andrew Tridgell1-1/+1
(This used to be commit ff31cfb941b77e99e648011a6b7639b2a5923a6a)
2007-10-10r435: a major upgrade for ldbAndrew Tridgell1-1/+1
- added the ability to mark record attributes as being CASE_INSENSITIVE, WILDCARD or INTEGER. - added the ability to support objectclass subclasses, and to search by a parent class - added internal support for case insensitive versus case sensitive indexing (not UTF8 compliant yet) - cleaned up a number of const warnings - added a number of helper functions for fetching integers, strings and doubles - added a in-memory cache for important database properties, supported by a database sequence number - changed some variable names to avoid conflicts with C++ (This used to be commit f2bf06f25c2e6c744817711c7bedbd1d3b52f994)
2007-10-10r380: make sure that ldbedit -a works with all tdb and LDAP backendsAndrew Tridgell1-1/+1
(This used to be commit b5cb5a1e62a4b9df6f163082498942553662436e)
2007-10-10r163: - enable ldap in the sample makefile, and use /usr prefixAndrew Tridgell1-12/+24
- show number of adds/deletes/modifies after an edit - nicer error messages from ldbedit (This used to be commit 077951f6bcb1d0eba2de76d0df4c186b7fa19a14)
2007-10-10r159: nicer usage messages when no URL is givenAndrew Tridgell5-11/+11
(This used to be commit 8655f0b435e06af21d5d9fa210441fbf318673f0)
2007-10-10r152: a quick airport commit ....Andrew Tridgell5-51/+586
added ldbedit, a _really_ useful command added ldbadd, ldbdel, ldbsearch and ldbmodify to build solved lots of timezone issues, we now pass the torture tests with client and server in different zones fixed several build issues I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that fix. (This used to be commit af34710d4da1841653624fe304b1c8d812c0fdd9)
2004-04-03added the rest of the ldb_modify() code, which required a fairly largeAndrew Tridgell3-8/+105
change in the ldb API. The API is now much closer to LDAP. (This used to be commit e9e85c464411c561c5073d262a2e3533fec175ca)
2004-03-31make a more recent snapshot of ldb available to interestedAndrew Tridgell3-0/+265
people. Note that I decided to make it LGPL. ldb is not finished yet, but enough of it is there for people to get an idea of what it does, and quite a few simple tests work (This used to be commit dc6f41f9e777d37f883303ddef0d96840d80f78e)