Commit Graph

69 Commits

Author SHA256 Message Date
Lars Müller
787c85092f - Update to 1.1.24.
+ fix LDAP \00 search expression attack DoS; CVE-2015-3223; (bso#11325)
  + fix remote read memory exploit in LDB; CVE-2015-5330; (bso#11599)
  + move ldb_(un)pack_data into ldb_module.h for testing
  + fix installation of _ldb_text.py
  + fix propagation of LDB errors through TDB
  + fix bug triggered by having an empty message in database during search

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=90
2015-12-16 13:15:26 +00:00
Lars Müller
76a43553e0 ppc64 fails while running make test
exclude it for now

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=88
2015-11-11 21:51:35 +00:00
Lars Müller
997187a9e7 Tweak the filelist for CentOS, Fedora, and RHEL
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=87
2015-11-11 21:27:20 +00:00
Lars Müller
277310a866 Enable make test again
by pointing LD_LIBRARY_PATH and LDB_MODULES_PATH to the just built
binaries

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=86
2015-11-11 21:16:25 +00:00
Lars Müller
29c4ec69e6 Add python3-ldb to baselibs.conf
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=85
2015-11-11 20:42:00 +00:00
Lars Müller
f69039083c - Update to 1.1.23; (bsc#954658).
+ Test improvements
  + Improved python3 bindings; (bsc#951911)
  + Minor build fixes

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=84
2015-11-11 20:35:00 +00:00
Lars Müller
0cc340c0a8 Fix r80 by removing duplicates lines from the filelist
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=82
2015-10-30 15:30:43 +00:00
Lars Müller
145847dff2 Document the API doc installation
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=81
2015-10-30 14:52:02 +00:00
Lars Müller
9570f942b4 - Add doxygen at build time to add the development documentation.
- Disable rpath-install and silent-rules while configure.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=80
2015-10-30 14:46:00 +00:00
Lars Müller
82e54a4e5c Add .0 suffix to the version
and revert the previous -<release> addition to baselibs.conf
Instead we add a .0 suffux to the version

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=78
2015-10-26 13:43:08 +00:00
Lars Müller
3fa8309e23 Add missing -<release> to obsoletes pyldb
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=77
2015-10-26 13:17:23 +00:00
Lars Müller
7f75e83a5d Add release to the obsoletes lines
Else we can't update as the version wasn't bumped

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=76
2015-10-26 10:15:56 +00:00
Lars Müller
954d9419bd Obsolete pyldb from baselibs.conf too
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=75
2015-10-25 21:11:38 +00:00
Lars Müller
2b65e90392 Accepting request 340502 from home:lmuelle:pysamba
Rename pyldb to python-ldb.

OBS-URL: https://build.opensuse.org/request/show/340502
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=74
2015-10-22 21:50:20 +00:00
Lars Müller
76f606b6c4 Update the Samba Library Distribution Key file 'ldb.keyring'; (bso#945116).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=72
2015-09-09 20:24:43 +00:00
Lars Müller
1b9d100535 Accepting request 329604 from home:lmuelle:branches:network:samba:STABLE
- Move the ldb-cmdline library to the ldb-tools package as the packaged
  binaries depend on it.

- Update the Samba Library Distribution Key file 'ldb.keyring'.

OBS-URL: https://build.opensuse.org/request/show/329604
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=70
2015-09-07 22:10:11 +00:00
Lars Müller
96dbb043c1 Add missing bug reference
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=68
2015-07-22 09:03:07 +00:00
Lars Müller
781fe6ac4b - Update to 1.1.21.
+ build fixes
  + improved python bindings

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=67
2015-07-22 07:41:58 +00:00
Lars Müller
372cf78e4d Enhance the package change log
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=65
2015-07-06 20:03:16 +00:00
Lars Müller
c5e08a957c Cleanup change log and prune accidently added lines
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=63
2015-03-01 13:57:39 +00:00
Lars Müller
c22e8ead74 - Update to 1.1.20.
+ ldb: fix logic in ldb_val_to_time()
  + ldb-samba: Add comment dicouraging use of schemaUpgradeInProgress
  + ldb-samba-tests: Add tests for transitive matching rule
  + ldb-samba: Implement transitive extended matching

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=62
2015-03-01 13:41:42 +00:00
Lars Müller
437e8fc6d8 - Update to 1.1.19.
+ Allow to register extended match rules

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=60
2015-01-13 15:06:50 +00:00
Lars Müller
dce1ac5a0d - Update to 1.1.18.
+ fix a typo in the comment, LDB_FLAGS_MOD_xxx -> LDB_FLAG_MOD_xxx
  + Fix check for third_party
  + make the successful ldb_transaction_start() message clearer
  + ldb-samba: fix a memory leak in ldif_canonicalise_objectCategory()
  + ldb-samba: Move pyldb-utils dependency to python_samba__ldb
  + build: improve detection of srcdir

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=58
2014-12-21 20:30:31 +00:00
Lars Müller
a866ec473e Use the upstream tar ball, as signature verification is now able to handle
compressed archives.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=56
2014-11-06 13:32:56 +00:00
Lars Müller
b86b35402f Remove dead reference to samba-library-distribution-pubkey_13084025.asc
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=55
2014-10-28 15:50:28 +00:00
Lars Müller
a123d39e8d Remove dependency on gpg-offline as signature checking is implemented in the
source validator.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=54
2014-10-28 15:41:45 +00:00
Lars Müller
e9039b2745 Add missing article and polish the wording.
BuildRequire docbook-xsl-stylesheets and libxslt to process the man pages.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=52
2014-09-23 20:09:58 +00:00
Lars Müller
05b9251568 Cleanup and simplification of the revious commit as used in the talloc
package.

BuildRequire docbook-xsl-stylesheets and libxslt to generate man pages.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=51
2014-09-23 19:56:28 +00:00
Lars Müller
2706e07fbd BuildRequire docbook-xsl-stylesheets and libxslt-tools and add the man pages
to the tools package.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=50
2014-09-23 18:17:56 +00:00
Lars Müller
72d1838f7f Use plain libldb instead of the name including the major version.
That's how we handled it with tdb too.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=48
2014-05-24 12:58:47 +00:00
Lars Müller
12405bfabd Require pkg-config from the devel sub packages and do not BuildRequire it
from libldb1.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=47
2014-05-23 21:53:29 +00:00
Lars Müller
f84dc5b3ac Require pkg-config from the devel sub packages and not from the main one.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=46
2014-05-23 15:59:27 +00:00
Lars Müller
da419372ef Remove superfluous build requirement to pkg-config from the main package.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=45
2014-05-23 15:44:38 +00:00
Lars Müller
7686e011c0 - Update to 1.1.17.
+ pyldb: add some more helper functions for LdbDn
  + pyldb: fix doc string for set_extended_component()
  + pyldb: add some const to PyObject_FromLdbValue()
  + Add a env variable to disable RTLD_DEEPBIND.
  + ldb_ildap: Map some wrong username/password errors on to
    LDB_ERR_INVALID_CREDENTIALS
  + pass module init errors back to the caller
  + Return LDB_ERR_INSUFFICIENT_ACCESS_RIGHTS rather than OPERATIONS_ERROR on
    EACCES and EPERM
  + Fix 1138330 Dereference null return value
  + bad if test in ldb_comparison_fold()
  + use of NULL pointer bugfix
  + Fix CID 241329 Array compared against 0
  + Fix CID 240798 Uninitialized pointer read
  + rdn_name: reject 'distinguishedName' depending of the MOD flags
  + Show the type of failing operation in default error message
  + Do not build libldb-cmdline when using system ldb.
  + ldb_map: Fix CID 1034791 Dereference null return value
  + Fix a const warning

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=43
2014-05-05 11:53:35 +00:00
Lars Müller
2d3b7aa6af Rename pubkey filename to follow upstream naming convention.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=41
2013-12-06 17:00:35 +00:00
Lars Müller
85f81a43c1 Reorder BuildRequires lines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=40
2013-12-06 12:34:41 +00:00
Lars Müller
5f2ceed6b2 Verify source tar ball gpg signature.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=39
2013-12-06 12:17:59 +00:00
Lars Müller
7b61692713 PreReq ldconfig from pyldb as we us it in %post and %postun.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=37
2013-08-29 11:47:32 +00:00
Lars Müller
15b22a3983 Consolidate python files in independent pyldb subpackages.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=36
2013-08-29 11:43:46 +00:00
Lars Müller
420539273a Add pyldb to baselibs.conf.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=35
2013-08-29 10:43:44 +00:00
Lars Müller
abb034a6fc Consolidate python files in the independent pyldb subpackage.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=34
2013-08-29 10:17:31 +00:00
Lars Müller
299456e778 - Update to 1.1.16.
+ Bump version to allow a depencency on the substring crash fix.
  + Cope with substring match with no chunks in ldb_filter_from_tree().
  + Ensure not to segfault on a filter such as (mail=).
  + Add missing dependency on replace for ldb.
  + Add more data test data for one level test cases.
  + Add tests for the python api.
  + Add more tests related to onelevel search.
  + Use strncmp instead of strcmp when comparing the val part.
  + Make test output more readable.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=32
2013-07-02 10:47:04 +00:00
Lars Müller
069f7327fe Remove duplicated change log lines.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=30
2013-02-08 23:02:57 +00:00
Lars Müller
e2a669046b - Update to 1.1.15.
+ Ensure to decrement the transaction_active whenever we delete
    a transaction.
  + Remove no-longer-existing ltdb_unpack_data_free from ldb_tdb.h.
  + Change ltdb_unpack_data to take an ldb_context.
  + Move doxygen comments for ldb_connect to the right place.
  + Fix callers for ldb_pack_data() and ldb_unpack_data().
  + move ldb_pack.c into common.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=29
2013-02-06 11:18:25 +00:00
Lars Müller
90330d5af0 - Update to 1.1.14.
+ fixed callers for ldb_pack_data() and ldb_unpack_data()
  + move ldb_pack.c into common
  + Add ldbdump, based on tdbdump
  + Remove no-longer-existing ltdb_unpack_data_free from ldb_tdb.h
  + Change ltdb_unpack_data to take an ldb_context
- Update to 1.1.13.
  + Don't use "isprint" in ldb_binary_encode(); (bso#9147).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=27
2012-12-02 18:01:23 +00:00
Lars Müller
2eab73a881 - Update to 1.1.12.
+ Avoid printing secret attributes in ldb trace logs

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=25
2012-09-03 10:06:08 +00:00
Lars Müller
d115c341db - Update to 1.1.11.
+ LDB:ldb_tdb.c - deny multi-valued attributes manipulation with doublets
  + LDB:ldbsearch - add search filter tests
  + LDB:ldbsearch - search filters do not only contain "="
  + lib/ldb: Use tdb_parse_record and a callback rather than tdb_fetch()
- BuildRequire tevent version >= 0.9.17.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=24
2012-08-30 16:40:15 +00:00
Lars Müller
b8ae2db51a Remove superfluous ldb-tools rpmlintrc file.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=22
2012-08-16 09:49:42 +00:00
Lars Müller
28ef07022b Merge missing change set from home:dmdiss:samba_libs_final/ldb
- Tag GPL-3.0+ based on tdb license; (bnc#765270).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=21
2012-08-15 16:41:13 +00:00
Lars Müller
410269bd5b - Update to 1.1.10.
+ Enhancements and fixes to the s3 read, sesssetup, and server functions
  + s3: Fix a crash in reply_lockingX_error
  + s3:libsmb, smbd, and s4:libcli: add EXTENDED_SIGNATURE support in tcon
  + s3:rpc_server: make usage of session_extract_session_key()
  + s3:smb2_*: make use of SMBD_SMB2_*()
  + s4 and libcli: enahncements and fixes

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=20
2012-08-09 20:59:43 +00:00