summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb
Commit message (Collapse)AuthorAgeFilesLines
* r2055: Add PRINTF_ATTRIBUTE to many more parts of the code, and a newAndrew Bartlett2007-10-103-1/+5
| | | | | | | --enable-developer warning for when they are missing. Andrew Bartlett (This used to be commit 8115e44d47bcd65edba08d10117180ae508cdbc1)
* r1901: add missing include of <fnmatch.h>Stefan Metzmacher2007-10-101-0/+1
| | | | | metze (This used to be commit 5e5681e2830bfd487d7e783249fe069b41be1f37)
* r1749: added some random stuff that captures some discussions volker and IAndrew Tridgell2007-10-101-0/+22
| | | | | | just had on emulating % macros from smb.conf in a possible ldb based config system (This used to be commit d547479290e30d4fd86ab718528e879a28f71447)
* r1511: fixed a free() that should be ldb_free()Andrew Tridgell2007-10-101-1/+1
| | | | | this might explain the tdb corruption that metze found - it caused heap corruption that affected tdb (This used to be commit 31d55dfb443612a341ff6ade77c6e4477c4fefca)
* r1374: Fix signed/unsigned warnings (actually found by g++) after unsigned intTim Potter2007-10-1010-46/+56
| | | | | changes in r1018. (This used to be commit 45b4016530fc0bfa13146f73a503866b5dbed517)
* r1268: varient -> variantTim Potter2007-10-101-1/+1
| | | | (This used to be commit de5984c95602ca67e8ac3139c3aa4330b74266e0)
* r1055: Standalone build fixes for ldb:Tim Potter2007-10-102-4/+5
| | | | | | | | | - Various Makefile fixes - #include <stdint.h> ldb still needs a proper build system though. (-: (This used to be commit 52e4fe8ce9142c4002263686c8043d94b37d7a9c)
* r1052: Remove autogenerated file.Tim Potter2007-10-101-165/+0
| | | | (This used to be commit 108efcc002c2eccfd1da30fff5c11aa67af09f9e)
* r1018: fix a const and unsigned int problem in ldbAndrew Tridgell2007-10-102-3/+3
| | | | (This used to be commit 3d52ca93731ad67c14ac42f627e3feb1a964b29a)
* r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher2007-10-102-5/+5
| | | | | metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
* r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell2007-10-101-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)
* r811: make the ldb_modify REPLACE semantics better match LDAP (ie. no errorAndrew Tridgell2007-10-101-7/+6
| | | | | on the attribute not existing and allow an empty replace) (This used to be commit 1418b667d9041430786089713eafee63dd7b4a28)
* r792: - changed the ldb ldif_* functions to be in the ldb_ namespaceAndrew Tridgell2007-10-1012-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)
* r791: added ldb man page build to ldb makefileAndrew Tridgell2007-10-101-2/+5
| | | | (This used to be commit ec38392888d20991abe18dd3e6ca226a62c7d4ae)
* r790: started working on some documentation (manual pages) for ldbAndrew Tridgell2007-10-103-0/+309
| | | | (This used to be commit dcb9d1a897f7186824e997064902f3d50bad1887)
* r728: - let libldb_tdb depend on new subsystem LIBTDBStefan Metzmacher2007-10-101-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)
* r714: make sure ldb formats are portable between big/little endian machinesAndrew Tridgell2007-10-102-16/+24
| | | | (This used to be commit 166a664a00d2befe30978072e6f3f266b18ba9f4)
* r711: don't hide attributes inside the special ldb_tdb records (so the factAndrew Tridgell2007-10-101-1/+1
| | | | | that a attribute is hidden is not itself hidden!) (This used to be commit b42d1f39842ac25fee2238040ac01321f71a79c5)
* r697: make use of SMB_EXT_LIB for LDAP and KRB5Stefan Metzmacher2007-10-101-1/+4
| | | | | metze (This used to be commit b054f7d4906d1d2b96b352af09c6bdcf96553c2a)
* r690: - ignore source/tagsStefan Metzmacher2007-10-102-0/+17
| | | | | | | | | - add support for shared libraries - enable libldb shared lib when --enable-experimental metze (This used to be commit dcef69dc54a2575e7f57d67d1983482b4ff57bdb)
* r665: merge over the new build system from my tmp branchStefan Metzmacher2007-10-102-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)
* r609: allow ldbedit to take a list of attributes to edit, just likeAndrew Tridgell2007-10-101-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)
* r606: added a HIDDEN attribute on fields in ldb (in @ATTRIBUTES). This ↵Andrew Tridgell2007-10-103-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)
* r601: added the server code for all the samr_SetUserInfo and ↵Andrew Tridgell2007-10-101-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)
* r583: fixed two bugs in the handling of index entry deletionAndrew Tridgell2007-10-102-8/+13
| | | | (This used to be commit 7b5f3370e6c078bf506ac3eb24fb330d4aee7688)
* r574: - another attempt at const cleanliness in ldbAndrew Tridgell2007-10-1013-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)
* r513: added a generic ldb debug system to allow the Samba debug functions toAndrew Tridgell2007-10-1013-10/+154
| | | | | be cleanly interfaced to ldb (This used to be commit 74b89d5f960d6b936751e3f057b4540eb80b79cd)
* r509: fixed a memory handling bug that affects ldb with memory pools thatAndrew Tridgell2007-10-101-1/+6
| | | | | change with each request (This used to be commit 18695cefa16b867427e3ca2fb0d787d850ea25c3)
* r504: fixed a bad call to list_union()Andrew Tridgell2007-10-101-2/+3
| | | | (This used to be commit 4404056cd5fd65d72a38ea474fe330281b3ee19e)
* r502: modified ldb to allow the use of an external pool memoryAndrew Tridgell2007-10-1025-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)
* r490: - expanded the test suite to test modify and delete operationsAndrew Tridgell2007-10-1013-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)
* r463: build ldb with debugging when standaloneAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 77269e7ad6f569585d5fad37ee63169c4eee3f01)
* r462: added an explanation about the rather complex ltdb_key() functionAndrew Tridgell2007-10-101-0/+9
| | | | (This used to be commit 894e44022d16d9ff43f421fb15495845710000ab)
* r456: - added -i option to ldbsearchAndrew Tridgell2007-10-107-49/+75
| | | | | - fixed sorting bug in ldb index handing (This used to be commit cdd48e2b9b3ca6be5503eec401e09db162408ac8)
* r454: allow a non-URL form of a filename to be used in ldb_connect(). ThisAndrew Tridgell2007-10-102-6/+10
| | | | | makes it a little easier to work with the ldb tools (This used to be commit 03df31cef025b2087531579437d6bae1ec36e82f)
* r453: added a comment about indexing on objectclassAndrew Tridgell2007-10-101-1/+4
| | | | | (its usually a bad idea) (This used to be commit f88760c3cc81324d3d339702b411603139af6224)
* r444: - added the beginnings of a ldb test suite and benchmarkAndrew Tridgell2007-10-108-11/+266
| | | | | - updated the test slapd config to use bdb and indexing (This used to be commit 7ad0858c060ee212a33434dc4be75e7a0cd1a0e3)
* r442: fixed some uninitialised variables pointed out by gcc -O3Andrew Tridgell2007-10-103-4/+3
| | | | (This used to be commit ff31cfb941b77e99e648011a6b7639b2a5923a6a)
* r437: fixed handling of a corner case with multi-valued indexingAndrew Tridgell2007-10-102-0/+14
| | | | (This used to be commit b38612185657512419c4b3dc806cf1183e0db0cb)
* r436: fixed indexing of objectclass with subclassesAndrew Tridgell2007-10-101-1/+64
| | | | (This used to be commit 4d92e6f79f52ec0d580dfda2a91b4afc95838ff4)
* r435: a major upgrade for ldbAndrew Tridgell2007-10-1018-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)
* r387: more C++ friendly changesAndrew Tridgell2007-10-103-31/+31
| | | | (This used to be commit ac0c525a8b8a05cc275fb9f4c1dcfd749604c85f)
* r382: More C++ friendliness fixes.Tim Potter2007-10-105-13/+13
| | | | (This used to be commit e96f3a2005cf6f4da2ecd4670a35eab1b4f250d0)
* r381: make the code more C++ friendlyAndrew Tridgell2007-10-106-21/+21
| | | | (This used to be commit 8acecc7f27e25ab876fffffe43ae75b5f77aff77)
* r380: make sure that ldbedit -a works with all tdb and LDAP backendsAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit b5cb5a1e62a4b9df6f163082498942553662436e)
* r373: use a much larger default tdb hash size in ldbAndrew Tridgell2007-10-101-1/+2
| | | | (This used to be commit 54f47c45b8f828ad5ddaa630d0c1e673f2c74b7a)
* r344: fixed deletion of index recordsAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 246f17cd4a7851042739574f1e07b113c44275c7)
* r343: added automatic reindexing of the database when the index list changesAndrew Tridgell2007-10-102-0/+78
| | | | (This used to be commit a811640ce408373a5c2c0ee2c125bd735d96d5e1)
* r194: fixed compile with ldapAndrew Tridgell2007-10-101-2/+2
| | | | (This used to be commit 3b4b528dc65bcb3b0de674e1d90c767244c94402)
* r163: - enable ldap in the sample makefile, and use /usr prefixAndrew Tridgell2007-10-102-14/+26
| | | | | | | - show number of adds/deletes/modifies after an edit - nicer error messages from ldbedit (This used to be commit 077951f6bcb1d0eba2de76d0df4c186b7fa19a14)