Commit Graph

50 Commits

Author SHA256 Message Date
Lars Müller
7f7512fcff - Update to 1.1.26; (bsc#954658).
+ let a timeout of -1 indicate no timeout for a given request
  + fix memory leaks in pyldb ldb.search()
  + build fixes
  + improve pyldb ldb.search() help message
  + add pyldb ldb.search_iterator() api
  + add LDB_ATTR_FLAG_FORCE_BASE64_LDIF as optional argument
    to ldb_schema_attribute_add()
  + add client support for LDB_CONTROL_DIRSYNC_EX

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=95
2016-02-19 21:56:01 +00:00
Lars Müller
82478106fa - Update to 1.1.25; (bsc#954658).
+ torture: test ldb_unpack_data_only_attr_list
  + increment version due to added ldb_unpack_data_only_attr_list
  + introduce ldb_unpack_data_withlist to unpack partial list of attributes

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=93
2016-01-27 13:38:43 +00:00
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
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
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
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
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
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
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
Lars Müller
c14c280aac Add BuildRequire pytalloc-devel to the package change log.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=19
2012-08-08 10:25:49 +00:00
Lars Müller
ddef7fb0ae - Update to 1.1.9.
+ Ensure rename target does not exist before deleting old record.
  + Add parameter to avoid NULL format string flagged by -Werror=format.
- Update to 1.1.8.
  + Fixes for pyldb.
  + Drop support for tdb_compat.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=18
2012-08-08 09:59:51 +00:00
Lars Müller
a865abcc94 Disable rpath while configure.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=16
2012-06-28 16:35:11 +00:00
Lars Müller
641b973225 Define library name and use it instead of libldb1.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=13
2012-06-03 21:23:58 +00:00
Lars Müller
58308accd4 Add missing post, postun, and files part to the libldb1 package.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=11
2012-06-03 14:07:42 +00:00
Lars Müller
55e6e6cccb - Rename package to ldb and add an independent libldb1 subpackage.
- Enhance and polish the package descriptions and summaries.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=10
2012-06-02 16:02:22 +00:00
Lars Müller
9288648cfa BuildIgnore libtalloc to prevent a package conflict on Fedora systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=9
2012-06-01 15:28:08 +00:00
Lars Müller
2ae218e0d8 BuildRequire popt-devel.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=8
2012-06-01 15:00:29 +00:00
Lars Müller
c6fffb5bb6 Define python_sitearch if undefined.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=7
2012-05-31 22:43:53 +00:00
Lars Müller
c5ce93bd26 - Define and use talloc, tdb, and tevent version macros.
- Define python_version if undefined.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=6
2012-05-31 22:29:05 +00:00
Lars Müller
3a10c28000 - BuildRequire libtalloc-devel, libtdb-devel, and libtevent-devel.
- Configure with bundled tdb2 library.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=5
2012-05-31 14:04:46 +00:00
Lars Müller
e1ba914827 - Cleanup BuildRequires and spec file in general.
- BuildRequire libtalloc2-devel >= 2.0.7.
- BuildRequire libtalloc2-devel, libtdb1-devel, and libtevent0-devel.
- Adjust license string.
- Require libldb1 = %{version} from the devel package.
- Initial independent libldb1 package.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=2
2012-05-25 11:13:14 +00:00