summaryrefslogtreecommitdiff
path: root/lib/ldb-samba
Commit message (Collapse)AuthorAgeFilesLines
* ldb-samba: fix a memory leak in ldif_canonicalise_objectCategory()Stefan Metzmacher2014-07-191-1/+6
| | | | | | | | | | | | | | | | | | Searches for '(objectCategory=Person)' will leak a ldb_dn structure on the ldb_context. These searches are typically used by Zarafa. Bug: https://bugzilla.samba.org/show_bug.cgi?id=10469 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jul 17 00:51:57 CEST 2014 on sn-devel-104 (cherry picked from commit 8d33cddcb001a5a78aca036161d6223268274211) Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Sat Jul 19 05:25:12 CEST 2014 on sn-devel-104
* lib/ldb-samba: only debug LDB_DEBUG_TRACE at level 10Stefan Metzmacher2013-07-241-1/+1
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Björn Jacke <bj@sernet.de> (cherry picked from commit 5f93822ede7ec3dc79a8057174342b2c6bb94a3b)
* lib/ldb-samba: make use of DBGC_LDBStefan Metzmacher2013-07-241-0/+2
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Björn Jacke <bj@sernet.de> (cherry picked from commit 8e0752f4d6feea35304377222d3dd487355e4120)
* s4-dsdb: Avoid printing secret attributes in ldb trace logsAndrew Bartlett2012-08-291-0/+8
| | | | | | | | | | | These are printed when Samba has debug level 10, which is often used for debugging. To indicate that these attributes are secret, we set an opaque. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Aug 29 06:04:33 CEST 2012 on sn-devel-104
* LDB:ldif_handlers.c - LDB_OP_GREATER/LDB_OP_LESS are thought as ">=" or "<="Matthias Dieter Wallnöfer2012-08-221-2/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* build: rename security → samba-securityBjörn Jacke2012-08-101-1/+1
| | | | | | | | | there is a libsecurity on OSF1 which clasheѕ with our security lib. see bug #9023. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 10 14:22:21 CEST 2012 on sn-devel-104
* s4-ldb_wrap: Do not vasprintf() the ldb debug messages that will not be shownAndrew Bartlett2012-08-091-5/+7
| | | | | | | | | | This malloc() and free() actually shows up quite high on a call profile of provision of the AD DC. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 9 13:51:06 CEST 2012 on sn-devel-104
* ldb: use tdb directly, not tdb_compat.Rusty Russell2012-06-192-3/+4
| | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ldb_wrap.c: fix TDB2-incompatible API usage.Rusty Russell2012-01-301-1/+1
| | | | | | | | | Auditing revealed one place still expecting a -1 return on failure: tdb2 returns the (negative) errcode directly, so the portable way to do this is to check for != 0. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ldif-handler: Fix the case for attribute dnspropertyAmitay Isaacs2011-12-231-1/+1
|
* ldb-samba: Added handler to decode dnsProperty attributeAmitay Isaacs2011-10-202-0/+22
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-ldb: enable display of partialAttributeSet with --show-binaryAndrew Tridgell2011-10-042-1/+23
|
* s4-ldb: allow decoding of trustAuthIncoming and trustAuthOutgoingAndrew Tridgell2011-09-052-0/+23
| | | | | | | this allows --show-binary to display trustAuthOutgoing and trustAuthIncoming NDR blobs. Useful for debugging trust issues Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-181-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij2011-08-071-6/+6
|
* s4-ldb: two DNs only match if they have the same deletion statusAndrew Tridgell2011-08-041-0/+13
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Aug 4 09:34:08 CEST 2011 on sn-devel-104
* ldb: changed DN matching rules to obey GUID/SID/string orderingAndrew Tridgell2011-08-041-0/+54
| | | | | | | | when matching two DNs, the GUID takes priority, then the SID, then the string component Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* ldb-samba: Explain the current behaviour of ldif_canonicalise_objectCategoryAndrew Bartlett2011-08-031-2/+7
|
* ldb-samba: Allow --show-binary flag on defaultSecurityDescriptorAmitay Isaacs2011-07-282-0/+31
| | | | | | | | This allows users to display defaultSecurityDescriptor in fully expanded form. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-059-0/+3191
Signed-off-by: Andrew Tridgell <tridge@samba.org>