summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1749: added some random stuff that captures some discussions volker and IAndrew Tridgell1-0/+22
just had on emulating % macros from smb.conf in a possible ldb based config system (This used to be commit d547479290e30d4fd86ab718528e879a28f71447)
2007-10-10r1511: fixed a free() that should be ldb_free()Andrew Tridgell1-1/+1
this might explain the tdb corruption that metze found - it caused heap corruption that affected tdb (This used to be commit 31d55dfb443612a341ff6ade77c6e4477c4fefca)
2007-10-10r1374: Fix signed/unsigned warnings (actually found by g++) after unsigned intTim Potter10-46/+56
changes in r1018. (This used to be commit 45b4016530fc0bfa13146f73a503866b5dbed517)
2007-10-10r1268: varient -> variantTim Potter1-1/+1
(This used to be commit de5984c95602ca67e8ac3139c3aa4330b74266e0)
2007-10-10r1055: Standalone build fixes for ldb:Tim Potter2-4/+5
- Various Makefile fixes - #include <stdint.h> ldb still needs a proper build system though. (-: (This used to be commit 52e4fe8ce9142c4002263686c8043d94b37d7a9c)
2007-10-10r1052: Remove autogenerated file.Tim Potter1-165/+0
(This used to be commit 108efcc002c2eccfd1da30fff5c11aa67af09f9e)
2007-10-10r1018: fix a const and unsigned int problem in ldbAndrew Tridgell2-3/+3
(This used to be commit 3d52ca93731ad67c14ac42f627e3feb1a964b29a)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher2-5/+5
metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-0/+22
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10r811: make the ldb_modify REPLACE semantics better match LDAP (ie. no errorAndrew Tridgell1-7/+6
on the attribute not existing and allow an empty replace) (This used to be commit 1418b667d9041430786089713eafee63dd7b4a28)
2007-10-10r792: - changed the ldb ldif_* functions to be in the ldb_ namespaceAndrew Tridgell12-39/+80
- 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-10r791: added ldb man page build to ldb makefileAndrew Tridgell1-2/+5
(This used to be commit ec38392888d20991abe18dd3e6ca226a62c7d4ae)
2007-10-10r790: started working on some documentation (manual pages) for ldbAndrew Tridgell3-0/+309
(This used to be commit dcb9d1a897f7186824e997064902f3d50bad1887)
2007-10-10r728: - let libldb_tdb depend on new subsystem LIBTDBStefan Metzmacher1-0/+2
- remove tdb logging helper functions out of LIBTDB subsystem - build libtdb shared lib with 'make library_libtdb' the libs are not usable for now, tridge: please remove the dependecy of CatchSignal() and smb_panic() from libtdb maybe use function pointers in the TDB_CONTEXT then run make library_libtdb and then make build/tests/trivial.o and then gcc -o trivial -L./bin -ltdb and then gcc -o trivial -L./bin -lldb metze (This used to be commit 520b9762161d9b5d5223b42910494af80fd5c1e3)
2007-10-10r714: make sure ldb formats are portable between big/little endian machinesAndrew Tridgell2-16/+24
(This used to be commit 166a664a00d2befe30978072e6f3f266b18ba9f4)
2007-10-10r711: don't hide attributes inside the special ldb_tdb records (so the factAndrew Tridgell1-1/+1
that a attribute is hidden is not itself hidden!) (This used to be commit b42d1f39842ac25fee2238040ac01321f71a79c5)
2007-10-10r697: make use of SMB_EXT_LIB for LDAP and KRB5Stefan Metzmacher1-1/+4
metze (This used to be commit b054f7d4906d1d2b96b352af09c6bdcf96553c2a)
2007-10-10r690: - ignore source/tagsStefan Metzmacher2-0/+17
- add support for shared libraries - enable libldb shared lib when --enable-experimental metze (This used to be commit dcef69dc54a2575e7f57d67d1983482b4ff57bdb)
2007-10-10r665: merge over the new build system from my tmp branchStefan Metzmacher2-42/+104
to the main SAMBA_4_0 tree. NOTE: that it's not completely ready, but it's functional:-) metze (This used to be commit c78a2ddb28ec50d6570a83b1f66f18a5c3621731)
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-10r606: added a HIDDEN attribute on fields in ldb (in @ATTRIBUTES). This ↵Andrew Tridgell3-0/+6
allows you to mark an attribute as only appearing in searches that explicitly name it. It will be used for attributes like nTSecurityDescriptor (This used to be commit f5cd3d733b71368ea652f8a4d653d87f45ff983f)
2007-10-10r601: added the server code for all the samr_SetUserInfo and ↵Andrew Tridgell1-14/+22
samr_QueryUserInfo levels except for the password set levels. This means that a large part of the RPC-SAMR torture test now runs correctly against Samba4 (This used to be commit ec0a51898f543578e755207d81ed5c1524861c64)
2007-10-10r583: fixed two bugs in the handling of index entry deletionAndrew Tridgell2-8/+13
(This used to be commit 7b5f3370e6c078bf506ac3eb24fb330d4aee7688)
2007-10-10r574: - another attempt at const cleanliness in ldbAndrew Tridgell13-37/+111
- 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 Tridgell13-10/+154
be cleanly interfaced to ldb (This used to be commit 74b89d5f960d6b936751e3f057b4540eb80b79cd)
2007-10-10r509: fixed a memory handling bug that affects ldb with memory pools thatAndrew Tridgell1-1/+6
change with each request (This used to be commit 18695cefa16b867427e3ca2fb0d787d850ea25c3)
2007-10-10r504: fixed a bad call to list_union()Andrew Tridgell1-2/+3
(This used to be commit 4404056cd5fd65d72a38ea474fe330281b3ee19e)
2007-10-10r502: modified ldb to allow the use of an external pool memoryAndrew Tridgell25-492/+693
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 Tridgell13-41/+222
- 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-10r463: build ldb with debugging when standaloneAndrew Tridgell1-1/+1
(This used to be commit 77269e7ad6f569585d5fad37ee63169c4eee3f01)
2007-10-10r462: added an explanation about the rather complex ltdb_key() functionAndrew Tridgell1-0/+9
(This used to be commit 894e44022d16d9ff43f421fb15495845710000ab)
2007-10-10r456: - added -i option to ldbsearchAndrew Tridgell7-49/+75
- fixed sorting bug in ldb index handing (This used to be commit cdd48e2b9b3ca6be5503eec401e09db162408ac8)
2007-10-10r454: allow a non-URL form of a filename to be used in ldb_connect(). ThisAndrew Tridgell2-6/+10
makes it a little easier to work with the ldb tools (This used to be commit 03df31cef025b2087531579437d6bae1ec36e82f)
2007-10-10r453: added a comment about indexing on objectclassAndrew Tridgell1-1/+4
(its usually a bad idea) (This used to be commit f88760c3cc81324d3d339702b411603139af6224)
2007-10-10r444: - added the beginnings of a ldb test suite and benchmarkAndrew Tridgell8-11/+266
- 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 Tridgell3-4/+3
(This used to be commit ff31cfb941b77e99e648011a6b7639b2a5923a6a)
2007-10-10r437: fixed handling of a corner case with multi-valued indexingAndrew Tridgell2-0/+14
(This used to be commit b38612185657512419c4b3dc806cf1183e0db0cb)
2007-10-10r436: fixed indexing of objectclass with subclassesAndrew Tridgell1-1/+64
(This used to be commit 4d92e6f79f52ec0d580dfda2a91b4afc95838ff4)
2007-10-10r435: a major upgrade for ldbAndrew Tridgell18-142/+904
- 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-10r387: more C++ friendly changesAndrew Tridgell3-31/+31
(This used to be commit ac0c525a8b8a05cc275fb9f4c1dcfd749604c85f)
2007-10-10r382: More C++ friendliness fixes.Tim Potter5-13/+13
(This used to be commit e96f3a2005cf6f4da2ecd4670a35eab1b4f250d0)
2007-10-10r381: make the code more C++ friendlyAndrew Tridgell6-21/+21
(This used to be commit 8acecc7f27e25ab876fffffe43ae75b5f77aff77)
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-10r373: use a much larger default tdb hash size in ldbAndrew Tridgell1-1/+2
(This used to be commit 54f47c45b8f828ad5ddaa630d0c1e673f2c74b7a)
2007-10-10r344: fixed deletion of index recordsAndrew Tridgell1-1/+1
(This used to be commit 246f17cd4a7851042739574f1e07b113c44275c7)
2007-10-10r343: added automatic reindexing of the database when the index list changesAndrew Tridgell2-0/+78
(This used to be commit a811640ce408373a5c2c0ee2c125bd735d96d5e1)
2007-10-10r194: fixed compile with ldapAndrew Tridgell1-2/+2
(This used to be commit 3b4b528dc65bcb3b0de674e1d90c767244c94402)
2007-10-10r163: - enable ldap in the sample makefile, and use /usr prefixAndrew Tridgell2-14/+26
- 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-10r158: cope with or without LDAP in samba build of ldbAndrew Tridgell2-3/+7
(This used to be commit e776ce4f9e6fead235b3cec86d85eb95704f10ef)