Commit Graph

81 Commits

Author SHA256 Message Date
2c380907b8 Accepting request 818586 from home:npower:samba-update
- Release ldb 2.1.4
  + CVE-2020-10730: NULL de-reference in AD DC LDAP server when
    ASQ and VLV combined; (bso#14364); (bsc#1173159)

OBS-URL: https://build.opensuse.org/request/show/818586
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=151
2020-07-03 13:54:21 +00:00
acc3c5b04e Accepting request 807743 from home:dmulder:branches:network:samba:STABLE:x6up_l_j
ldb: Bump version to 2.1.3; (bso#14330)

OBS-URL: https://build.opensuse.org/request/show/807743
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=149
2020-05-20 15:53:45 +00:00
12c250d706 Accepting request 798846 from home:npower:update_samba_4.12.2
- Release ldb 2.1.2
  + CVE-2020-10700: ldb: Always use ldb_next_request() in
    ASQ module; ;(bso#14331); (bsc#1169850).

OBS-URL: https://build.opensuse.org/request/show/798846
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=147
2020-04-29 10:27:42 +00:00
24eec3b629 Accepting request 785994 from home:npower:update_factory_4.12.0
- Release ldb 2.1.1
  + Samba 4.11 and later give incorrect results for SCOPE_ONE
    searches; (bso#14270).

OBS-URL: https://build.opensuse.org/request/show/785994
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=145
2020-03-18 15:40:31 +00:00
e34fa2483c Accepting request 766396 from home:dmulder:branches:network:samba:STABLE
ldb: Release ldb 2.0.8
  + Upgrade waf to version 2.0.18 to match the rest of Samba 4.11.x
    (bso#13846)
- libldb1 fails to migrate to libldb2 when libldb2 version is less
  than libldb1 version; (bsc#1160341)
- Add obsolete ldb1 directive to baselibs.conf
- Update to version 2.0.7
  + Robustness improvements against duplicate attributes in ldb_filter_attrs()
    (bso#13695)
  + Robustness improvements against invalid string DN values (bso#14049)
   + log database repack so users know what is happening (bso#14059)
  + add ldb_options_get
  + add "batch_mode" option.
  + Remove Python 2.x support except to build just the bare C library
  + Remove --extra-python (a build time mode to produce Python2 and Python3
    bindings at the same time)
  + Fix standalone build of ldb.
  + CVE-2019-3824 out of bounds read in wildcard compare (bso#13773)
- Update to 1.5.5
  + LDAP_REFERRAL_SCHEME_OPAQUE was added to ldb_module.h; (bso#12478);
  + Skip @ records early in a search full scan; (bso#13893);
- Update to 1.5.4
  + Fix standalone build of ldb.
  + C99 build fixes.
  + CVE-2019-3824 out of bounds read in wildcard compare (bug#13773)
- Update to 1.5.3
  + Avoid inefficient one-level searches (bug#13762)
  + The test api.py should not rely on order of entries in dict (bug#13772)
- Update to 1.5.2
  + dirsync: Allow arbitrary length cookies (bug #13686)
  + The build uses python3 by default: --extra-python would take
    python2 now
  + To build with python2 only use:
    PYTHON=python2 ./configure
    PYTHON=python2 make
    PYTHON=python2 make install
- Update to 1.4.3
  + Python: Ensure ldb.Dn can accept utf8 encoded unicode (bug 13616)
- Update license to LGPL-3.0
- Update to 1.4.2
  + Security fix for CVE-2018-1140 (NULL pointer de-reference, bug 13374)
  + Fix memory leaks and missing error checks (bug 13459, 13471, 13475)
- 1.4.1
  + add some missing return value checks
  + Fix several mem leaks in ldb_index ldb_search ldb_tdb (bug#13475)
  + ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory
    on duplicated add. (bug#13471)
  + ldb: Fix memory leak on module context (bug#13459)
  + Refused build of Samba 4.8 with ldb 1.4 (bug #13519)
  + Prevent similar issues in the future at configure time (bug #13519)
- 1.4.0
  + New LMDB backend (experimental)
  + Comprehensive tests for index behaviour
  + Enforce transactions for writes
  + Enforce read lock use for all reads
  + Fix memory leak in paged_results module.
    We hold at most 10 outstanding paged result cookies
    (bug #13362)
  + Fix compiler warnings
  + Python3 improvements
  + Restore --disable-python build
  + Fix for performance regression on one-level searches
    (bug #13448)
  + Samba's subtree_rename could fail to rename some entries
    (bug #13452)
- Add fix_ldb_mod_op_test.patch: Fix missing NULL terminator in
  ldb_mod_op_test testsuite
- Update to 1.3.5
  + Security fix for CVE-2018-1140 (NULL pointer de-reference,
    bug #13374).
- 1.3.4
  + Fix memory leaks and missing error checks (bug #13459, #13471,
    #13475).
  + Fix fallback to full scan (performance regression) on
    one-level search (bug #13448).
  + Fix read corruption (missing results) during writes,
    particularly during a Samba subtree rename (bug #13452).
- Update to 1.3.3
  + Fix failure to upgrade to the GUID index DB format; (bso#13306).
- Update to 1.3.2;
  + Expose the SHOW_BINARY, ENABLE_TRACING and DONT_CREATE_DB flag
    constants in the python api.
  + Don't load LDB_MODULESDIR as a module file.
  + Fix binary data in debug log (bug #13185).
  + Intersect the index from SCOPE_ONELEVEL with the index for the
    search expression (bso#13191)
  + GUID Index support.
- Update to 1.2.3; (bsc#1080545);
  + Performance regression in DNS server with introduction of DNS wildcard;
    (bso#13191);
- Remove %if guards for blocks that do not affect the build result.
  Fix RPM groups and summaries.
  Drop very old SUSE support. Replace old RPM macros by new
  constructs.
- Update to 1.2.2
  + Bug #13017: Add ldb_ldif_message_redacted_string() to allow debug
                of redacted log messages, avoiding showing secret values
  + Bug #13015: Allow re-index of newer databases with binary GUID TDB keys
                (this officially removes support for re-index of the original
                pack format 0, rather than simply segfaulting).
  + Avoid memory allocation and so make modify of records in ldb_tdb faster
- Update to 1.2.1
  + Bug #12882: Do not install _ldb_text.py if we have system libldb
  + Use libraries from build dir for testsuite
  + Bug #12900: Fix index out of bound in ldb_msg_find_common_values
- Update to 1.2.0
  + handle one more LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK
    case in ldb_tdb
  + fix ldb_tdb locking (performance) problems
  + fix ldb_tdb search inconsistencies by adding
    read_[un]lock() hooks to the module stack
    (bug #12858)
  + add cmocka based tests for the locking issues
  + ldb_version.h provides LDB_VERSION_{MAJOR,MINOR,RELEASE} defines
  + protect ldb_modules.h from being used by Samba < 4.7
    Note: that this release (as well as 1.1.30 and 1.1.31)
    may cause problems for older applications, e.g. Samba
    See https://bugzilla.samba.org/show_bug.cgi?id=12859
- Update to 1.1.31
  + let ldbdump parse the -i option
  + don't allow the reveal_internals control for ldbedit
  + only allow --show-binary for ldbsearch
  + don't let ldbsearch create non-existing files
  + fix ldb_tdb search inconsistencies
  + add cmocka based tests
  + provide an interface for improved indexing for callers
    like Samba, which will allow much better performance.
  + Makes ldb access to tdb:// databases use a private event context
    rather than the global event context passed in by the caller.
    This is because running other operations while locks are held
    or a search is being conducted is not safe.
  + Add efficient function to find duplicate values in ldb messages
    (this makes large multi-valued attributes in ldb_tdb more efficient)
- Add ldb-tests-do-not-override-lib-path.patch: Check if LD_LIBRARY_PATH
  and LDB_MODULES_PATH environment variables are set before overriding
  them.
- Update to 1.1.29; (bsc#1032915).
  + add support for LDB_CONTROL_RECALCULATE_RDN_OID on ldb_modify()
  + Performance and memory consumption improvements
- Update to 1.1.27
  + performance improvements
  + VLV control improvements
- Require talloc 2.1.6 at build-time; (bsc#954658).
- Add ldb-python3.5-fix-soabi_name.patch: Do not change x86_64 to
  x86-64 when building with python 3.5.
- Avoid a file collision for non SUSE build targets; (bsc#966174).
- 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
- Provide python-ldb and python-ldb-devel; (bsc#966523).
- 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
- 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
- Update to 1.1.23; (bsc#954658).
  + Test improvements
  + Improved python3 bindings; (bsc#951911)
  + Minor build fixes
- Add doxygen at build time to add the development documentation.
- Disable rpath-install and silent-rules while configure.
- Rename pyldb to python-ldb.
- 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'; (bso#945116).
- Update to 1.1.21; (bsc#939050).
  + build fixes
  + improved python bindings
- Update to 1.1.20.
  + validate_ldb of String(Generalized-Time) does not accept millisecond
    format ".000Z"; (bso#9810)
  + fix logic in ldb_val_to_time()
- Update to 1.1.19.
  + Allow to register extended match rules
- Update to 1.1.18.
  + fixes for segfaults in pyldb
  + documentation fixes
  + build system improvements
  + 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
- Use the upstream tar ball, as signature verification is now able to handle
  compressed archives.
- Remove dependency on gpg-offline as signature checking is implemented in the
  source validator.
- BuildRequire docbook-xsl-stylesheets and libxslt to process the man pages.
- Require pkg-config from the devel sub packages and do not BuildRequire it
  from libldb.
- 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
- Verify source tar ball gpg signature.
- Consolidate python files in independent pyldb subpackages.
- Add pyldb to baselibs.conf.
- 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.
- Update to 1.1.15.
  + Ensure to decrement the transaction_active whenever we delete
    a transaction.
  + Move doxygen comments for ldb_connect to the right place.
- 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).
- Update to 1.1.12.
  + Avoid printing secret attributes in ldb trace logs
- 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.
- Remove superfluous ldb-tools rpmlintrc file.
- 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
- 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.
- BuildRequire pytalloc-devel.
- Disable rpath while configure.
- Tag GPL-3.0+ based on tdb license; (bnc#765270).
- Define library name and use it instead of libldb1.
- Add missing post, postun, and files part to the libldb1 package.
- Rename package to ldb and add an independent libldb1 subpackage.
- Enhance and polish the package descriptions and summaries.
- BuildIgnore libtalloc to prevent a package conflict on Fedora systems.
- BuildRequire popt-devel.
- Define and use talloc, tdb, and tevent version macros.
- Define python_sitearch if undefined.
- BuildRequire libtalloc-devel, libtdb-devel, and libtevent-devel.
- Configure with bundled tdb2 library.
- 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/request/show/766396
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=143
2020-01-22 17:45:06 +00:00
Noel Power
0b05e3c339 Accepting request 766394 from home:dmulder:branches:network:samba:STABLE:ehx1st6k
ldb: Release ldb 2.0.8
  + Upgrade waf to version 2.0.18 to match the rest of Samba 4.11.x
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=13846

OBS-URL: https://build.opensuse.org/request/show/766394
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=142
2020-01-22 17:37:36 +00:00
Noel Power
79a0031247 Accepting request 765345 from home:dmulder:branches:network:samba:STABLE
- libldb1 fails to migrate to libldb2 when libldb2 version is less
  than libldb1 version; (bsc#1160341)

OBS-URL: https://build.opensuse.org/request/show/765345
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=141
2020-01-17 17:38:14 +00:00
b9019f30b7 Accepting request 758119 from home:npower:update-ldb
- Add obsolete ldb1 directive to baselibs.conf

OBS-URL: https://build.opensuse.org/request/show/758119
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=139
2019-12-19 10:02:34 +00:00
dc1277dd2e Accepting request 735428 from home:jmcdough:branches:network:samba:STABLE:g2be_giw
update to 2.0.7 for samba 4.11 prep

OBS-URL: https://build.opensuse.org/request/show/735428
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=136
2019-10-07 08:26:02 +00:00
Noel Power
e19a470f4d Accepting request 721497 from home:scabrero:branches:network:samba:STABLE
- Update to 1.5.5
  + LDAP_REFERRAL_SCHEME_OPAQUE was added to ldb_module.h; (bso#12478);
  + Skip @ records early in a search full scan; (bso#13893);

OBS-URL: https://build.opensuse.org/request/show/721497
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=134
2019-08-30 17:29:02 +00:00
24b4764d73 Accepting request 696791 from network:samba:TESTING
- Update to 1.5.4
  + Fix standalone build of ldb.
  + C99 build fixes.
  + CVE-2019-3824 out of bounds read in wildcard compare (bug#13773)
- Update to 1.5.3
  + Avoid inefficient one-level searches (bug#13762)
  + The test api.py should not rely on order of entries in dict (bug#13772)
- Update to 1.5.2
  + dirsync: Allow arbitrary length cookies (bug #13686)
  + The build uses python3 by default: --extra-python would take
    python2 now
  + To build with python2 only use:
    PYTHON=python2 ./configure
    PYTHON=python2 make
    PYTHON=python2 make install

OBS-URL: https://build.opensuse.org/request/show/696791
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=132
2019-04-22 17:10:10 +00:00
Noel Power
4644447a7b Accepting request 648923 from home:scabrero:branches:network:samba:STABLE
- Update to 1.4.3
  + Python: Ensure ldb.Dn can accept utf8 encoded unicode (bug 13616)
- Update license to LGPL-3.0
- Update to 1.4.2
  + Security fix for CVE-2018-1140 (NULL pointer de-reference, bug 13374)
  + Fix memory leaks and missing error checks (bug 13459, 13471, 13475)
- 1.4.1
  + add some missing return value checks
  + Fix several mem leaks in ldb_index ldb_search ldb_tdb (bug#13475)
  + ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory
    on duplicated add. (bug#13471)
  + ldb: Fix memory leak on module context (bug#13459)
  + Refused build of Samba 4.8 with ldb 1.4 (bug #13519)
  + Prevent similar issues in the future at configure time (bug #13519)
- 1.4.0
  + New LMDB backend (experimental)
  + Comprehensive tests for index behaviour
  + Enforce transactions for writes
  + Enforce read lock use for all reads
  + Fix memory leak in paged_results module.
    We hold at most 10 outstanding paged result cookies
    (bug #13362)
  + Fix compiler warnings
  + Python3 improvements
  + Restore --disable-python build
  + Fix for performance regression on one-level searches
    (bug #13448)
  + Samba's subtree_rename could fail to rename some entries
    (bug #13452)
- Add fix_ldb_mod_op_test.patch: Fix missing NULL terminator in
  ldb_mod_op_test testsuite
- Update to 1.3.5
  + Security fix for CVE-2018-1140 (NULL pointer de-reference,
    bug #13374).
- 1.3.4
  + Fix memory leaks and missing error checks (bug #13459, #13471,
    #13475).
  + Fix fallback to full scan (performance regression) on
    one-level search (bug #13448).
  + Fix read corruption (missing results) during writes,
    particularly during a Samba subtree rename (bug #13452).
- Update to 1.3.3
  + Fix failure to upgrade to the GUID index DB format; (bso#13306).
- Update to 1.3.2;
  + Expose the SHOW_BINARY, ENABLE_TRACING and DONT_CREATE_DB flag
    constants in the python api.
  + Don't load LDB_MODULESDIR as a module file.
  + Fix binary data in debug log (bug #13185).
  + Intersect the index from SCOPE_ONELEVEL with the index for the
    search expression (bso#13191)
  + GUID Index support.
- Update to 1.2.3; (bsc#1080545);
  + Performance regression in DNS server with introduction of DNS wildcard;
    (bso#13191);
- Remove %if guards for blocks that do not affect the build result.
  Fix RPM groups and summaries.
  Drop very old SUSE support. Replace old RPM macros by new
  constructs.
- Update to 1.2.2
  + Bug #13017: Add ldb_ldif_message_redacted_string() to allow debug
                of redacted log messages, avoiding showing secret values
  + Bug #13015: Allow re-index of newer databases with binary GUID TDB keys
                (this officially removes support for re-index of the original
                pack format 0, rather than simply segfaulting).
  + Avoid memory allocation and so make modify of records in ldb_tdb faster
- Update to 1.2.1
  + Bug #12882: Do not install _ldb_text.py if we have system libldb
  + Use libraries from build dir for testsuite
  + Bug #12900: Fix index out of bound in ldb_msg_find_common_values
- Update to 1.2.0
  + handle one more LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK
    case in ldb_tdb
  + fix ldb_tdb locking (performance) problems
  + fix ldb_tdb search inconsistencies by adding
    read_[un]lock() hooks to the module stack
    (bug #12858)
  + add cmocka based tests for the locking issues
  + ldb_version.h provides LDB_VERSION_{MAJOR,MINOR,RELEASE} defines
  + protect ldb_modules.h from being used by Samba < 4.7
    Note: that this release (as well as 1.1.30 and 1.1.31)
    may cause problems for older applications, e.g. Samba
    See https://bugzilla.samba.org/show_bug.cgi?id=12859
- Update to 1.1.31
  + let ldbdump parse the -i option
  + don't allow the reveal_internals control for ldbedit
  + only allow --show-binary for ldbsearch
  + don't let ldbsearch create non-existing files
  + fix ldb_tdb search inconsistencies
  + add cmocka based tests
  + provide an interface for improved indexing for callers
    like Samba, which will allow much better performance.
  + Makes ldb access to tdb:// databases use a private event context
    rather than the global event context passed in by the caller.
    This is because running other operations while locks are held
    or a search is being conducted is not safe.
  + Add efficient function to find duplicate values in ldb messages
    (this makes large multi-valued attributes in ldb_tdb more efficient)
- Add ldb-tests-do-not-override-lib-path.patch: Check if LD_LIBRARY_PATH
  and LDB_MODULES_PATH environment variables are set before overriding
  them.
- Update to 1.1.29; (bsc#1032915).
  + add support for LDB_CONTROL_RECALCULATE_RDN_OID on ldb_modify()
  + Performance and memory consumption improvements
- Update to 1.1.27
  + performance improvements
  + VLV control improvements
- Require talloc 2.1.6 at build-time; (bsc#954658).
- Add ldb-python3.5-fix-soabi_name.patch: Do not change x86_64 to
  x86-64 when building with python 3.5.
- Avoid a file collision for non SUSE build targets; (bsc#966174).
- 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
- Provide python-ldb and python-ldb-devel; (bsc#966523).
- 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
- 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
- Update to 1.1.23; (bsc#954658).
  + Test improvements
  + Improved python3 bindings; (bsc#951911)
  + Minor build fixes
- Add doxygen at build time to add the development documentation.
- Disable rpath-install and silent-rules while configure.
- Rename pyldb to python-ldb.
- 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'; (bso#945116).
- Update to 1.1.21; (bsc#939050).
  + build fixes
  + improved python bindings
- Update to 1.1.20.
  + validate_ldb of String(Generalized-Time) does not accept millisecond
    format ".000Z"; (bso#9810)
  + fix logic in ldb_val_to_time()
- Update to 1.1.19.
  + Allow to register extended match rules
- Update to 1.1.18.
  + fixes for segfaults in pyldb
  + documentation fixes
  + build system improvements
  + 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
- Use the upstream tar ball, as signature verification is now able to handle
  compressed archives.
- Remove dependency on gpg-offline as signature checking is implemented in the
  source validator.
- BuildRequire docbook-xsl-stylesheets and libxslt to process the man pages.
- Require pkg-config from the devel sub packages and do not BuildRequire it
  from libldb.
- 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
- Verify source tar ball gpg signature.
- Consolidate python files in independent pyldb subpackages.
- Add pyldb to baselibs.conf.
- 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.
- Update to 1.1.15.
  + Ensure to decrement the transaction_active whenever we delete
    a transaction.
  + Move doxygen comments for ldb_connect to the right place.
- 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).
- Update to 1.1.12.
  + Avoid printing secret attributes in ldb trace logs
- 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.
- Remove superfluous ldb-tools rpmlintrc file.
- 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
- 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.
- BuildRequire pytalloc-devel.
- Disable rpath while configure.
- Tag GPL-3.0+ based on tdb license; (bnc#765270).
- Define library name and use it instead of libldb1.
- Add missing post, postun, and files part to the libldb1 package.
- Rename package to ldb and add an independent libldb1 subpackage.
- Enhance and polish the package descriptions and summaries.
- BuildIgnore libtalloc to prevent a package conflict on Fedora systems.
- BuildRequire popt-devel.
- Define and use talloc, tdb, and tevent version macros.
- Define python_sitearch if undefined.
- BuildRequire libtalloc-devel, libtdb-devel, and libtevent-devel.
- Configure with bundled tdb2 library.
- 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/request/show/648923
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=130
2018-11-26 17:25:20 +00:00
600cc81f4c Accepting request 638019 from home:scabrero:branches:network:samba:STABLE
- Update license to LGPL-3.0

OBS-URL: https://build.opensuse.org/request/show/638019
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=128
2018-09-25 15:05:31 +00:00
3083315ec4 Accepting request 635588 from home:dmulder:branches:network:samba:STABLE:4.9
- Update to 1.4.2
  + Security fix for CVE-2018-1140 (NULL pointer de-reference, bug 13374)
  + Fix memory leaks and missing error checks (bug 13459, 13471, 13475)
- 1.4.1
  + add some missing return value checks
  + Fix several mem leaks in ldb_index ldb_search ldb_tdb (bug#13475)
  + ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory
    on duplicated add. (bug#13471)
  + ldb: Fix memory leak on module context (bug#13459)
  + Refused build of Samba 4.8 with ldb 1.4 (bug #13519)
  + Prevent similar issues in the future at configure time (bug #13519)
- 1.4.0
  + New LMDB backend (experimental)
  + Comprehensive tests for index behaviour
  + Enforce transactions for writes
  + Enforce read lock use for all reads
  + Fix memory leak in paged_results module.
    We hold at most 10 outstanding paged result cookies
    (bug #13362)
  + Fix compiler warnings
  + Python3 improvements
  + Restore --disable-python build
  + Fix for performance regression on one-level searches
    (bug #13448)
  + Samba's subtree_rename could fail to rename some entries
    (bug #13452)

OBS-URL: https://build.opensuse.org/request/show/635588
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=127
2018-09-25 07:15:00 +00:00
934e8f88bb Accepting request 629476 from home:dmulder:branches:ldb_fix
- Add fix_ldb_mod_op_test.patch: Fix missing NULL terminator in
  ldb_mod_op_test testsuite
- Update to 1.3.5
  + Security fix for CVE-2018-1140 (NULL pointer de-reference,
    bug #13374).
- 1.3.4
  + Fix memory leaks and missing error checks (bug #13459, #13471,
    #13475).
  + Fix fallback to full scan (performance regression) on
    one-level search (bug #13448).
  + Fix read corruption (missing results) during writes,
    particularly during a Samba subtree rename (bug #13452).

OBS-URL: https://build.opensuse.org/request/show/629476
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=125
2018-08-15 22:13:10 +00:00
Aurelien Aptel
4f76a2cd37 Accepting request 629228 from home:dmulder:branches:fix_ldb
Revert to 1.3.3

OBS-URL: https://build.opensuse.org/request/show/629228
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=124
2018-08-14 14:27:24 +00:00
897ef4d204 Accepting request 628465 from home:dmulder:branches:samba_gpo_test
- Update to 1.4.1
  + add some missing return value checks
  + Fix several mem leaks in ldb_index ldb_search ldb_tdb (bug#13475)
  + ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory
    on duplicated add. (bug#13471)
  + ldb: Fix memory leak on module context (bug#13459)
  + Refused build of Samba 4.8 with ldb 1.4 (bug #13519)
  + Prevent similar issues in the future at configure time (bug #13519)
- 1.4.0
  + New LMDB backend (experimental)
  + Comprehensive tests for index behaviour
  + Enforce transactions for writes
  + Enforce read lock use for all reads
  + Fix memory leak in paged_results module.
    We hold at most 10 outstanding paged result cookies
    (bug #13362)
  + Fix compiler warnings
  + Python3 improvements
  + Restore --disable-python build
  + Fix for performance regression on one-level searches
    (bug #13448)
  + Samba's subtree_rename could fail to rename some entries
    (bug #13452)
- 1.3.4
  + Fix memory leaks and missing error checks (bug 13459, 13471, 13475)
  + Fix fallback to full scan (performance regression) on
    one-level search (bug 13448)
  + Fix read corruption (missing results) during writes, particularly
    during a Samba subtree rename (bug 13452)

OBS-URL: https://build.opensuse.org/request/show/628465
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=123
2018-08-10 10:45:31 +00:00
Paulo Alcantara
29f8f22e71 Accepting request 611761 from home:jmcdough:factory-f-8-2
Update to 1.3.3

OBS-URL: https://build.opensuse.org/request/show/611761
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=121
2018-05-23 22:18:59 +00:00
a46946662c Accepting request 588013 from home:jmcdough:4-8-factory
Update ldb required for samba 4.8.0

OBS-URL: https://build.opensuse.org/request/show/588013
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=118
2018-03-19 11:07:30 +00:00
581b626a50 Accepting request 575868 from home:scabrero:branches:network:samba:STABLE
- Update to 1.2.3; (bsc#1080545);
  + Performance regression in DNS server with introduction of DNS wildcard;
    (bso#13191);

OBS-URL: https://build.opensuse.org/request/show/575868
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=116
2018-02-12 19:33:13 +00:00
9c1c2e0c68 Accepting request 532142 from home:jengelh:branches:network:samba:STABLE
rebase + sp4 compile test

OBS-URL: https://build.opensuse.org/request/show/532142
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=114
2017-10-06 09:22:06 +00:00
fade5d625a Accepting request 529903 from network:samba:TESTING
1

OBS-URL: https://build.opensuse.org/request/show/529903
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=112
2017-10-01 11:54:28 +00:00
David Disseldorp
551826bb12 synchronise a couple of extra changelog entries from SLE12SP2:
- Provide python-ldb and python-ldb-devel; (bsc#966523).
- Provide python-talloc and python-talloc-devel; (bsc#966523).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=110
2017-04-10 14:45:53 +00:00
David Disseldorp
d7bd10908b add bsc#1032915 reference to changelog
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=109
2017-04-10 14:34:58 +00:00
Aurelien Aptel
e221a1bd90 Accepting request 452423 from home:dmdiss:samba-ceph-ctdb
- Update to 1.1.29
  + add support for LDB_CONTROL_RECALCULATE_RDN_OID on ldb_modify()
  + Performance and memory consumption improvements

OBS-URL: https://build.opensuse.org/request/show/452423
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=107
2017-01-25 17:59:38 +00:00
dc59da285d Accepting request 428059 from home:jmcdough:samba450
Update to 1.1.27

OBS-URL: https://build.opensuse.org/request/show/428059
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=105
2016-09-16 07:39:27 +00:00
Lars Müller
dc6e358d43 Require talloc 2.1.6 at build-time; (bsc#954658).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=103
2016-03-16 16:24:20 +00:00
Lars Müller
9611fa92af Add missing hyphen
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=102
2016-03-15 16:58:11 +00:00
Lars Müller
765687a691 Require talloc 2.1.6 at build time; (bso#11789).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=101
2016-03-15 16:42:53 +00:00
Lars Müller
542d20b227 Accepting request 368391 from home:dimstar:Factory
Fix build with python 3.5.1 - same fix as proposed on talloc

OBS-URL: https://build.opensuse.org/request/show/368391
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=99
2016-03-08 17:37:12 +00:00
Lars Müller
a64436d15e Accepting request 360743 from home:lmuelle:bsc966174
Avoid a file collision for non SUSE build targets; (bsc#966174).

OBS-URL: https://build.opensuse.org/request/show/360743
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=97
2016-02-21 19:22:47 +00:00
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