Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
This commit applies some cosmetic corrections for the LDB library.
|
|
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
|
|
retieve -> retrieve
Karolin
(partialy cherry-picked from 37c64130701ab13b6f34998ac17fec2d128c2e08)
metze
(This used to be commit 4d92e6d582a5b2094b2aaa9008a54b37ccfcc2d7)
|
|
(This used to be commit 40b71bbd718f6dee70c0611e527f55c56623dea6)
|
|
The core ldb code for string matching assumed NULL terminated strings,
whereas the anr module used data_blob_const() to effectively truncate
a ldb_val by changing its length. The ldb code is supposed to be based
around length limited blobs, not NULL terminated strings, so the
correct fix was to change the string comparison functions to be length
limited
(This used to be commit 26c6aa5a80ffaf06fc33f30a6533f8f16ef538bc)
|
|
This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb. There is much more work to do in
this area.
Andrew Bartlett
(This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)
|
|
(This used to be commit 505a0c2b702b696b91dab683626bb25b14a49c38)
|
|
(This used to be commit e860fc171fd127d73df23336089c1479911953da)
|
|
(This used to be commit 3bdc906eb63a494f0d8478c13f8330828aa2f725)
|
|
as never to be removed.
(This used to be commit 9dce558206a2ce70c69b9b6c5c3c9c58ee165b1d)
|
|
(This used to be commit 0aebae91be0fba7ffa94d73946a94aea930a252a)
|
|
metze
(This used to be commit 1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd)
|
|
Current glibc libraries include a function called init_module(). If we
use the same name, then a dlsym() can find the glibc function if the
module doesn't have an initialisation function.
In ldb, none of our modules have an init_module(), so we end up calling the libc
functions with bogus arguments.
(This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)
|
|
freeing up resources. Try to avoid races by making the autofree context
be the parent of the event system
(This used to be commit 10ffa87b6b7ebfe51e81819feb93a72e9ec10418)
|
|
event_context_init() where possible
(This used to be commit 412f7a98dd809306ac9f35003fce554e1e1252e7)
|
|
(This used to be commit eb351e33e58abdacdf44cf700f028cc13f52c4c8)
|
|
Remove trailing spaces adn try to fit 80 columns where possible
(This used to be commit 5457c667647ec156bb7b4f86ce580def4e9350d5)
|
|
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
|
|
(This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
|
|
metze
(This used to be commit 91b49365abed6f67e2b3c18b0090b4e6ff1df935)
|
|
(This used to be commit ca510136d2c4cae8f520c76df6aaadb5d412bea1)
|
|
(This used to be commit 0b133a30a23757cf463ff22dff6372ae5e11d4c7)
|
|
Conflicts:
source/build/smb_build/header.pm
source/build/smb_build/makefile.pm
source/lib/ldb/include/ldb_private.h
(This used to be commit 1a646af0647f021d99473a8991c35e616a423ea6)
|
|
(This used to be commit 5cd3310b78a85243eb436d05db3228c3495f9162)
|
|
This makes it easier to track down which module only returned and
error code, but not the error string.
Andrew Bartlett
(This used to be commit c4d502f68fbd5d5bc2ac5bb6369950379c9176fc)
|
|
(This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
|
|
(This used to be commit b1a7810f3e70f9a831d9b8e85d531e448072adaf)
|
|
(This used to be commit 141ee91272fb4dafca0149f679e17721b6a3011e)
|
|
(This used to be commit a43f6d37bce85748e9cf2675e5beced5db26f1c3)
|
|
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
|
|
(This used to be commit 1cf374eb3125c66844f01d013016feaf99760582)
|
|
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
|
|
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
|
|
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
|
|
an attribute with ';' in the name.
Andrew Bartlett
(This used to be commit f4023b176eabfb3282fe9b999eac8db55a095ab0)
|
|
modules to provide an ops table directly rather than an initialization function.
(This used to be commit a71419a73a869c24121005ccbbcb4396f888888b)
|
|
(This used to be commit 13ae3108dad2f9f0f7a421d672751fa594f4e3fb)
|
|
and therefore further improve debug output.
Andrew Bartlett
(This used to be commit 5e93ca2ea16a7d10d63606ae539c0fdc4e224556)
|
|
Andrew Bartlett
(This used to be commit 6628d9f843d773ec1a5841f793b16f76910c39c4)
|
|
MMC uses.
It appears that the control value is optional, implying type 0 responses.
Failing to parse this was causing LDAP disconnects with 'unavailable
critical extension'.
Andrew Bartlett
(This used to be commit 833dfc2f2af84c45f954e428c9ea6babf100ba92)
|
|
Andrew Bartlett
(This used to be commit c3bfcf44a49c6a19579c85fb3660331177a436fb)
|
|
modules.
This will be useful when we start enforcing validity in base DNs.
Andrew Bartlett
(This used to be commit aa8348a27a6938a1a26d4a7ed3b7405966202ad8)
|
|
the arguments.
Andrew Bartlett
(This used to be commit af40b1cd88f0e932665f6fe90daae8e687a3dc0c)
|
|
(This used to be commit f42690a90c2f76e7fc130ebbdbd0f93fefacfad6)
|
|
Andrew Bartlett
(This used to be commit f4d733c3d00c90ac2e02fcc202240ae7c290463e)
|
|
(This used to be commit 4fd3770f0c3f9a3e586f1a03a759dab782e04ba7)
|
|
context caused by my objectclass module work.
Andrew Bartlett
(This used to be commit 2a835d900fee71e4461d5d18e39b4358fa6fdfba)
|
|
code,
which also does.
(This used to be commit 083b606496308741958bb9fc6b3e50a582857677)
|