summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-117-8/+7
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell2010-12-091-4/+2
| | | | | | | | we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104
* waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell2010-12-091-2/+1
| | | | | | | | | | | | | This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:ldb: add ABI/ldb-0.9.20.sigsStefan Metzmacher2010-12-081-0/+245
| | | | metze
* s4:ldb: build libldb and pyldb-util as private libraries when building for ↵Stefan Metzmacher2010-12-081-3/+12
| | | | | | | | samba4 This matches the behavior of the talloc and tdb builds. metze
* ldb: bump version number after introduction of new constant.Jelmer Vernooij2010-12-081-1/+1
|
* s4-acl: Fixed incorrect value of LDB_FLAG_INTERNAL_INACCESSIBLE_ATTRIBUTENadezhda Ivanova2010-12-081-1/+1
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 8 13:31:48 CET 2010 on sn-devel-104
* s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2010-12-083-3/+3
| | | | | | | | this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
* s4-ldb: added @LIB_RPATH@ to the ldb pc fileAndrew Tridgell2010-12-081-1/+1
|
* s4-acl: Added a flag to mark an element as failing an access check.Nadezhda Ivanova2010-12-081-0/+3
|
* s4-ldb: use RTLD_DEEPBIND if available for ldb modulesAndrew Tridgell2010-12-081-1/+13
| | | | | | | this allows us to avoid issues with ldb using heimdal while an application using ldb using MIT kerberos Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: ensure ldb_register_samba_handlers() is not done twiceAndrew Tridgell2010-12-081-2/+10
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:fix some shadowed declaration warnings on Solaris by renaming the symbolsMatthias Dieter Wallnöfer2010-12-062-3/+3
|
* s4:lib/messaging/*.h - fix compile warnings on gcc 3.4Matthias Dieter Wallnöfer2010-12-052-3/+2
| | | | For example on OpenSolaris
* tls_tstream: use a dynamic buffer for the push caseStefan Metzmacher2010-12-041-6/+21
| | | | | | | | | Some versions of gnutls doesn't handle EAGAIN correctly, so we better allow sending buffers without a low size limitation, the limit is now UINT16_MAX (0xFFFF) and we allocate the buffer with talloc each time. metze
* tls_tstream: increase the buffer sizeMatthieu Patou2010-12-041-1/+1
| | | | | | | | | | | | | | | | The problem is that with certain version of gnutls are not working properly if the server is sending in different packet things like (at least) * Certificate * Server Key exchange * Client certificate Somehow it really expect this to be done in one packet as some structures used _gnutls_send_handshake are reinitialized at every packet exchange and intermediate steps didn't expect it Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/ldb: fix shell syntax error in test scriptBjörn Jacke2010-12-021-2/+2
|
* ldb:ldb_msg_add_value - fix here a wrong memory contextMatthias Dieter Wallnöfer2010-12-011-1/+2
| | | | A value array allocation should belong to "msg->elements" not "msg" directly
* pyregistry: Use talloc.Object.Jelmer Vernooij2010-12-011-4/+9
|
* s4:lib/tls/tls_tstream.c - quiet warning on Solaris "cc" by castsMatthias Dieter Wallnöfer2010-11-291-2/+2
|
* s4-loadparm: use loadparm_init_global() instead of loadparm_init()Andrew Tridgell2010-11-291-1/+1
| | | | | | | this prevents us having two lp_ctx contexts in these tools which leads to bizarre behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:lib/registry/rpc.c - remove a duplicate assignmentMatthias Dieter Wallnöfer2010-11-271-1/+0
|
* ldb-tdb: Add more information about full scanMatthieu Patou2010-11-261-1/+7
|
* pyldb: Fix broken test.Jelmer Vernooij2010-11-232-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104
* s4-ldb: added an environment varibale LDB_WARN_UNINDEXEDAndrew Tridgell2010-11-236-10/+16
| | | | | | when LDB_WARN_UNINDEXED is set, we produce warnings about unindexed searches. This makes it easier to find performance problems caused by unindexed searches.
* Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher2010-11-223-10/+10
| | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
* s4-ldb: fixed the build with a space in the ldb modules directory nameAndrew Tridgell2010-11-211-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 21 13:57:14 CET 2010 on sn-devel-104
* ldb:rdn_name LDB module - add more RDN name constraintsMatthias Dieter Wallnöfer2010-11-201-5/+17
| | | | | | | And some small cleanups Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 20 00:06:35 CET 2010 on sn-devel-104
* ldb:ldb_rename on ldap backends - handle the case when the RDN value is emptyMatthias Dieter Wallnöfer2010-11-192-2/+2
| | | | Otherwise we get "<RDN name>=(null),..."
* s4-ldb.python: Use $SELFTEST_PREFIX/tmp as a temporary directory for testingKamen Mazdrashki2010-11-181-1/+6
| | | | | | | This way we won't flood /tmp directory with temp files Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Nov 18 23:11:18 CET 2010 on sn-devel-104
* s4-ldb.python: add test for ldb.Message.from_dict() methodKamen Mazdrashki2010-11-181-0/+17
|
* s4-pyldb: ldb.Message.from_dict class method to create LdbMessage object ↵Kamen Mazdrashki2010-11-181-0/+44
| | | | from dictionary
* s4-pyldb: Move code to create a ldb_message from a Python Dictionary object ↵Kamen Mazdrashki2010-11-181-46/+73
| | | | into a separate function
* s4-pyldb_util: Move ldb Type searching into separate functionKamen Mazdrashki2010-11-181-18/+28
|
* s4-pyldb: Few miss-alignments alignedKamen Mazdrashki2010-11-181-9/+8
|
* s4-pyldb: Move PyLdbMessage_FromMessage() in PyMessage group of functionsKamen Mazdrashki2010-11-181-1/+1
|
* s4-pyldb: Fix wrong type of 'self' parameterKamen Mazdrashki2010-11-181-1/+1
|
* Revert "s4:api.py - DN tests - test a bit more special DNs and merge the ↵Matthias Dieter Wallnöfer2010-11-181-44/+1
| | | | | | | | | | comparison tests" This reverts commit 732ef9353dff56384e8bb01aa20d2a371cd995c2. Jelmer doesn't like to have these tests there. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 18 17:46:38 UTC 2010 on sn-devel-104
* ldb: error out when modules are not foundSimo Sorce2010-11-181-1/+1
| | | | | | | | We shouldn't proceed without all required modules, it could cause damage to the ldb if operations are performed w/o the needed modules. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Nov 18 14:02:34 UTC 2010 on sn-devel-104
* ldb:skel.c - don't introduce trailing whitespaces by a module templateMatthias Dieter Wallnöfer2010-11-181-2/+2
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 18 12:08:30 UTC 2010 on sn-devel-104
* s4:api.py - DN tests - test a bit more special DNs and merge the comparison ↵Matthias Dieter Wallnöfer2010-11-181-11/+47
| | | | tests
* ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'dMatthias Dieter Wallnöfer2010-11-181-1/+1
|
* ldb:ldb_dn.c - ldb_dn_explode - free also the extended components on error casesMatthias Dieter Wallnöfer2010-11-171-1/+4
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 17 08:45:53 UTC 2010 on sn-devel-104
* s4-ldif_handlers Add handler for printing supplementalCredentialsAndrew Bartlett2010-11-162-1/+24
|
* Re-enable ldb-cmdline for the moment, as it is used by oLschema2ldif.Jelmer Vernooij2010-11-141-5/+5
|
* Don't build ldb tools when there is a system provided ldb.Jelmer Vernooij2010-11-141-13/+13
|
* ldb:ldb_ldap.c rename operation - check for the RDN name and valueMatthias Dieter Wallnöfer2010-11-111-3/+11
| | | | Make it more similar to "ldb_ildap.c" and also more save
* s4:dsdb - proof against empty RDN values where expectedMatthias Dieter Wallnöfer2010-11-111-3/+12
| | | | This should prevent crashes as pointed out on the mailing list.
* s4-pyldb: Handle internal errors in py_ldb_contains() properlyKamen Mazdrashki2010-11-101-4/+9
| | | | | | | | It is an exceptional condition for ldb_search() to return more than one results during SCOPE_BASE search on DN Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Nov 10 09:02:00 UTC 2010 on sn-devel-104
* s4:pyldb.c - fix "py_ldb_contains" according to the comment by JelmerMatthias Dieter Wallnöfer2010-11-081-4/+2
|