summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2792: got rid of talloc_ldb_alloc() and instead created talloc_realloc_fn(),Andrew Tridgell2-4/+4
so talloc now doesn't contain any ldb specific functions. allow NULL to be passed to a couple more talloc() functions (This used to be commit 1246f80d806fb5f63cfbf3879de6d546384552a8)
2007-10-10r2726: added a -r option to ldbdel to allow easy delete of a wholeAndrew Tridgell1-3/+39
subtree. Useful when cleaning up a mess after testing. (This used to be commit 476674af5519960300c0a07349c7cdf307af3822)
2007-10-10r2725: fixed ldbtest to give the basedn to ldb_search()Andrew Tridgell1-2/+2
(This used to be commit 19925f5bd8dd24742e5d216b0c491975ceb7d3a6)
2007-10-10r2721: added a -b option to ldbtest so it can be used with the new smbd ldap ↵Andrew Tridgell1-8/+10
server without changing realms (This used to be commit fd2725f5c0a2ea89bbfcb0403d1bc03fa7b7ec25)
2007-10-10r2713: better handling of binary values in index key creationAndrew Tridgell1-1/+1
(This used to be commit b0c92616fb69d8139f66dc8144cfcc88ea6825dc)
2007-10-10r2712: fixed a bug in ldbtest to make it cope with an existing indexAndrew Tridgell1-2/+4
(This used to be commit 3f776a9b5c240312f161b651201458e43a9dd6a9)
2007-10-10r2667: Remove forward declaration of static function from function. GCC 3.5 ↵Jelmer Vernooij1-2/+3
and 4.0 don't accept declarations of static functions inside other functions, see http://gcc.gnu.org/ml/gcc-patches/2004-08/msg02514.html (This used to be commit 8768168aadf51b9559831954e349d9aa94101c41)
2007-10-10r2556: fixed the -s one bug that jelmer pointed outAndrew Tridgell1-1/+1
(This used to be commit 03c38477add0c5f78072700615b2c1513cbc7663)
2007-10-10r2554: added a test for a bug that jelmer pointed out (handling of -s one)Andrew Tridgell1-0/+7
(This used to be commit 74d7bc1948961a24837d966416db12be192382ff)
2007-10-10r2553: fixed ldbtest so it passes the ldap schema restrictions and thus can ↵Andrew Tridgell1-18/+11
be used on the ldap backend (This used to be commit 9f230425a0c926209887006ab1e3fec0998e7961)
2007-10-10r2485: - add a test case in ldbtest for a bug pointed out by Jon Haswell.Andrew Tridgell2-3/+88
- fixed the bug shown with the above test, by initialising the sequence number to something different from the value used in ltdb_cache_free() (This used to be commit 856cdf82f24aada074ee5c605cccb2e8ceeea487)
2007-10-10r2484: allow ldb to build standalone againAndrew Tridgell1-0/+7
(This used to be commit 05601a4c6f7c7a019fcac8743e2e4775a498b26a)
2007-10-10r2381: added a -v debugging option to ldbeditAndrew Tridgell1-1/+31
(This used to be commit 03d4a7832cd3670a8166820a1b9b4aaf2307bd1a)
2007-10-10r2192: removed an erroneous free() call on an error pathAndrew Tridgell1-1/+0
(This used to be commit c80d686f59a8b6c53305af1233137c22a26f6750)
2007-10-10r2089: fix standalone build with LDAP, this needs -llber tooStefan Metzmacher1-1/+1
metze (This used to be commit b9152c9ba2735f511663f34a910142eed67701b5)
2007-10-10r2087: the ldb tools really don't need LIBSMB!Stefan Metzmacher1-5/+5
that reduces the size of thet binaries with '-g' and gcc 3.4 from 5.3 MB to 745 KB:-) metze (This used to be commit 037a6d95b4a4640059a10dcbb0a266d15eaf42b3)
2007-10-10r2055: Add PRINTF_ATTRIBUTE to many more parts of the code, and a newAndrew Bartlett3-1/+5
--enable-developer warning for when they are missing. Andrew Bartlett (This used to be commit 8115e44d47bcd65edba08d10117180ae508cdbc1)
2007-10-10r1901: add missing include of <fnmatch.h>Stefan Metzmacher1-0/+1
metze (This used to be commit 5e5681e2830bfd487d7e783249fe069b41be1f37)
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)