summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* lib: prepare the build of zlibStefan Metzmacher2008-08-073-0/+32
| | | | | metze (This used to be commit 159df68c04c9ae437ab48991154e91161ef72754)
* zlib: add inflateReset2()...Stefan Metzmacher2008-08-073-3/+28
| | | | | metze (This used to be commit 2a4fb661d7e3d601a5eb9ccecb4d4f2b07073097)
* import of zlib-1.2.3Stefan Metzmacher2008-08-07200-0/+54035
| | | | | | | | We want to use zlib for the mszip ndr (de)compression later, we'll need to add some new functions to zlib. metze (This used to be commit 65c9e91a1bb24851a030a304d011558562cc50d6)
* libreplace: include <krb5.h> and <com_err.h> and no heimdal specific headersStefan Metzmacher2008-08-011-2/+3
| | | | | metze (This used to be commit cffed8e19e22a1fa7b7a322b153df5d54e4c3be2)
* lib/crypto: remove dependency to internal heimdalStefan Metzmacher2008-08-011-2/+21
| | | | | metze (This used to be commit 9138fc6639fae7a5567c395254277199c89b0dcb)
* lib/ldb/tools: allow -W and --realm when build from samba4Stefan Metzmacher2008-07-261-0/+1
| | | | | metze (This used to be commit 0aa6d63ec571b0ca05fbfe14d2b4e9ba3e1082e9)
* Define HAVE_ASM_BYTEORDER at all timesBrad Hards2008-07-251-2/+4
| | | | (This used to be commit 396ea14732d667960091f4a2570341059914ecb6)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell2008-07-242-4/+5
|\ | | | | | | (This used to be commit 24309dbf4d9622fcfafa29ef98bc0459fdaa814b)
| * Sleep longer in the hope that the OpenLDAP backend might catch upAndrew Bartlett2008-07-211-2/+2
| | | | | | | | (This used to be commit 63c80c885dc3fb2228f082be8db752bb29e3962e)
| * Fix ldb_map to add/remove the same 'extra' objectclassAndrew Bartlett2008-07-211-2/+3
| | | | | | | | | | | | | | | | | | | | The code previously added data->add_objectClass, but only removed the fixed objectclass of extensibleObject. Found by the ldap.py test. Andrew Bartlett (This used to be commit 4fa15c3173a997fa0b9041161d81e742e1fdb41c)
* | fixd a bug in the signal handling code - we could get phantom signalsAndrew Tridgell2008-07-241-5/+5
|/ | | | | (signum 64) (This used to be commit af7fb2e38ba27cf8058eb1cef1f96bbc7b19849f)
* Another kludge to let the OpenLDAP backend catch up.Andrew Bartlett2008-07-161-0/+2
| | | | | | | This will go away when this is handled in an internal transation. Andrew Bartlett (This used to be commit f567e17758cfe937249beafae0a9087b67b27755)
* Remove C++ keywords from events.h header.Andrew Bartlett2008-07-141-4/+4
| | | | | Andrew Bartlett (This used to be commit 7ca421eb32bed3c400f863b654712d922c82bfb9)
* ldb_map: eliminate "discards qualifyer" warning (const).Michael Adam2008-07-091-1/+1
| | | | | Michael (This used to be commit b7c14af3790bcf825367a7f16d2aaa375b04393c)
* Revert "tdbtool: fix off-by-one error in argument length. (bug #2344)"Michael Adam2008-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115. This fix is not valid: 1. convert_string() is not only used for key strings but also for data. 2. Some databases use string_tdb_data() i.e. non-null-terminated strings as keynames and others (like the one I was using), use string_term_tdb_data(), i.e. zero-terminated key strings. After discussion with Metze, the easiest (and proper way) to handle this is to specify key names as "keyname\0" for databases which use string_term_tdb_data(). Sorry for the noise... Michael (This used to be commit 17c012c4645f4e9542537c15f80d9b4e74304d11)
* tdbtool: fix off-by-one error in argument length. (bug #2344)Michael Adam2008-07-081-1/+1
| | | | | | | | | | | | | | This prevented all commands operating on keys (all non-traverse commands) in tdbtool to fail with a "fetch failed" or "delete failed" message. It seems that it fixes bug #2344 ... Apparently this bug was introduced with 94e53472666ed in 2005. Either nobody is using tdbtool or else tdb_find() has become more strict about the key legth in the meantime. :-) Michael (This used to be commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115)
* packet: make it possible to free the packet_context from the send_callbackStefan Metzmacher2008-07-071-0/+6
| | | | | | metze (cherry picked from commit 20795c4a0d5f75561561470231de1a2fad2906ff) (This used to be commit 5d5b4e4ab23e1c630dfde2b9f296681e3979c4e0)
* Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of ↵Jeremy Allison2008-07-021-0/+3
| | | | | | | strlcat gives error. Jeremy. (This used to be commit e633dc4ec2d72c3d34b5e096e0460e07e07ab514)
* Move ad2oLschema and oLschema2ldif into Samba4, out of LDBAndrew Bartlett2008-07-025-1613/+0
| | | | | | | | | | LDB does not know about nor process the AD schema, so it makes no sense to have this tool there. I've been changing it anyway, to use a common schema manipulation library, and will enhance these links in the future. Andrew Bartlett (This used to be commit c7704805b9a3541e4c8768278c8289b0aa6ed5e3)
* Collapse auxillary classes in LDAP schema conversion.Andrew Bartlett2008-07-021-4/+106
| | | | | | | | | | | MS-ADTS 3.1.1.3.1.1.5 describes the behaviour of auxiliary classes. In effect, these are additional MUST or MAY attributes that are appeneded to the parent class (the auxiliary does not become listed in the objectClass attribute), and so we do just that, and merge them here, for export to OpenLDAP as it's schema. Andrew Bartlett (This used to be commit d674e92591ea90eb3b2117d8dd21f79f718d7730)
* ldb_ildap: don't force the build as shared_moduleStefan Metzmacher2008-06-301-1/+0
| | | | | metze (This used to be commit 0aef6d394d7a93cce9aee17af1153b07ea1a9c07)
* lib/talloc: build as MERGED_OBJ instead of STATIC_LIBRARYStefan Metzmacher2008-06-301-1/+1
| | | | | metze (This used to be commit 5bf414efbdf279fd1b85eb47e7b47656bc435f11)
* lib/events: build as MERGED_OBJ instead of STATIC_LIBRARYStefan Metzmacher2008-06-301-1/+1
| | | | | metze (This used to be commit a2a506ba2e044699d147486e987b11d839373784)
* ldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)Stefan Metzmacher2008-06-304-164/+201
| | | | | metze (This used to be commit 1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd)
* Relax the ldap.py tests so that they pass against OpenLDAP CVS.Andrew Bartlett2008-06-301-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)
* Loosen ldap.py tests on the LDAP backend.Andrew Bartlett2008-06-301-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)
* Non-zero exit code on failure.Jelmer Vernooij2008-06-281-3/+6
| | | | (This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)
* tdb_unpack: Eliminate "cast to pointer from integer of different size" ↵Michael Adam2008-06-271-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)
* Remove events from require line:Julien Kerihuel2008-06-271-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)
* lib/ldb: add forward declaration for struct event_contextStefan Metzmacher2008-06-271-0/+1
| | | | | metze (This used to be commit 9bbdc682a985f210874c008a0abc25645e7fbd50)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2008-06-275-58/+60
|\ | | | | | | (This used to be commit 9607e79c3db9743617397c347bb69f87f6525801)
| * Only try to detect the events lib dir if it wasn't set earlier.Jelmer Vernooij2008-06-261-10/+12
| | | | | | | | (This used to be commit 3f48f68800176d992a1bd9b6349f22ec152fc34a)
| * Fix another reference to ldbdir.Jelmer Vernooij2008-06-251-1/+1
| | | | | | | | (This used to be commit 6416b637ea6570edd27eb8ef3005c408d311f3a3)
| * Use ldbsrcdir rather than ldbdir.Jelmer Vernooij2008-06-251-31/+31
| | | | | | | | (This used to be commit 25f500d2233198b88c1d54268f5f6f461cea75d9)
| * Use variable for popt source dir.Jelmer Vernooij2008-06-251-1/+1
| | | | | | | | (This used to be commit effc25e805facea001ebd64d383f1a536c61d0e3)
| * Use ldbsrcdir rather than ldbdir.Jelmer Vernooij2008-06-252-15/+15
| | | | | | | | (This used to be commit a422c6c5ff47f36ef3376f54e707561c6a53ac23)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2008-06-201-0/+1
|\| | | | | | | (This used to be commit edd9ecce9511871d9c9942d50eb91c68a8e04ec9)
| * Include events_util.h in events_aio.cVolker Lendecke2008-06-191-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)
* | Depend on NDR_DRSBLOBS explicity.Andrew Bartlett2008-06-201-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)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into ↵Jelmer Vernooij2008-06-172-20/+0
|\ | | | | | | | | | | v4-0-fixmodulesdir (This used to be commit 30a33cd0a64c434d6aee551f641343c3b2a6d9ca)
| * Change our module code to not use the special symbol name init_module()Andrew Tridgell2008-06-172-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)
* | Make sure events pc file gets installed.Jelmer Vernooij2008-06-171-0/+2
| | | | | | | | (This used to be commit e12c0b61573f27969a79d4c07a8fd42f6c931d7e)
* | Avoid including events_util.h in events_internal.h since the latter isJelmer Vernooij2008-06-177-2/+6
| | | | | | | | | | installed. (This used to be commit 7a7e8f30dd3e5bfad788a098872afa8263321cbb)
* | Change order of includes in swig file to avoid warnings.Jelmer Vernooij2008-06-162-2/+2
|/ | | | (This used to be commit 0e1fccbd73eb0f219ea9662c56ee6da8a92f641a)
* Add include in swig file as well.Jelmer Vernooij2008-06-162-1/+2
| | | | (This used to be commit c623313189728dd0553384e2e115cf10db4c7f25)
* Fix ldb_wrap.cSimo Sorce2008-06-161-0/+1
| | | | (This used to be commit fd9f7c56752a06433cc26fa61a16d87941cbb2d3)
* Fix cleanup.Simo Sorce2008-06-151-4/+9
| | | | (This used to be commit acbe365e34571218fe312f52edec98f4fe5b76be)
* Note that making ldb the event context parent seem to lead to races whenSimo Sorce2008-06-151-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)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into ↵Jelmer Vernooij2008-06-154-183/+263
|\ | | | | | | | | | | v4-0-fixmodulesdir (This used to be commit 1659a572c49b2f9cf336b27ec1c1bec1b86d688e)
| * Cleanup.Simo Sorce2008-06-151-23/+29
| | | | | | | | | | Remove trailing spaces and try to fit 80 column where possible. (This used to be commit b32a040c2f0eb28d68837bde727437ca118d1b18)