summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r507: the new ldb code will use talloc_free() a lot, so I have madeAndrew Tridgell1-137/+151
talloc_free() O(1) in preparation. This also halves the number of malloc() calls and increases our internal consistency checking, without breaking valgrind testing. (This used to be commit 2331d4e76e40ff08215853f747f7063213ac92ce)
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-10r476: i forgot the argument to get_time_zone()Andrew Tridgell1-1/+1
(This used to be commit 34ff18839c97dbb77c76097b4484ebec398da192)
2007-10-10r468: fixed timegm() on broken systemsAndrew Tridgell1-1/+5
(This used to be commit a3d639d04ff25deabd299ea24917adde9192ed38)
2007-10-10r467: hopefully get the buildfarm compiling fine now...Stefan Metzmacher5-10/+13
metze (This used to be commit d15f0e18bb43608c611cfe78fc79db9ee10e1eb2)
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-10r452: move from first-fit to best-fit in tdb record allocation. For aAndrew Tridgell1-48/+97
situation where we are continually increasing the size of a record (such as ldb index records) this reduces the resulting tdb size by a factor of over 100x, due to reductions in fragmentation. It appears to have no noticable effect on the speed in other cases. (This used to be commit b61d7f8bbc0c01d648ce204ffb6ea657e0b04c03)
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-10r425: add some comments to ugly code partsStefan Metzmacher2-1/+2
we should take care of 'char *' and 'const char *' and DO NOT mix them! Jelmer: please fix this metze (This used to be commit cd609eb2fe9303825d5562047d57fd553b2601bd)
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-10r355: Fix a bunch of compiler warnings in the registry code.Tim Potter7-36/+31
(This used to be commit 0be7a866dc39e2d63c9c114d0f668287259e7c9e)
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-10r335: added much better handling of servers that die unexpectedly during aAndrew Tridgell1-0/+10
request (a dead socket). I discovered this when testing against Sun's PC-NetLink. cleaned up the naming of some of the samr requests add IDL and test code for samr_QueryGroupMember(), samr_SetMemberAttributesOfGroup() and samr_Shutdown(). (actually, I didn't leave the samr_Shutdown() test in, as its fatal to windows servers due to doing exactly what it says it does). (This used to be commit 925bc2622c105dee4ffff809c6c35cd209a839f8)
2007-10-10r323: added rough password quality checking in generate_random_str(), so we ↵Andrew Tridgell1-2/+31
generate passwords that are likely to be accepted by the win2003 quality checks (This used to be commit 5954969f278e7f23190fe7301bfdc608f480eef6)
2007-10-10r274: Be somewhat more POSIX compatibleJelmer Vernooij1-9/+19
(This used to be commit c98a234d02d6190cf99ab1c9ff7b029f929e292a)
2007-10-10r218: added a comment regarding the %c strftime() warningAndrew Tridgell1-0/+4
(This used to be commit 03c5dd88558bdd9ca714e6842ea65fa3b667657e)
2007-10-10r200: fix compile errorsHerb Lewis2-4/+7
(This used to be commit c64132ddc6396a599a2e13b893e8abf1f731478f)
2007-10-10r199: More registry rpc updatesJelmer Vernooij1-12/+31
(This used to be commit 02ddf78e5563b15cb45ae4bc6234469be0dc0210)
2007-10-10r194: fixed compile with ldapAndrew Tridgell1-2/+2
(This used to be commit 3b4b528dc65bcb3b0de674e1d90c767244c94402)
2007-10-10r190: More RPC updatesJelmer Vernooij2-1/+54
(This used to be commit 0a67057e9626c1539f964e978537e24544784263)
2007-10-10r187: RPC registry backend fixesJelmer Vernooij4-30/+127
(This used to be commit f832d6776cb10f5c7d7ed83e6f66e4d28a461916)
2007-10-10r183: More bugfixesJelmer Vernooij2-28/+21
(This used to be commit 88911bbcca574adbf6ea4f0759a68f2961b05d6b)
2007-10-10r182: Fix a couple of segfaultsJelmer Vernooij4-2/+12
(This used to be commit db5d7062e69b456a89b17525e5a0177f93c90c83)
2007-10-10r181: Parsing windows '95 registry files now works (including values)Jelmer Vernooij2-45/+188
(This used to be commit 4d6ce648567060b9922343971d7aafd545341439)
2007-10-10r174: Win95 registry files (like USER.DAT) can now be partially parsedJelmer Vernooij3-45/+100
(This used to be commit dd31d3bcbfbb0ef7a96a1b86c1b4c54b650e9fd5)
2007-10-10r169: Fix gregeditJelmer Vernooij2-31/+8
(This used to be commit 32036375de58327a673a5a85cedb01e8ddfa503a)
2007-10-10r168: - Cleanups in rpc backendJelmer Vernooij8-192/+307
- Small fixess in nt4 and dir backends - Start on w95 file backend (This used to be commit aa739e8d3c7108f6f2089af2d8d522feacc7f698)
2007-10-10r166: Fix enumerating values in nt4 backendJelmer Vernooij3-0/+6
(This used to be commit 1a7de762c60177b6e250f81cdeb3466fce148bff)
2007-10-10r165: Add support for viewing registry values in gregeditJelmer Vernooij2-26/+40
(This used to be commit 1d8a6d762aa4dab54bb58959cb1e7957a76e5b6e)
2007-10-10r164: Viewing remote registries with gregedit works nowJelmer Vernooij2-4/+4
(This used to be commit 697560a117ba19bb44539d6d63cc9143127e29d1)
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-10r162: Minor bugfixes:Jelmer Vernooij2-4/+3
- Don't keep windows open after errors - Don't build ldb backend by default (This used to be commit 1bb64782c6585c02b8792d23b97d3da60aac844c)
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)
2007-10-10r157: cope with or without LDAP in ldb sample MakefileAndrew Tridgell1-5/+13
(This used to be commit 5004159bf93ccb62d056fa67c18f4a52cdbb2026)