summaryrefslogtreecommitdiff
path: root/databases/openldap
AgeCommit message (Collapse)AuthorFilesLines
2021-03-16openldap: updated to 2.4.58adam2-7/+7
OpenLDAP 2.4.58 Fixed slapd validity checks for issuerAndThisUpdateCheck Fixed slapd to alloc new conn struct after freeing old one Fixed slapd syncrepl to check all contextCSNs Fixed slapd-bdb lockdetect config
2021-01-25openldap: updated to 2.4.57adam2-7/+7
OpenLDAP 2.4.57 Release (2021/01/18) Fixed ldapexop to use correct return code Fixed slapd to remove asserts in UUIDNormalize Fixed slapd to remove assert in csnValidate Fixed slapd validity checks for issuerAndThisUpdateCheck Fixed slapd validity checks for serialNumberAndIssuerCheck Fixed slapd AVA sort with invalid RDN Fixed slapd ldap_X509dn2bv to check for invalid BER after RDN count Fixed slapd saslauthz to remove asserts in validation Fixed slapd saslauthz to use slap_sl_free on normalized DN Fixed slapd saslauthz SEGV in slap_parse_user Fixed slapd modrdn memory leak Fixed slapd double-free in vrfilter Fixed slapd cancel operation to correctly terminate Fixed slapd-ldap fix binds on retry with closed connection Fixed slapo-syncprov to ignore duplicate sessionlog entries
2020-11-11openldap: updated to 2.4.56adam2-7/+7
OpenLDAP 2.4.56 Fixed slapd to remove assert in certificateListValidate Fixed slapd to remove assert in csnNormalize23 Fixed slapd to better parse ldapi listener URIs
2020-10-28openldap: updated to 2.4.55adam2-7/+7
OpenLDAP 2.4.55 Release Fixed slapd normalization handling with modrdn Fixed slapd-meta to check ldap_install_tls return code Contrib Fixed nssov misplaced semicolon
2020-10-13openldap: updated to 2.4.54adam2-7/+7
OpenLDAP 2.4.54 Fixed slapd delta-syncrepl to ignore delete ops on deleted entry Fixed slapd delta-syncrepl to be fully serialized Fixed slapd delta-syncrepl MOD on zero-length context entry Fixed slapd sessionlog to use a TAVL tree Fixed slapd syncrepl to be fully serialized Fixed slapd syncrepl to call check_syncprov on fresh consumer Fixed slapd syncrepl to propagate errors from overlay_entry_get_ov Fixed slapd syncrepl to not create empty ADD ops Fixed slapd syncrepl replace usage on single valued attrs Fixed slapd-monitor fix monitor_back_register_database for empty suffix DB Fixed slapo-accesslog normalizer for reqStart Fixed slapo-accesslog to not generate new contextCSN on purge Fixed slapo-syncprov contextCSN generation with empty suffix
2020-09-09openldap: updated to 2.4.53adam2-7/+7
OpenLDAP 2.4.53 Added slapd syncrepl additional SYNC logging Fixed slapd syncrepl segfault on NULL cookie on REFRESH Fixed slapd syncrepl to use fresh connection on REFRESH fallback Fixed slapo-ppolicy race condition for pwdFailureTime Build Require OpenSSL 1.0.2 or later Fixed libldap compilation issue with broken C compilers
2020-09-07openldap: updated to 2.4.52adam2-7/+7
OpenLDAP 2.4.52 (2020/08/28) Added libldap LDAP_OPT_X_TLS_REQUIRE_SAN option Added libldap OpenSSL support for multiple EECDH curves Added slapd OpenSSL support for multiple EECDH curves Fixed librewrite malloc/free corruption Fixed libldap hang when using UDP and server down Fixed slapd syncrepl rare deadlock due to network issues Fixed slapd syncrepl regression that could trigger an assert Fixed slapd-mdb index error with collapsed range
2020-08-12openldap: updated to 2.4.51adam2-7/+7
OpenLDAP 2.4.51 Engineering Fixed libldap retry loop in ldap_int_tls_connect
2020-04-29openldap: updated to 2.4.50adam2-7/+7
OpenLDAP 2.4.50 Engineering Fixed client benign typos Fixed libldap type cast Fixed libldap retry loop in ldap_int_tls_connect Fixed libldap_r race on Windows mutex initialization Fixed liblunicode memory leak Fixed slapd benign typos Fixed slapd-mdb memory leak in dnSuperiorMatch Fixed slapo-pcache database initialization Fixed slapo-ppolicy callback Build Fix olcDatabaseDummy initialization for windows Fix detection for ws2tcpip.h for windows Fix back-mdb types for windows Contrib Update ldapc++ config.guess and config.sub to support newer architectures Added pw-argon2 module Documentation slapd-ldap(5) - Clarify idassert-authzfrom behavior slapd-meta(5) - Remove client-pr option slapdinex(8) - Fix truncate option information for back-mdb
2020-02-10openldap: updated to 2.4.49adam3-9/+8
OpenLDAP 2.4.49: Added slapd-monitor database entry count for slapd-mdb Fixed client tools to not add controls on cancel/abandon Fixed client tools SyncInfo message to be LDIF compliant Fixed libldap to correctly free sb Fixed libldap descriptor leak if ldaps fails Fixed libldap remove unnecessary global mutex for GnuTLS Fixed slapd syntax evaluation of preferredDeliveryMethod Fixed slapd to relax domainScope control check Fixed slapd to have cleaner error handling during connection setup Fixed slapd data check when processing cancel exop Fixed slapd attribute description processing Fixed slapd-ldap to set oldctrls correctly Fixed slapd-mdb to honor unchecked limit with alias deref Fixed slapd-mdb missing final commit with slapindex Fixed slapd-mdb drop attr mappings added in an aborted txn Fixed slapd-mdb nosync FLAG configuration handling Fixed slapd-monitor global operation counter reporting Fixed slapo-ppolicy when used with slapauth Fixed slapo-ppolicy to add a missed normalised copy of pwdChangedTime Fixed slapo-syncprov fix sessionlog init Fixed slapo-unique loop termination Build Environment Fix mkdep to honor TMPDIR if set Remove ICU library detection Update config.guess and config.sub to support newer architectures Disable ITS8521 regression test as it is no longer valid Documentation admin24 - Fix inconsistent whitespace in replication section slapd-config(5)/slapd.conf(5) - Fix missing bold tag for keyword slapd-ldap(5) - Document "tls none" option slapo-ppolicy(5) - Correctly document pwdGraceAuthnLimit
2020-01-26all: migrate homepages from http to httpsrillig2-4/+4
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
2020-01-18*: Recursive revision bump for openssl 1.1.1.jperkin1-1/+2
2019-08-03openldap: updated to 2.4.48adam3-258/+7
OpenLDAP 2.4.48 Added libldap OpenSSL Elliptic Curve support Added libldap Expose OpenLDAP specific interfaces via openldap.h Added slapd-monitor support for slapd-mdb Fixed liblber leaks Fixed liblber with partial flush Fixed libldap ASYNC TLS so it works Fixed libldap ASYNC connections with Solaris 10 Fixed libldap with SASL_NOCANON=on and ldapi connections Fixed libldap to be able to unset syncrepl TLS options Fixed libldap race condition in ldap_int_initialize Fixed libldap return code in ldap_create_assertion_control_value Fixed libldap to correctly disable IPv6 when configured to do so Fixed libldap to correctly close TLS connection Fixed libldap_r handling of deprecated OpenSSL function Fixed liblunicode case correspondance Fixed slapd with an idletimeout of less than four seconds Fixed slapd config parser variable for Windows64 Fixed slapd syncrepl fallback handling with delta-syncrepl Fixed slapd telephoneNumberNormalize, cert DN validation Fixed slapd syncrepl for relax with delta-syncrepl Fixed slapd to restrict rootDN proxyauthz to its own databases Fixed slapd to initialize SASL SSF per connection Fixed slapo-accesslog with SLAP_MOD_SOFT modifications Fixed slapd-ldap starttls connections timeout behavior Fixed slapd-ldap segfault when entry result doesn't match filter Fixed slapd-meta conversion from slapd.conf to cn=config Fixed slapd-meta assertion when network interface goes down Fixed slapd-mdb fix bitshift integer overflow Fixed slapd-mdb index cleanup with cn=config Fixed slapd-mdb to improve performance with alias deref Fixed slapo-accesslog possible assert with exops Fixed slapo-chain to correctly reject multiple chaining URIs Fixed slapo-chain conversion from slapd.conf to cn=config Fixed slapo-memberof conversion from slapd.conf to cn=config Fixed slapo-memberof for group name change to itself Fixed slapo-ppolicy behavior when pwdInHistory is changed Fixed slapo-rwm to not free original filter Fixed slapo-syncprov contextCSN generation Build Environment Fixed slapd to only link to BDB libraries with static build Fixed libldap implicit declaration with LDAP_CONNECTIONLESS Fixed libldap double inclusion of limits.h in cyrus.c Documentation General - Fixed minor typos admin24 - Miscellaneous updates promoting mdb and fixing examples slapd.access(5) - Note MDB is the primary backend slapd.backends(5) - Note MDB is the recommended backend slapd-ldap(5) - Document starttls parameter Contrib Added slapo-lastbind capability to forward authTimestamp updates
2019-05-02openldap-client: Fix FD_SETSIZE on SunOS 64-bit.jperkin1-1/+6
The OS default is 64k but OpenLDAP sets a hardcoded limit of 4k. Bump PKGREVISION.
2018-12-20openldap: updated to 2.4.47adam4-23/+24
OpenLDAP 2.4.47: Added slapd-sock DN qualifier for subtrees to be processed Added slapd-sock ability to send extended operations to external listeners Fixed liblber to avoid incremental access to user-supplied bv in dupbv Fixed libldap dn to domain parsing with bad input Fixed slapd slapcat to correctly honor -g option Fixed slapd to correctly handle NO_SUCH_OBJECT with dynamic groups Fixed slapd to check status of rdnNormalize Fixed slapd cn=config when modifying slapo-syncprov config Fixed slapd sasl authz-policy "all" behavior Fixed slapd sasl minor typo Fixed slapd to correctly hide hidden DBs in the rootDSE Fixed slapd domainScope control to match Microsoft specification Fixed slapd-bdb/hdb/mdb to not convert certain IDLs to ranges Fixed slapo-accesslog deadlock during cleanup Fixed slapo-memberof cn=config modifications Fixed slapo-ppolicy with multimaster replication Fixed slapo-syncprov with NULL modlist Build Environment Added slapd reproducible build support Fixed missing includes with OpenSSL 1.0.2 Contrib Fixed slapo-pbkdf2 hash generation Documentation admin24 fixed minor typo
2018-07-31Build fix for databases/openldap-smbk5pwdmanu2-1/+159
From upstream ITS #8885 Add a configure test for hdb_generate_key_set_password() prototype contrib/slapd-modules/smbk5pwd uses hdb_generate_key_set_password() from Heimdal, which was shortly turned from a 5 arguments function to a 7 arguments function before the prototype change was rolled back to address API incompatibility. Unfortunately, the 7 arguments hdb_generate_key_set_password() made it into released NetBSD 8.0, causing a build break in contrib/slapd-modules/smbk5pwd. This change adds a configure test for 7 arguments prototype so that contrib/slapd-modules/smbk5pwd build again on NetBSD 8.0, and other OS that would include the 7 arguments hdb_generate_key_set_password().
2018-07-04*: Move SUBST_STAGE from post-patch to pre-configurejperkin1-2/+2
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
2018-04-21*: gd.tuwien.ac.at/ftp.tuwien.ac.at is gone, remove it from various mastersiteswiz1-2/+1
2018-04-02openldap: updated to 2.4.46adam3-9/+9
OpenLDAP 2.4.46 Release (2018/03/22) Fixed libldap connection delete callbacks when TLS fails to start Fixed libldap to not reuse tls_session if TLS hostname check fails Fixed libldap cross-compiling with OpenSSL 1.1 Fixed libldap OpenSSL 1.1.1 compatibility with BIO_method Fixed libldap MozNSS CA certificate hash matching Fixed libldap MozNSS with PEM certs when also using an NSS cert db Fixed libldap MozNSS initialization Fixed libldap GnuTLS with GNUTLS_E_AGAIN Fixed libldap memory leak with cancel operations Fixed slapd Eventlog registry key creation on 64-bit Windows Fixed slapd to maintain SSF across SASL binds Fixed slapd syncrepl deadlock when updating cookie Fixed slapd syncrepl callback to always be last in the stack Fixed slapd telephoneNumberNormalize when the value is spaces and hyphens Fixed slapd CSN queue processing Fixed slapd-ldap TLS connection timeout with high latency connections Fixed slapd-ldap to ignore unknown schema when omit-unknown-schema is set Fixed slapd-mdb with an optimization for long lived read transactions Fixed slapd-meta assert when olcDbRewrite is modified Fixed slapd-sock with LDAP_MOD_INCREMENT operations Fixed slapo-accesslog cleanup to only occur on failed operations Fixed slapo-dds entryTTL to actually decrease as per RFC 2589 Fixed slapo-syncprov memory leak with delete operations Fixed slapo-syncprov to not clear pending operation when checkpointing Fixed slapo-syncprov to correctly record contextCSN values in the accesslog Fixed slapo-syncprov not to log checkpoints to accesslog db Fixed slapo-syncprov to process changes from this SID on REFRESH Fixed slapo-syncprov session log parsing to not block other operations Build Environment Fixed Windows build with newer MINGW version Fixed compiler warnings and removed unused variables Contrib Fixed ldapc++ Control structure Documentation Delete stub manpage for back-ldbm Fixed ldap_bind(3) to mention the LDAP_SASL_SIMPLE mechanism Fixed ldap.conf(5) to note SASL_MECH/SASL_REALM are no longer user-only Fixed slapd-config(5) typo for olcTLSCipherSuite Fixed slapo-syncprov(5) indexing requirements
2017-06-02OpenLDAP 2.4.45 Release (2017/06/01)adam8-388/+47
Added slapd support for OpenSSL 1.1.0 series (ITS-8353, ITS-8533, ITS-8634) Fixed libldap to fail ldap_result if the handle is already bad (ITS-8585) Fixed libldap to expose error if user specified CA doesn't exist (ITS-8529) Fixed libldap handling of Diffie-Hellman parameters (ITS-7506) Fixed libldap GnuTLS use after free (ITS-8385) Fixed libldap SASL initialization (ITS-8648) Fixed slapd bconfig rDN escape handling (ITS-8574) Fixed slapd segfault with invalid hostname (ITS-8631) Fixed slapd sasl SEGV rebind in same session (ITS-8568) Fixed slapd syncrepl filter handling (ITS-8413) Fixed slapd syncrepl infinite looping mods with delta-sync MMR (ITS-8432) Fixed slapd callback struct so older modules without writewait should function. Custom modules may need to be updated for sc_writewait callback (ITS-8435) Fixed slapd-ldap/meta broken LDAP_TAILQ macro (ITS-8576) Fixed slapd-mdb so it passes ITS6794 regression test (ITS-6794) Fixed slapd-mdb double free with size zero paged result (ITS-8655) Fixed slapd-meta uninitialized diagnostic message (ITS-8442) Fixed slapo-accesslog to honor pauses during purge for cn=config update (ITS-8423) Fixed slapo-accesslog with multiple modifications to the same attribute (ITS-6545) Fixed slapo-relay to correctly initialize sc_writewait (ITS-8428) Fixed slapo-sssvlv double free (ITS-8592) Fixed slapo-unique with empty modifications (ITS-8266) Build Environment Added test065 for proxyauthz (ITS-8571) Fix test008 to be portable (ITS-8414) Fix test064 to wait for slapd to start (ITS-8644) Fix its4336 regression test (ITS-8534) Fix its4337 regression test (ITS-8535) Fix regression tests to execute on all backends (ITS-8539) Contrib Added slapo-autogroup(5) man page (ITS-8569) Added passwd missing conversion scripts for apr1 (ITS-6826) Fixed contrib modules where the writewait callback was not correctly initialized (ITS-8435) Fixed smbk5pwd to build with newer OpenSSL releases (ITS-8525) Documentation admin24 fixed tls_cipher_suite bindconf option (ITS-8099) admin24 fixed typo cn=config to be slapd.d (ITS-8449) admin24 fixed slapo-syncprov information to be curent (ITS-8253) admin24 fixed typo in access control docs (ITS-7341, ITS-8391) admin24 fixed minor typo in tuning guide (ITS-8499) admin24 fixed information about the limits option (ITS-7700) admin24 fixed missing options for syncrepl configuration (ITS-7700) admin24 fixed accesslog documentation to note it should not be replicated (ITS-8344) Fixed ldap.conf(5) missing information on SASL_NOCANON option (ITS-7177) Fixed ldapsearch(1) information on the V[V] flag behavior (ITS-7177, ITS-6339) Fixed slapd-config(5), slapd.conf(5) clarification on interval keyword for refreshAndPersist (ITS-8538) Fixed slapd-config(5), slapd.conf(5) clarify serverID requirements (ITS-8635) Fixed slapd-config(5), slapd.conf(5) clarification on loglevel settings (ITS-8123) Fixed slapo-ppolicy(5) to clearly note rootdn requirement (ITS-8565) Fixed slapo-memberof(5) to note it is not safe to use with replication (ITS-8613) Fixed slapo-syncprov(5) documentation to be current (ITS-8253) Fixed slapadd(8) manpage to note slapd-mdb (ITS-8215) Fixed various minor grammar issues in the man pages (ITS-8544) Fixed various typos (ITS-8587)
2017-01-19Convert all occurrences (353 by my count) ofagc1-10/+10
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
2016-12-13Apply fix from https://bugzilla.redhat.com/show_bug.cgi?id=1238322he3-3/+48
Incorrect multi-keyword mode cipherstring parsing. Fixes CVE-2015-3276. Submitted upstream as ITS#8543, it apparently wasn't already(!) http://www.openldap.org/its/index.cgi/Incoming?id=8543 Bump PKGREVISION for both openldap, openldap-server and openldap-client (to be on the safe side...)
2016-10-30Use newer DES API so that smbk5pwd loads with newer OpenSSLmanu2-1/+56
OpenSSL removed old DES API which used des_* functions. https://github.com/openssl/openssl/commit/24956ca00f014a917fb181a8abc39b349f3f316f In order to link with libcrypto from recent OpenSSL releases, we need to replace the older API des_* functions by the newer API DES_* functions. Submitted upstream as ITS#8525 http://www.openldap.org/its/index.cgi/Incoming?id=8525
2016-06-17Apply upstream patch to fix pthread mutex initialisation on SunOS. Bumpjperkin2-1/+41
PKGREVISION for client and server.
2016-06-17Add SMF manifest. Move rc.d script to openldap-server files directoryjperkin2-21/+1
for consistency and avoid redundant FILESDIR shared between packages.
2016-03-05Bump PKGREVISION for security/openssl ABI bump.jperkin1-1/+2
2016-02-25Use OPSYSVARS.jperkin1-4/+2
2016-02-07OpenLDAP 2.4.44 Release (2016/02/05)adam2-7/+7
Fixed slapd-bdb/hdb missing olcDbChecksum config attr (ITS-8337) Fixed slapd-mdb behavior with long lived read transactions (ITS-8226) Fixed slapd-mdb cleanup after failed transaction (ITS-8360) Fixed slapd-sql missing id_query/olcSqlIdQuery (ITS-8329) Fixed slapo-accesslog callback initialization (ITS-8351) Fixed slapo-ppolicy pwdMaxRecordedFailure must never be zero (ITS-8327) Fixed slapo-syncprov abandon processing (ITS-8354) Fixed slapo-syncprov ctxcsn snapshot on refresh (ITS-8281, ITS-8365) Documentation admin24 Stop linking to Berkeley DB downloads (ITS-8362) admin24 Update documentation for LMDB preference
2015-12-02OpenLDAP 2.4.43 Release (2015/11/30)adam2-7/+7
Fixed liblber remove obsolete assert (ITS-8240, ITS-8301) Fixed libldap file URLs on windows (ITS-8273) Fixed libldap microsecond timer for windows (ITS-8295) Fixed slap tools minor one time memory leak (ITS-8082) Fixed slapd to avoid redundant processing of abandon ops (ITS-8232) Fixed slapd syncrepl segv when present list is NULL (ITS-8231, ITS-8042) Fixed slapd segfault with invalid SASL URI (ITS-8218) Fixed slapd configuration parser with unbalanced quotes (ITS-8233) Fixed slapd syncrepl check with config db on windows (ITS-8277) Fixed slapd with mod Increment and inherited attribute type (ITS-8289) Fixed slapd-ldap SEGV after failed retry (ITS-8173) Fixed slapd-ldap to skip client controls in ldap_back_entry_get (ITS-8244) Fixed slapd-null to have an option to return a search entry (ITS-8249) Fixed slapd-relay to correctly handle quoted options (ITS-8284) Fixed slapo-accesslog delta-sync MMR with interrupted refresh phase (ITS-8281) Fixed slapo-dds segfault when using slapo-memberof (ITS-8133) Fixed slapo-ppolicy to allow purging of stale pwdFailureTime attributes (ITS-8185) Fixed slapo-ppolicy to release entry on failure (ITS-7537) Fixed slapo-ppolicy to fall back to default policy if there is a parsing error (ITS-8234) Fixed slapo-syncprov with interrupted refresh phase (ITS-8281) Fixed slapo-refint with subtree renames (ITS-8220) Fixed slapo-rwm missing olcDropUnrequested attribute (ITS-7889) Fixed slapo-rwm parsing to avoid double-escaping rewrite rules (ITS-7964) Build Environment Fixed ldif-filter option parsing (ITS-8292) Fixed slapd-tester EOL handling in test output for windows (ITS-8280) Fixed slapd-tester executable suffix for windows (ITS-8216) Fixed test061 timing issues (ITS-8297) Contrib Added libnettle support to pw-pbkdf2 (ITS-8198) Fixed smbk5pwd compiler warnings with libnettle (ITS-8235) Fixed passwd symbol collisions with other crypto libraries (ITS-8294) Documentation Updated guide to reflect changes to how TLS is handled with syncrepl
2015-11-03Add SHA512 digests for distfiles for databases categoryagc1-1/+2
Problems found with existing distfiles: distfiles/D6.data.ros.gz distfiles/cstore0.2.tar.gz distfiles/data4.tar.gz distfiles/sphinx-2.2.7-release.tar.gz No changes made to the cstore or mariadb55-client distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-14Add support for ECDH, from upstreammanu2-1/+286
After the recent logjam attack, longer DH parameter size have been advised. Unfortunately, this comes with a high computational cost. ECDH is a good alternative to acheive forward secrecy with lower CPU Loads. This patch is a backport from upstream ECDH umplementation. ECDH is enabled by speciying a curve name through the TLSECName directive. Valid curve names can be obtaines by openssl ecparam -list_curves Advised usage for a forward-secrecy only setup wiht only ECDH: TLSCipherSuite EECDH:!RC4:!SHA:!MD5:!DES:!aNULL:!eNULL TLSECName prime256v1 If backward compatibility with older clients is required: TLSCipherSuite EECDH:HIGH:!RC4:!SHA:!MD5:!DES:!aNULL:!eNULL TLSECName prime256v1 Backward compatible flavor with more forward secrecy, at the expense of using costly DH. dh2048.pem is obtained using openssl dhparam 2048 > /etc/openssl/certs/dh2048.pem TLSCipherSuite EECDH:EDH:HIGH:!RC4:!SHA:!MD5:!DES:!aNULL:!eNULL TLSDHParamFile /etc/openssl/certs/dh2048.pem TLSECName prime256v1
2015-08-24OpenLDAP 2.4.42 Release (2015/08/14)adam2-6/+6
Fixed liblber address length for CLDAP (ITS 8158) Fixed libldap dnssrv potential overflow with port number (ITS 7027,ITS 8195) Fixed slapd cn=config when updating olcAttributeTypes (ITS 8199) Fixed slapd-mdb to correctly update search candidates for scoped searches (ITS 8203) Fixed slapo-ppolicy with redundant mod ops on glued trees (ITS 8184) Fixed slapo-rwm crash when deleting rewrite rules (ITS 8213) Build Environment Fixed libdb detection with gcc 5.x (ITS 8056)
2015-08-10Use OpenSSL libcrypto instead of libdes on NetBSDmanu2-22/+1
All recent NetBSD releases now have an OpenSSL recent enough so that the DES symbols required by slapo-smbk5pwd can be found in OpenSSL's libcrypto. We therefore do not need to link with -ldes anymore, especialy since it now causes a build failure.
2015-07-17OpenLDAP 2.4.41 Release (2015/06/21)adam5-18/+18
Fixed ldapsearch to explicitly flush its buffer (ITS-8118) Fixed libldap async connections (ITS-8090) Fixed libldap double free of request during abandon (ITS-7967) Fixed libldap error string for LDAP_X_CONNECTING (ITS-8093) Fixed libldap segfault in ldap_sync_initialize (ITS-8001) Fixed libldap ldif-wrap off by one error (ITS-8003) Fixed libldap handling of TLS in async mode (ITS-8022) Fixed libldap null pointer dereference (ITS-8028) Fixed libldap mutex handling with LDAP_OPT_SESSION_REFCNT (ITS-8050) Fixed slapd slapadd config db import of minimal frontend entry (ITS-8150) Fixed slapd slapadd onetime leak with -w (ITS-8014) Fixed slapd sasl auxprop crash with invalid config (ITS-8092) Fixed slapd syncrepl delta-mmr issue with overlays and slapd.conf (ITS-7976) Fixed slapd syncrepl mutex for cookie state (ITS-7968) Fixed slapd syncrepl memory leaks (ITS-8035) Fixed slapd syncrepl to free presentlist at end of refresh mode (ITS-8038) Fixed slapd syncrepl to streamline presentlist (ITS-8042) Fixed slapd syncrepl concurrency when CHECK_CSN is enabled (ITS-8120) Fixed slapd rootdn checks for hidden backends (ITS-8108) Fixed slapd segfault when using matched values control (ITS-8046) Fixed slapd-ldap reconnection behavior on remote failure (ITS-8142) Fixed slapd-mdb minor case typo (ITS-8049) Fixed slapd-mdb one-level search (ITS-7975) Fixed slapd-mdb heap corruption (ITS-7965) Fixed slapd-mdb crash after deleting in-use schema (ITS-7995) Fixed slapd-mdb minor code cleanup (ITS-8011) Fixed slapd-mdb to return errors when using incorrect env flags (ITS-8016) Fixed slapd-mdb to correctly update search candidates (ITS-8036, ITS-7904) Fixed slapd-mdb when there were more than 65535 aliases in scope (ITS-8103) Fixed slapd-mdb alias deref when objectClass is not indexed (ITS-8146) Fixed slapd-meta TLS initialization with ldaps URIs (ITS-8022) Fixed slapd-meta to have better error logging (ITS-8131) Fixed slapd-perl conversion to cn=config (ITS-8105) Fixed slapd-sql autocommit config variable (ITS-8129,ITS-6613) Fixed slapo-collect segfault (ITS-7797) Fixed slapo-constraint with 0 count constraint (ITS-7780,ITS-7781) Fixed slapo-deref with empty attribute list (ITS-8027) Fixed slapo-memberof to correctly reject invalid members (ITS-8107) Fixed slapo-sock result parser for CONTINUE (ITS-8048) Fixed slapo-syncprov synprov_matchops usage of test_filter (ITS-8013) Fixed slapo-syncprov segfault on disconnect/abandon (ITS-5452,ITS-8012) Fixed slapo-syncprov memory leak (ITS-8039) Fixed slapo-syncprov segfault on disconnect/abandon (ITS-8043) Fixed slapo-syncprov deadlock when autogroup is in use (ITS-8063) Fixed slapo-syncprov potential loss of changes when under load (ITS-8081) Fixed slapo-unique enforcement of uniqueness with manageDSAit control (ITS-8057) Build Environment Fixed libdb detection with gcc 5.x (ITS-8056) Fixed ftello reference for Win32 (ITS-8127) Enhanced contrib modules build paths (ITS-7782) Fixed contrib/autogroup internal operation identity (ITS-8006) Fixed contrib/autogroup to skip internal ops with accesslog (ITS-8065) Fixed contrib/passwd/sha2 compiler warning (ITS-8000) Fixed contrib/noopsrch compiler warning (ITS-7998) Fixed contrib/dupent compiler warnings (ITS-7997) Test suite: Added vrFilter test (ITS-8046) Contrib Added pbkdf2 sha256 and sha512 schemes (ITS-7977) Fixed autogroup modification callback responses (ITS-6970) Fixed nssov compare with usergroup (ITS-8079) Fixed nssov password change behavior (ITS-8080) Fixed nssov updated to 0.9.4 (ITS-8097) Documentation Added ldap_get_option(3) LDAP_FEATURE_INFO_VERSION information (ITS-8032) Added ldap_get_option(3) LDAP_OPT_API_INFO_VERSION information (ITS-8032) Fixed slapd-config(5), slapd.conf(5) tls_cipher_suite option (ITS-8099) Fixed slapd-meta(5), slapd-ldap(5) tls_cipher_suite option (ITS-8099) Fixed slapd-meta(5) fix minor typo (ITS-7769)
2015-07-15Upstream fix for ignored TLSDHParamFile optionmanu2-1/+224
From 6f120920d359d3b880c5c56bde4c1b91c3bedb01 Mon Sep 17 00:00:00 2001 From: Ben Jencks <ben@bjencks.net> Date: Sun, 27 Jan 2013 18:27:03 -0500 Subject: [PATCH] ITS#7506 tls_o.c: Fix Diffie-Hellman parameter usage. If a DHParamFile or olcDHParamFile is specified, then it will be used, otherwise a hardcoded 1024 bit parameter will be used. This allows the use of larger parameters; previously only 512 or 1024 bit parameters would ever be used. From cfeb28412c28ce9feeea6e6c055286f201bd0a34 Mon Sep 17 00:00:00 2001 From: Howard Chu <hyc@openldap.org> Date: Sat, 7 Sep 2013 06:39:53 -0700 Subject: [PATCH] ITS#7506 fix prev commit The patch unconditionally enabled DHparams, which is a significant change of behavior. Reverting to previous behavior, which only enables DH use if a DHparam file was configured.
2014-10-01Changes 2.4.40:adam5-38/+12
Fixed libldap DNS SRV priority handling (ITS-7027) Fixed libldap don't leak libldap err codes (ITS-7676) Fixed libldap CR/LF handling (ITS-4635) Fixed libldap ldif-wrap length (ITS-7871) Fixed libldap GnuTLS ciphersuite parsing (ITS-7500) Fixed libldap GnuTLS with newer versions (ITS-7430,ITS-6359) Fixed libldif to correctly handle 4096 character lines (ITS-7859) Fixed librewrite reference counting (ITS-7723) Fixed slapacl with back-mdb reader transactions (ITS-7920) Fixed slapd syncrepl to send cookie on fallback (ITS-7849) Fixed slapd syncrepl SEGV when abandoning a connection (ITS-7928) Fixed slapd slapcat with external schema (ITS-7895) Fixed slapd schema RDN normalization (ITS-7935) Fixed slapd with repeated language tags (ITS-7941) Fixed slapd modrdn crash on naming attr with no matching rule (ITS-7850) Fixed slapd memory leak in control handling (ITS-7942) Fixed slapd-ldap removed dead code (ITS-7922) Fixed slapd-mdb to work concurrently with slapadd (ITS-7798) Fixed slapd-mdb with paged results (ITS-7705, ITS-7800) Fixed slapd-mdb slapcat with nonexistent indices (ITS-7870) Fixed slapd-mdb long lived reader transactions (ITS-7904) Fixed slapd-mdb memory leak on matchedDN (ITS-7872) Fixed slapd-mdb sorting of attribute values (ITS-7902) Fixed slapd-mdb to flag attribute values as sorted (ITS-7903) Fixed slapd-mdb index config handling (ITS-7912) Fixed slapd-mdb entry release handling (ITS-7915) Fixed slapd-mdb with aliases and referrals (ITS-7927) Fixed slapd-mdb alias dereferencing (ITS-7702) Fixed slapd-sock socket flushing (ITS-7937) Fixed slapo-accesslog attribute normalization (ITS-7934) Fixed slapo-accesslog internal search logging (ITS-7929) Fixed slapo-auditlog connection destroy logic (ITS-7906,ITS-7923) Fixed slapo-chain interaction with slapo-rwm (ITS-7930) Fixed slapo-constraint connection destroy logic (ITS-7906,ITS-7923) Fixed slapo-dds connection destroy logic (ITS-7906,ITS-7923) Fixed slapo-dyngroup connection destroy logic (ITS-7906,ITS-7923) Fixed slapo-memberof attr count (ITS-7893) Fixed slapo-memberof frontendDB handling (ITS-7249) Fixed slapo-memberof internal search logging (ITS-7929) Fixed slapo-pcache config processing (ITS-7919) Fixed slapo-pcache connection destroy logic (ITS-7906,ITS-7923) Added slapo-ppolicy ORDERING rules (ITS-7838) Fixed slapo-ppolicy timestamp resolution to use microseconds (ITS-7161) Fixed slapo-ppolicy connection destroy logic (ITS-7906,ITS-7923) Fixed slapo-refint to check for pauses in cn=config (ITS-7873) Fixed slapo-refint internal search logging (ITS-7929) Fixed slapo-refint connection destroy logic (ITS-7906,ITS-7923) Fixed slapo-seqmod connection destroy logic (ITS-7906,ITS-7923) Fixed slapo-slapover connection destroy logic (ITS-7906,ITS-7923) Fixed slapo-sock db_init (ITS-7868) Fixed slapo-sssvlv fix olcSssVlvMaxPerConn (ITS-7908) Fixed slapo-translucent double free (ITS-7587) Fixed slapo-translucent to work with manageDSAit (ITS-7864) Fixed slapo-translucent to use local backend with local entries (ITS-7915) Fixed slapo-unique connection destroy logic (ITS-7906,ITS-7923) Fixed slapcacl with invalid suffix
2014-07-18Fix SCO OpenServer 5.0.7/3.2 build.ryoon2-1/+18
2014-05-09Add patch from OpenLDAP GIT repository to fix CVE-2013-4449 (SA55238).tron2-1/+26
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron1-1/+2
2014-01-28Changes 2.4.39:adam2-6/+6
Fixed libldap MozNSS crash Fixed libldap memory leak with SASL Fixed libldap assert in parse_passwdpolicy_control Fixed libldap shortcut NULL RDNs Fixed libldap deref to use correct control Fixed liblmdb keysizes with mdb_update_key Fixed slapd cn=config olcDbConfig modification Fixed slapd-bdb/hdb to bail out of search if config is paused Fixed slapd-bdb/hdb indexing issue with derived attributes Fixed slapd-mdb to bail out of search if config is paused Fixed slapd-mdb indexing issue with derived attributes Fixed slapd-perl to bail out of search if config is paused Fixed slapd-sql to bail out of search if config is paused Fixed slapo-constraint handling of softadd/softdel Fixed slapo-syncprov assert with findbase Build Environment Test suite: Use $(MAKE) for tests Documentation admin24 fix TLSDHParamFile to be correct
2013-11-22Changes 2.4.38:adam2-6/+6
Fixed liblmdb nordahead flag Fixed liblmdb to check cursor index before cursor_del Fixed liblmdb wasted space on split Fixed slapd for certs with a NULL issuerDN Fixed slapd cn=config with empty nested includes Fixed slapd syncrepl memory leak with delta-sync MMR Fixed slapd-bdb/hdb to stop processing on dn not found Fixed slapd-bdb/hdb with indexed ANDed filters Fixed slapd-mdb to stop processing on dn not found Fixed slapd-mdb dangling reader Fixed slapd-mdb matching rule for OlcDbEnvFlags Fixed slapd-mdb with indexed ANDed filters Fixed slapd-meta from blocking other threads Fixed slapo-syncprov assert with findbase
2013-10-27Changes 2.4.37:adam2-6/+6
Added liblmdb nordahead environment flag Fixed client tools CLDAP with IPv6 Fixed libldap CLDAP with IPv6 Fixed libldap lock ordering with abandon op Fixed liblmdb segfault with mdb_cursor_del Fixed liblmdb when converting to writemap Fixed liblmdb assert on MDB_NEXT with delete Fixed liblmdb wasted space on split Fixed slapd cn=config with olcTLSProtocolMin Fixed slapd-bdb/hdb optimize index updates Fixed slapd-ldap chaining with cn=config Fixed slapd-ldap chaning with controls Fixed slapd-mdb optimize index updates Fixed slapd-meta chaining with cn=config Fixed slapo-constraint to no-op on nonexistent entries Fixed slapo-dds assert on startup Fixed slapo-memberof to not replicate internal ops Fixed slapo-refint to not replicate internal ops Build Environment Fixed slapd-mdb ptr arithmetic on void *s Documentation ldapsearch(1) minor typo fix slapd-passwd(5) minor typo fix
2013-08-20Changes 2.4.36:adam2-6/+6
Added back-meta target filter patterns (ITS 7609) Added liblmdb mdb_txn_env to API (ITS 7660) Fixed libldap CLDAP with uninit'd memory (ITS 7582) Fixed libldap with UDP (ITS 7583) Fixed libldap OpenSSL TLS versions (ITS 7645) Fixed liblmdb MDB_PREV behavior (ITS 7556) Fixed liblmdb transaction issues (ITS 7515) Fixed liblmdb mdb_drop overflow page return (ITS 7561) Fixed liblmdb nested split (ITS 7592) Fixed liblmdb overflow page behavior (ITS 7620) Fixed liblmdb race condition with read and write txns (ITS 7635) Fixed liblmdb mdb_del behavior with MDB_DUPSORT and mdb_del (ITS 7658) Fixed slapd cn=config with unknown schema elements (ITS 7608) Fixed slapd cn=config with loglevel 0 (ITS 7611) Fixed slapd slapi filterlist free behavior (ITS 7636) Fixed slapd slapi control free behavior (ITS 7641) Fixed slapd schema countryString as directoryString (ITS 7659) Fixed slapd schema telephoneNumber as directoryString (ITS 7659) Fixed slapd-bdb/hdb to wait for read locks in tool mode (ITS 6365) Fixed slapd-mdb behavior with alias dereferencing (ITS 7577) Fixed slapd-mdb modrdn and base-scoped searches (ITS 7604) Fixed slapd-mdb refcount behavior (ITS 7628) Fixed slapd-meta binding flag is set (ITS 7524) Fixed slapd-meta with minimal config (ITS 7581) Fixed slapd-meta missing results messages (ITS 7591) Added slapd-meta TCP keepalive support (ITS 7513) Fixed slapo-sssvlv double free (ITS 7588) Fixed slaptest to list -Q option (ITS 7568) Build Environment Fixed slapd-meta declaration warnings (ITS 7654) Contrib Fixed nssov group enumeration bug (ITS 7569) Fixed autogroup when URI has no attrs (ITS 7580) Documentation admin24 Update database backend notes (ITS 7590) ldap.conf(5) fixed typos (ITS 7568) ldapmodify(1) remove replog reference (ITS 7562) ldif(5) remove replog reference (ITS 7562) slapd-config(5) remove replog reference (ITS 7562) slapd.conf(5) remove replog reference (ITS 7562) slapd-config(5) document TLSProtocolMin (ITS 5655,ITS 7645) slapd.conf(5) document TLSProtocolMin
2013-05-10Pre-answer openldap autoconf run-tests for NetBSD cross-builds.riastradh1-1/+7
2013-04-13Changes 2.4.35:adam3-8/+7
Fixed liblmdb mdb_cursor_put with MDB_MULTIPLE Fixed liblmdb page rebalance Fixed liblmdb missing parens Fixed liblmdb mdb_cursor_del crash Fixed slapd syncrepl updateCookie status Fixed slapd connection logging Fixed slapd segfault on modify Fixed slapd-mdb to reject undefined attrs Fixed slapo-pcache with +/- attrsets Build Environment don't install DB_CONFIG if no BDB backends Documentation slapschema(8) fix tool name admin24 fixed pcache example admin24 fixed config examples
2013-03-16OpenLDAP 2.4.34 Release (2013/03/03)adam5-30/+71
Fixed libldap connections with EINTR (ITS7476) Fixed libldap lineno overflow in ldif_read_record (ITS7497) Fixed liblmdb mdb_env_open flag handling (ITS7453) Fixed liblmdb mdb_midl_sort array optimization (ITS7432) Fixed liblmdb freelist with large entries (ITS7455) Fixed liblmdb to check for filled dirty page list (ITS7491) Fixed liblmdb to validate data limits (ITS7485) Fixed liblmdb mdb_update_key for large keys (ITS7505) Fixed ldapmodify to not core dump with invalid LDIF (ITS7477) Fixed slapd syncrepl for old entries in MMR setup (ITS7427) Fixed slapd signedness for index_substr_any_* (ITS7449) Fixed slapd enforce SLAPD_MAX_DAEMON_THREADS (ITS7450) Fixed slapd mutex in send_ldap_ber (ITS6164) Added slapd-ldap onerr option (ITS7492) Added slapd-ldap keepalive support (ITS7501) Fixed slapd-ldif with empty dir (ITS7451) Fixed slapd-mdb to reopen attr DBs after env reopen (ITS7416) Fixed slapd-mdb handling of missing entries (ITS7483,7496) Fixed slapd-mdb environment flag setting (ITS7452) Fixed slapd-mdb with sub db slapcat (ITS7469) Fixed slapd-mdb to correctly work with toolthreads > 2 (ITS7488,ITS7527) Fixed slapd-mdb subtree search speed (ITS7473) Fixed slapd-meta conversion to cn=config (ITS7525) Fixed slapd-meta segfault when modifying olcDbUri (ITS7526) Fixed slapd-sql back-config support (ITS7499) Fixed slapo-constraint handle uri and restrict correctly (ITS7418) Fixed slapo-constraint with multi-master replication (ITS7426) Fixed slapo-constraint segfault (ITS7431) Fixed slapo-deref control initialization (ITS7436) Fixed slapo-deref control exposure (ITS7445) Fixed slapo-memberof with internal ops (ITS7487) Fixed slapo-pcache matching rules for config db (ITS7459) Fixed slapo-rwm modrdn cleanup (ITS7414) Fixed slapo-sssvlv maxperconn parameter (ITS7484) Build Environment Fixed slapo-constraint test suite (ITS7423) Contrib Added nssov nssov_config support (ITS7518) Added nssov password_prohibit_message (ITS7518) Fixed ldapc++ with gcc-4.7 (ITS7281,ITS7304) Fixed nssov olcNssPamSession handling (ITS7481) Fixed nssov connection DN (ITS7518) Add missing Makefile for various modules (ITS7308) Unify Makefile structure for modules (ITS7309) Fixed slapo-allowed attribute replication (ITS7493) Fixed slapo-passwd SHA2 to correctly zero buffer (ITS7490) Documentation ldapurl(1) fix example usage (ITS7454) ldap_get_option(3) fixed trailing whitespace (ITS7411) slapd-config(5) olcExtraAttrs is per db (ITS7421) slapd-overlays(5) update manpage index (ITS7489) slapo-dynlist(5) Search behavior notes (ITS7486) slapo-valsort(5) Document valsort control syntax (ITS7523)
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin1-1/+2
2012-10-22Handover maintainership to Adam.ghen2-4/+4
2012-10-21Do not use libfetch in openldap-client.joerg1-4/+3
2012-10-13Changes 2.4.33:adam4-28/+10
Added slapd-meta cn=config support Fixed libldap MozNSS slot picking Fixed libldap MozNSS with tokenname:certnickname format Fixed libmdb POSIX semaphore cleanup on environment close Fixed libmdb mdb_page_split Fixed slapd alock handling on Windows Fixed slapd acl handling with zero-length values Fixed slapd syncprov to not reference ops inside a lock Fixed slapd delta-syncrepl MMR with large attribute values Fixed slapd slapd_rw_destroy function Fixed slapd-ldap idassert bind handling Fixed slapd-mdb slapadd -q -w double free Fixed slapd-mdb to close read txn in reindex commit Fixed slapo-constraint with multiple modifications Build Environment Fixed build with Visual Studio Fixed libmdb posix semaphore use on BSD system Add slapo-constraint test suite Contrib Updated radius passwd module for NAS-Identifier Documentation slapo-refint(5) Note that refint is not replicated