summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13615: Make ldb_set_errstring get ldb instead of module as parameter.Simo Sorce10-42/+52
The module was just used to get to the ldb so it was meningless. Also add LDB_WAIT_ONCE e relative code in ldb_ildap.c (This used to be commit d5b467b7c132b0bd4d23918ba7bf3370b1afcce8)
2007-10-10r13609: Get in the initial work on making ldb asyncSimo Sorce10-241/+770
Currently only ldb_ildap is async, the plan is to first make all backend support the async calls, and then remove the sync functions from backends and keep the only in the API. Modules will need to be transformed along the way. Simo (This used to be commit 1e2c13b2d52de7c534493dd79a2c0596a3e8c1f5)
2007-10-10r13580: fix broken client side sortSimo Sorce1-1/+1
(This used to be commit cbbc0d7cc4f589235d209011bdb0a0401b492d9e)
2007-10-10r13507: the 'data' element of LDAP controls is optional.Stefan Metzmacher3-0/+9
(prepare the next commit) metze (This used to be commit a1bbf7f2982185cb6cd544b65b4709ab33a850c5)
2007-10-10r13361: initial implementation of the vlv controlSimo Sorce2-3/+117
seem still buggy, can't make w2k3 to like it yet (This used to be commit e1318383e91f6f6db39e3e3c9946fbb089753947)
2007-10-10r13360: Fix crash bug when 0 results are returned on the internal base searchSimo Sorce1-1/+11
(This used to be commit fbee725ae87efbcf5887c923d55d7cb0d05476a6)
2007-10-10r13359: make sure we don't look at s[-1]Stefan Metzmacher1-1/+1
metze (This used to be commit 24c6e2f73175befa33f9758634e3ee183916e387)
2007-10-10r13354: Add tests to check that controls work properlySimo Sorce1-1/+21
Fix asq module, add a second_stage_init to register with rootdse Fix asq control ldap parsing routines (this was nasty to find out) (This used to be commit 933a80397d137f7d5b79c82a068d62bb6928ef47)
2007-10-10r13349: In the end I could not use ldb_caseless_cmpSimo Sorce4-38/+2
in attrib_handler.c functions remove it again Simo (This used to be commit 513ff499071e6cb5e608a82430718021f72997bd)
2007-10-10r13348: Put a reminder for now.Simo Sorce1-0/+2
Until we do not have an internal utf8 compliant casefloding function we cannot pass this test in the non-samba build (This used to be commit 5d93c1eeba8f64784294f3aabcaefa4aaf798355)
2007-10-10r13347: - Now we compare values with an optimized utf8Simo Sorce1-1/+34
safe function if the user provides an utf8 compliant casefold function to ldb. - Fix toupper_m and tolower_m to not crash if the case tables are not found - Let load_case_table() search into the correct directory in the search tree for the case tables so that we can test utf8 Simo (This used to be commit e12f070958eb3c144beb81c5cb878db122249021)
2007-10-10r13340: The gensec_init() needs to be after the popt processing, as itAndrew Bartlett1-2/+3
disables modules based on parametric options. Andrew Bartlett (This used to be commit db32a81f3ea661e2308cccca8d6a251a3d57337e)
2007-10-10r13335: Fix the build and add an utf8 safe ldb_hadler_fold functionSimo Sorce3-15/+44
based on ldb_casefold (This used to be commit 6104f900863c688707809d42c5429a42d654d5fb)
2007-10-10r13333: revert previous commit I will use ldb_caseless_cmp in attrib_handlersSimo Sorce6-13/+63
to correctly support utf8 comparisons add an ldb_attr_Casefold function for attribute names and use it instead of casefold in the right places (This used to be commit 3b4eb2413bbce059dde69f35c03cdc3cc2ba85c5)
2007-10-10r13328: After the attribute name check cleanup it turned up ldb_caseless_cmp()Simo Sorce4-39/+4
was used just in one places and by mistake, as there we should have been using ldb_attr_cmp() Remove ldb_caseless_cmp() ... going on with the cleanup and utf8 compliance effort. Simo. (This used to be commit afda68d7bf655a9145648856d29e6e64b9f21aa3)
2007-10-10r13325: let samba register it's own utf8 aware functions in ldbSimo Sorce1-0/+8
(This used to be commit 12faf556833807d3f2aa4360c54e10583ac77fed)
2007-10-10r13324: From now on check attribute names obey rfc2251Simo Sorce11-98/+139
Also add a way to provide utf8 compliant functions by registering them with ldb_set_utf8_fns() Next comes code to register samba internal utf8 functions. Simo. (This used to be commit ac9b8a41ffca8e06c5e849d544d3203a665b8e0d)
2007-10-10r13289: Check the tree is not NULLSimo Sorce2-0/+5
Thanks to Aaron J. Seigo <aseigo@kde.org> for spotting this (This used to be commit 4b5c0493e2276a9eba1bada7c4bac99999a465e2)
2007-10-10r13278: remove a silly strcasecmp() replacementAndrew Tridgell1-9/+1
(This used to be commit 6ec71ffbc141df398aff3e11c45e35e15192c66f)
2007-10-10r13268: fixed typo noticed by Aaron SeigoAndrew Tridgell1-1/+1
(This used to be commit a49d024f3d4866655d4436a5c42b3c228374594b)
2007-10-10r13258: Fix the talloc heirachy for ldb_tdb.Andrew Bartlett3-17/+20
In the return value res->msgs, msgs was not a child of res, in the indexed path. Instead, it hung directly off the ldb, which was sometimes a long-term context. Also remove unused parameters. Found by --leak-report-full Andrew Bartlett (This used to be commit 29cb5af827c459758997c80dca034d471bb92449)
2007-10-10r13181: Fix standalone ldb buildJelmer Vernooij2-1/+2
(This used to be commit e9059ea0c56c1fd9886eb038df5455efe11962f8)
2007-10-10r13167: handle cotrols' reply even in errorSimo Sorce1-2/+1
(This used to be commit b9d1d02f381cf81883c9f22a1702319f5fce6eb8)
2007-10-10r13166: Patches form Brad HardsSimo Sorce4-5/+35
(This used to be commit 335050b30d832f529fb8fdd4f96e4bb3de93f38c)
2007-10-10r13114: remove 'const' and make clear what the parameters are forStefan Metzmacher1-1/+1
metze (This used to be commit 317a3eefeef6b9da565a215ba152d829059c6f14)
2007-10-10r13078: fixed the ldb comparison function for objectSidsAndrew Tridgell1-1/+1
(This used to be commit 3f0600e223c079f82190f7e2a709447d679163e9)
2007-10-10r13074: Add oLschema2ldif manpageJelmer Vernooij2-0/+80
(This used to be commit 3e3a0c96cdb631798cf2192d0b441d29b33428c0)
2007-10-10r13067: Don't install ldbtestJelmer Vernooij1-1/+0
(This used to be commit cc35a4bc0e6d44735fc3efabb1901161e2c6d36c)
2007-10-10r13064: Add 'tags' target to LDB's makefileJelmer Vernooij1-0/+3
(This used to be commit 8195e4f8566ecc71c801aec6638869c494e6bbb4)
2007-10-10r12995: Don't allow overrides on "name" from above, as it can't be correct.Andrew Bartlett1-5/+5
Andrew Bartlett (This used to be commit 4a50bf95b93310f640a4ba28990f054e85215551)
2007-10-10r12989: move the control parsing and handleng functions to cmdline.cSimo Sorce3-315/+320
so that they can be used by the other ldb tools as well (This used to be commit c12b3c5cb46d428f815c623efacff8edebb6f6e3)
2007-10-10r12984: add parse code and ldbsearch cmdline code forStefan Metzmacher2-0/+26
NOTIFICATION LDAP Controls http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_notification_oid.asp this doesn't work yet, but it shows that we need to extend ldb to correctly handle async requests... metze (This used to be commit 1fe67189490c9faf499b68a28071a6294a53db0e)
2007-10-10r12983: - fix using a DIRSYNC cookie from the command lineStefan Metzmacher1-5/+11
- also w2k doesn't work correct with max_attrs = 0, so we should use a high number, with this I'm getting the same results from w2k and w2k3 metze (This used to be commit ce9f086c3c1a65bf1b4c843ec44e8817d9361182)
2007-10-10r12977: Some code to implement the client side of the Dirsync controlSimo Sorce2-2/+87
Still investigating how it works. Simo. (This used to be commit bebd403523e581606505e05e7cb621efbc22fa36)
2007-10-10r12948: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 157fd2734dfb9b3ac6f6c5ad60bbbd7a50998453)
2007-10-10r12942: this way is betterSimo Sorce1-2/+1
(This used to be commit 982576d2489c9ac3f7d854f598a64a8c4d91a485)
2007-10-10r12941: Add Attribute Scoped Search controlSimo Sorce4-0/+235
want to see what it does ? do aq make test and try: ./bin/ldbsearch -H st/private/sam.ldb --controls=asq:1:member -s base -b 'CN=Administrators,CN=Builtin,DC=samba,DC=example,DC=com' 'objectclass=*' have fun. simo. (This used to be commit 900f4fd3435aacc3351f30afb77d3488d2cb4804)
2007-10-10r12925: implement client side of ASQ controlSimo Sorce2-0/+54
(This used to be commit dd386bdc6ca6fe0b25705d5a375d29e6940b437f)
2007-10-10r12909: add an ldb module for the wins.ldb,Stefan Metzmacher1-0/+1
it currently doesn't do much, but it's later prevent adding corrupted records via ldbedit, and will take care of the versionID counter metze (This used to be commit a6f279bc43c74cf4dc116cb6ba99f1aed13a4de9)
2007-10-10r12850: - add Doxygen comments to ldbStefan Metzmacher7-71/+2090
- 'make doxygen' generated the api documentation under apidocs/ Many thanks to Brad Hards <bradh@frogmouth.net> for the patches! metze (This used to be commit e98d483174c555366e62dd27600e6b242cab7a7f)
2007-10-10r12849: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 552e12c05d10ddad55bfc0997303096055ddecdd)
2007-10-10r12847: add some ldb examples from Brad Hards (bradh@frogmouth.net)Stefan Metzmacher3-3/+263
metze (This used to be commit 4d32d50ccd8bd0bfb3e2d6f5aee23bce38abbc03)
2007-10-10r12846: some fixesStefan Metzmacher1-7/+13
metze (This used to be commit bf6065b11fd84454f8bc881ff96fb1846a59405b)
2007-10-10r12845: fix some typosStefan Metzmacher2-2/+2
metze (This used to be commit 5d0ae1d2aef3fc7ddb4cb9269bb028beeaee6dfb)
2007-10-10r12843: get special objects with ldbsearch -a too, to match ldbedit -aStefan Metzmacher3-3/+3
metze (This used to be commit bb68f2e602dbcc94c05b2dd764c163be1e5a583d)
2007-10-10r12833: complete ldbsearch support for controlsSimo Sorce2-40/+138
now the three supported controls (paged_results, server_sort, extended_dn) are fully functional and the infrastructure to add more is in place. valgrind is happy too :) Simo. (This used to be commit bd8e2629378700198e16287823970f52d1150a86)
2007-10-10r12830: this can be constStefan Metzmacher1-1/+1
metze (This used to be commit 1876e245c49d521e89674dc1662a61e8f4cdc9b5)
2007-10-10r12829: fix ldb headers, to not include '<...>' files in .c filesStefan Metzmacher41-171/+78
this helps in getting symbol -fvisibility=hidden (GCC 4 feature) working later. metze (This used to be commit 380938e97f31c7860aed1e73cc0110c6e17b472e)
2007-10-10r12828: add a test to check white spaces comparisonSimo Sorce2-1/+10
(This used to be commit ad189553f420d70c4a726cf118e1273ea053f4d6)
2007-10-10r12827: This was a very well concealed bug.Simo Sorce1-2/+9
Thank to Andrew Bartlet for finding out a test case that showed it up. Simo. (This used to be commit 72a86d74a95c2b38d25159027f612075c50a1f3c)