summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-06-30lib/events: build as MERGED_OBJ instead of STATIC_LIBRARYStefan Metzmacher1-1/+1
metze (This used to be commit a2a506ba2e044699d147486e987b11d839373784)
2008-06-30ldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)Stefan Metzmacher4-164/+201
metze (This used to be commit 1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd)
2008-06-30Relax the ldap.py tests so that they pass against OpenLDAP CVS.Andrew Bartlett1-3/+6
This requires a patched OpenLDAP checked out from their CVS HEAD. I hope to see the patches incorporated soon. Andrew Bartlett (This used to be commit 963bcfc777679ba122189ea6cf7f94b8d46cdce7)
2008-06-30Loosen ldap.py tests on the LDAP backend.Andrew Bartlett1-1/+1
Allow LDAP backend to return parts of the DN in a different case, when verifying memberOf. Andrew Bartlett (This used to be commit daddfae9fd8b7375bd4f469808378edc60a55be0)
2008-06-28Non-zero exit code on failure.Jelmer Vernooij1-3/+6
(This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)
2008-06-27tdb_unpack: Eliminate "cast to pointer from integer of different size" ↵Michael Adam1-1/+7
warning on 64bit. The 'p' type is just a flag to mark the presence of a pointer, not a real pointer itself. The code is now the same as in Samba3's tdb_unpack. Michael (This used to be commit a516bc9a2d4ce86244d0e2fbfacf6fda5e12e987)
2008-06-27Remove events from require line:Julien Kerihuel1-1/+1
The events library is not installed and prevent OpenChange from linking with ldb. The following patch removes events reference from ldb pc file. We are currently fixing this bug in openchange upstream using 'sed' in our installsamba4.sh script, but this hack won't work with a packaged version of samba4. Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 0b8508f75eac84ef68850e91300fb837a621cc77)
2008-06-27lib/ldb: add forward declaration for struct event_contextStefan Metzmacher1-0/+1
metze (This used to be commit 9bbdc682a985f210874c008a0abc25645e7fbd50)
2008-06-27Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett5-58/+60
(This used to be commit 9607e79c3db9743617397c347bb69f87f6525801)
2008-06-26Only try to detect the events lib dir if it wasn't set earlier.Jelmer Vernooij1-10/+12
(This used to be commit 3f48f68800176d992a1bd9b6349f22ec152fc34a)
2008-06-25Fix another reference to ldbdir.Jelmer Vernooij1-1/+1
(This used to be commit 6416b637ea6570edd27eb8ef3005c408d311f3a3)
2008-06-25Use ldbsrcdir rather than ldbdir.Jelmer Vernooij1-31/+31
(This used to be commit 25f500d2233198b88c1d54268f5f6f461cea75d9)
2008-06-25Use variable for popt source dir.Jelmer Vernooij1-1/+1
(This used to be commit effc25e805facea001ebd64d383f1a536c61d0e3)
2008-06-25Use ldbsrcdir rather than ldbdir.Jelmer Vernooij2-15/+15
(This used to be commit a422c6c5ff47f36ef3376f54e707561c6a53ac23)
2008-06-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett1-0/+1
(This used to be commit edd9ecce9511871d9c9942d50eb91c68a8e04ec9)
2008-06-20Depend on NDR_DRSBLOBS explicity.Andrew Bartlett1-1/+1
Something else ensures this links correctly (for the moment) but for the long-term let's declare our depenency (for the prefixMap stuff) here. Andrew Bartlett (This used to be commit 5fcb39594b07c7b7a11985711a912b7a4d629ae7)
2008-06-19Include events_util.h in events_aio.cVolker Lendecke1-0/+1
Without this, linking fails with DLIST_ADD and DLIST_REMOVE being undefined Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 87385e4c873f80956dc1c43424dd4f49a993586c)
2008-06-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into ↵Jelmer Vernooij2-20/+0
v4-0-fixmodulesdir (This used to be commit 30a33cd0a64c434d6aee551f641343c3b2a6d9ca)
2008-06-17Make sure events pc file gets installed.Jelmer Vernooij1-0/+2
(This used to be commit e12c0b61573f27969a79d4c07a8fd42f6c931d7e)
2008-06-17Change our module code to not use the special symbol name init_module()Andrew Tridgell2-20/+0
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)
2008-06-17Avoid including events_util.h in events_internal.h since the latter isJelmer Vernooij7-2/+6
installed. (This used to be commit 7a7e8f30dd3e5bfad788a098872afa8263321cbb)
2008-06-16Change order of includes in swig file to avoid warnings.Jelmer Vernooij2-2/+2
(This used to be commit 0e1fccbd73eb0f219ea9662c56ee6da8a92f641a)
2008-06-16Add include in swig file as well.Jelmer Vernooij2-1/+2
(This used to be commit c623313189728dd0553384e2e115cf10db4c7f25)
2008-06-16Fix ldb_wrap.cSimo Sorce1-0/+1
(This used to be commit fd9f7c56752a06433cc26fa61a16d87941cbb2d3)
2008-06-15Fix cleanup.Simo Sorce1-4/+9
(This used to be commit acbe365e34571218fe312f52edec98f4fe5b76be)
2008-06-15Note that making ldb the event context parent seem to lead to races whenSimo Sorce1-1/+1
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)
2008-06-15Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into ↵Jelmer Vernooij4-183/+263
v4-0-fixmodulesdir (This used to be commit 1659a572c49b2f9cf336b27ec1c1bec1b86d688e)
2008-06-15Fix standalone ldb build.Jelmer Vernooij3-4/+7
(This used to be commit 4ac91e301455721b76f7f456bc50c5c6e47c05d3)
2008-06-15Fix ldb python bindings after events changes.Jelmer Vernooij2-3/+6
(This used to be commit dd1f24d0c6dfb19ba08282b91998f6881782c4fb)
2008-06-15Cleanup.Simo Sorce1-23/+29
Remove trailing spaces and try to fit 80 column where possible. (This used to be commit b32a040c2f0eb28d68837bde727437ca118d1b18)
2008-06-15Now that we pass down the event context, start removing calls toSimo Sorce2-8/+2
event_context_init() where possible (This used to be commit 412f7a98dd809306ac9f35003fce554e1e1252e7)
2008-06-14Cleanup,Simo Sorce1-61/+88
Remove trailing spaces and try to fit 80 columns where possible (This used to be commit edf6b77a1314d8f91839836855ae049393f73aca)
2008-06-14Ups fix typo in error typeSimo Sorce1-2/+2
(This used to be commit eb351e33e58abdacdf44cf700f028cc13f52c4c8)
2008-06-14Cosmetic fixes.Simo Sorce1-88/+141
Remove trailing spaces adn try to fit 80 columns where possible (This used to be commit 5457c667647ec156bb7b4f86ce580def4e9350d5)
2008-06-14Fix events_aioSimo Sorce1-3/+3
(This used to be commit d5525b79649ff75d6e9e853615949e4fbe9e0b6e)
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce10-17/+72
specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce25-41/+85
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-06-14This patch make it possible to build the events library completelySimo Sorce22-282/+426
standalone with no ties to internal samba4 functions Samba4 itself just uses the plain library, compatibility glue is in events_s4.c only (This used to be commit 7109b6a5a19eb2dbef4259104858b171298bad6e)
2008-06-14Use proper python errors.Jelmer Vernooij2-27/+17
(This used to be commit f54084b65fce67457cb838544c83ceb17c7d88db)
2008-06-11Use variables for source dir of python ldb bindings.Jelmer Vernooij1-3/+3
(This used to be commit cd4eddd31354f4ae45e8747da1a70340000716c3)
2008-06-11Use variables for source dir of python tdb bindings.Jelmer Vernooij1-2/+2
(This used to be commit 22e7bcfbe4534c070ac2dd5f39773ea023dfa7f7)
2008-06-10Revert "Add configure test for vdeplug library."Stefan Metzmacher1-7/+0
This reverts commit 89590d7dfe0735093a4a5b66eeed9276df043ac9. We don't need this yet and currently config.m4 is also used by samba3 which bail out with the check in it, as it doesn't know about the SMB_EXT_LIB() macro metze (This used to be commit bd0ec1754e6e187d421a718410ecd7c21922aa8b)
2008-06-10Fix initialization warnings.Jeremy Allison1-1/+1
Jeremy. (cherry picked from commit 832c093830cb3978641be3d87670fa900105da25) (This used to be commit 3a4198b1181d6b97804afebbb91dac5a8242f615)
2008-06-10Some C++ warningsStefan Metzmacher1-2/+2
(partialy cherry picked from commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d) metze (This used to be commit 4933cd49ac81454cbd4b0fc33d888585a9437b9d)
2008-06-10socket_wrapper: truncate packets to a 1500 byte payloadStefan Metzmacher1-0/+8
Truncate sendto(), recvfrom(), send() and recv() to 1500 bytes so that're getting a correctly formatted pcap file and the result look more like real network traffic. metze (This used to be commit 5b01206f1bb2e62c08bda34b45904ec4f83ac5de)
2008-06-09libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if requiredStefan Metzmacher1-1/+2
This fixes ./autogen.sh with autoconf-2.62 metze (This used to be commit 72bb01dda4d425528e28cd96e249595dc6c1952f)
2008-06-09libreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_Stefan Metzmacher1-4/+4
AC_CACHE_VAL() variables must contain _cv_ to be cached. metze (This used to be commit 67e43860b4973a458676b36785570bb4a66e046a)
2008-06-08Make it possible to disable gnutls at configure time,Simo Sorce1-25/+36
until someone will finally decide to fix it. (This used to be commit 0671dce355432a2a4c08ab010831eadd73e4561e)
2008-06-08Add more docstrings in tdb.Jelmer Vernooij3-2/+26
(This used to be commit 3d798a1440603b7929955f2120f09ba1482885a1)
2008-06-04copied the Heimdal sha256 functions into lib/crypto to avoid a linkAndrew Tridgell5-3/+327
error Hopefully we can remove this again later (This used to be commit fa2ecfea7a1acc388a86e8fba5b42df7925c9045)