summaryrefslogtreecommitdiff
path: root/databases/openldap
AgeCommit message (Collapse)AuthorFilesLines
2022-07-17openldap: fix typo in commenttnn1-2/+2
2022-07-15openldap: updated to 2.6.3adam3-28/+6
OpenLDAP 2.6.3 Release (2022/07/14) Fixed librewrite declaration of calloc Fixed libldap to check for NULL ld Fixed libldap memory leaks Fixed lloadd to correctly tag Notice of Disconnection Fixed slapd kqueue support Fixed slapd delta-sync DN leak on ADD ops Fixed slapd replication with back-glue Fixed slapd lastbind replication with chaining Fixed slapd-ldap to correctly set authzid Fixed slapd-mdb to check for stale readers on MDB_READERS_FULL Fixed slapd-mdb indexer task with replicated config Fixed slapo-accesslog onetime memory leak Fixed slapo-ppolicy interaction with slapo-rwm Fixed slapo-rwm to handle escaping special characters Fixed slapo-syncprov memory leaks Fixed slapo-syncprov fallback in delta-sync mode Fixed slapo-unique to not release NULL entry Build Environment Added slapd-watcher -c contextDN option Fixed parallel builds Fixed test020 to skip back-wt Fixed slapd-watcher SID handling with single URI Fixed test043 with workaround Contrib Added slapo-emptyds contrib module Added slapo-ciboolean contrib module Fixed slapo-autogroup backwards compat Update ppm module to the 2.2 release Documentation Fixed ldap_get_option(3) to clarify ldap_get/set_option restrictions Fixed slapd-ldap(5),slapd-meta(5) missing bold tag on authz parameter
2022-06-23openldap: regen distinfo for new patchwiz1-1/+2
2022-06-22databases/openldap-server: fix runtime problem of slapdtaca1-0/+21
Apply fix for slapd from upstream (gitlab commit): ITS#9847 slapd: fix kqueue for FreeBSD/MacOSX/OpenBSD. Without this fix, slapd dose not reply properly. Bump PKGREVISION.
2022-05-05openldap: updated to 2.6.2adam2-6/+6
OpenLDAP 2.6.2 Added libldap support for OpenSSL 3.0 Added slapd support for OpenSSL 3.0 Fixed ldapdelete to prune LDAP subentries Fixed libldap to drop connection when non-LDAP data is received Fixed libldap to allow newlines at end of included file Fixed slapd slaptest conversion of olcLastBind Fixed slapd to correctly init global_host earlier Fixed slapd bconfig locking for cn=config replication Fixed slapd usage of thread local counters Fixed slapd to clear runqueue task correctly Fixed slapd idletimeout handling Fixed slapd syncrepl handling of new sessions Fixed slapd to clear connections on bind Fixed slapd to correctly advance connections index Fixed slapd syncrepl ODSEE replication of unknown attr Fixed slapd-asyncmeta memory leak in keepalive setting Fixed slapd-ldap memory leak in keepalive setting Fixed slapd-meta SEGV on config rewrite Fixed slapd-meta ordering on config rewrite Fixed slapd-meta memory leak in keepalive setting Fixed slapd-monitor SEGV on shutdown Fixed slapd-monitor crash when hitting sizelimit Fixed slapd-sql to properly escape filter value Added slapo-autoca support for OpenSSL 3.0 Added slapo-otp support for OpenSSL 3.0 Fixed slapo-dynlist dynamic group regression Fixed slapo-pcache SEGV on shutdown Fixed slapo-ppolicy operation handling to be consistent Fixed slapo-translucent to correctly duplicate substring filters Build Environment Add ability to override default compile time paths Fix compiliation with certain versions of gcc Fix compilation with openssl exclusions Fix warnings from make jobserver Contrib Update ppm module to the 2.1 release Documentation admin26 Document new lloadd features Fixed slapd.conf(5)/slapd-config(5) syncrepl sizelimit/timelimit documentation Fixed slapd-sock(5) to clarify "sockresps result" behavior
2022-01-20openldap: updated to 2.6.1adam2-6/+6
OpenLDAP 2.6.1 Release (2022/01/20) Fixed libldap to init client socket port Fixed libldap with referrals Added slapd config keyword for logfile format Fixed slapd to allow objectClass edits with no net change Fixed slapd configtable population Fixed slapd to only set loglevel in server mode Fixed slapd logfile-rotate use of uninitialized variable Fixed slapd passwd scheme handling with slapd.conf Fixed slapd postread support for modrdn Fixed slapd syncrepl recreation of deleted entries Fixed slapd syncrepl replication with ODSEE Fixed slapd syncrepl to properly replicate glue entries Fixed slapd syncrepl to reject REFRESH for precise resync Fixed slapd syncrepl to avoid busy loop during refresh Fixed slapd syncrepl when X-ORDERED is specified Fixed slapd syncrepl to better handle out of order delete ops Fixed slapd syncrepl to correctly close connections when config is deleted Fixed slapd-mdb to update indices correctly on replace ops Fixed slapd-wt to set correct flags Fixed slapo-accesslog to fix assertion due to deprecated code Fixed slapo-accesslog to fix inconsistently normalized minCSN Fixed slapo-accesslog delete handling of multi-valued config attrs Fixed slapo-autogroup to maintain values in insertion order Fixed slapo-constraint to maintain values in insertion order Fixed slapo-dyngroup to maintain values in insertion order Fixed slapo-dynlist compare operation for static groups Fixed slapo-dynlist static group filter with multiple members Fixed slapo-ppolicy when not built modularly Fixed slapo-refint to maintain values in insertion order Fixed slapo-retcode to honor requested insert position Fixed slapo-sock cn=config support Fixed slapo-syncprov memory leak Fixed slapo-syncprov to generate a more accurate accesslog query Fixed slapo-syncprov to allow empty DB to host persistent syncrepl connections Fixed slapo-syncprov to consider all deletes for sycnInfo messages Fixed slapo-translucent to warn on invalid config Fixed slapo-unique to warn on invalid config Fixed slapo-valsort to maintain values in insertion order Build Environment Fix test022 to preserve DELAY search output Fix slapd-watcher to allow startup when servers are down Contrib Fixed slapo-lastbind to work with 2.6 lastbind-precision configuration Documentation Fixed slapd.conf(5)/slapd-config(5) documentation on lastbind-precision Fixed slapo-accesslog(5) to clarify logoldattr usage
2021-12-01openldap: updated to 2.6.0adam3-10/+10
OpenLDAP 2.6.0 Initial release for "general use"
2021-10-26databases: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes The following distfiles could not be fetched (some may be only fetched conditionally): ./databases/cstore/distinfo D6.data.ros.gz ./databases/cstore/distinfo cstore0.2.tar.gz ./databases/cstore/distinfo data4.tar.gz
2021-10-12openldap: updated to 2.5.8adam2-6/+6
OpenLDAP 2.5.8 Release (2021/10/11) Fixed libldap ldap_int_tls_connect: isdigit() requires unsigned char Fixed libldap memory leak in ldap_get_option LDAP_OPT_X_TLS_PEERCERT Fixed slapd to allow normalized values for namingContexts in cn=monitor Fixed slapd to normalize the suffix in rootDSE Fixed slapd slapadd to avoid destroying configDB prematurely Fixed slapd to not spam logs with lastbind information Fixed slapd slaptest migration to correctly set olcTSLVerifyClient Fixed slapd-mdb multival delete handling Fixed slapd-sql ldap_entry_objectclass table for mariadb/mysql Fixed slapd-wt multiple issues Fixed slapd-wt to close cache db correctly Fixed slapo-ppolicy to restore OpenLDAP 2.4 compatibilty Fixed slapo-syncprov to free uuid list when finished replaying sessionlog Build Fixed libldap result.c compilation on musl systems Fixed slapd duplicate definition of peerbv Fixed test suite with memberof modular builds Contrib Added man page for ppm contrib module Fix crash when pwdCheckModuleArg is not defined for ppm Documentation Fixed guide download link for heimdal Fixed guide documentation for TLSECName Fixed guide documentation missing tags Fixed guide loadbalancer typo Fixed guide synprov-nopresent redundant text Fixed guide various typos and fix config alignment Removed ppolicy.schema from servers/slapd/schema/README Fixed slapd.conf(5)/slapd-config(5) to document default for database monitoring Fixed slapd-meta(5)/slapd-asyncmeta(5) verbiage for try-propagate Fixed slapo-syncprov(5) to note entryCSN indexing is highly recommended
2021-10-07databases: Remove SHA1 distfile hashesnia1-2/+1
2021-08-23openldap: updated to 2.5.7adam22-336/+146
OpenLDAP 2.5.7 Release (2021/08/18) Fixed lloadd client state tracking Fixed slapd bconfig to canonicalize structuralObjectclass Fixed slapd-ldif duplicate controls response Fixed slapd-mdb multival crash when attribute is missing an equality matchingrule Fixed slapd-mdb compatibility with OpenLDAP 2.4 MDB databases Fixed slapd-mdb idlexp maximum size handling Fixed slapd-monitor number of ops executing with asynchronous backends Fixed slapd-sql to add support for ppolicy attributes Fixed slapd-sql to close transactions after bind and search Fixed slapo-accesslog to make reqMod optional Fixed slapo-ppolicy logging when pwdChangedTime attribute is not present Documentation slapd-mdb(5) note max idlexp size is 30, not 31 slapo-accesslog(5) note that reqMod is optional Add ldapvc(1) man page Add guide section on load balancer Updated guide to document multiprovider as replacement for mirrormode Updated guide to clarify slapd-mdb upgrade requirements Updated guide to document removal of deprecated options from client tools OpenLDAP 2.5.6 Release (2021/07/27) Fixed libldap buffer overflow Fixed libldap missing mutex unlock on connection alloc failure Fixed lloadd cn=config olcBkLloadClientMaxPending setting Fixed slapd multiple config defaults Fixed slapd ipv6 addresses to work with tcp wrappers Fixed slapo-syncprov delete of nonexistent sessionlog Build Fixed library symbol versioning on Solaris Fixed compile warning in libldap/tpool.c Fixed compile warning in libldap/tls_o.c Contrib Fixed ppm module for sysconfdir Documentation Updated guide to document multival, idlexp, and maxentrysize OpenLDAP 2.5.5 Release (2021/06/03) Added libldap LDAP_OPT_TCP_USER_TIMEOUT support Added lloadd tcp-user-timeout support Added slapd-asyncmeta tcp-user-timeout support Added slapd-ldap tcp-user-timeout support Added slapd-meta tcp-user-timeout support Fixed incorrect control OIDs for AuthZ Identity Fixed libldap typo in util-int.c Fixed libldap double free of LDAP_OPT_DEFBASE Fixed libldap better TLS1.3 cipher suite handling Fixed lloadd multiple issues Fixed slapd slap_op_time to avoid duplicates across restarts Fixed slapd typo in daemon.c Fixed slapd slapi compilation Fixed slapd to handle empty DN in extended filters Fixed slapd syncrepl searches with empty base Fixed slapd syncrepl refresh on startup Fixed slapd abort due to typo Fixed slapd-asyncmeta quarantine handling Fixed slapd-asyncmeta to have a default operations timeout Fixed slapd-ldap quarantine handling Fixed slapd-mdb deletion of context entry Fixed slapd-mdb off-by-one affecting search scope Fixed slapd-meta quarantine handling Fixed slapo-accesslog to record reqNewDN for modRDN ops Fixed slapo-pcache locking during expiration Build Fixed slappw-argon2 module installation Contrib Update ldapc++/ldaptcl to use configure.ac Documentation ldap_first_attribute(3) - Document ldap_get_attribute_ber ldap_modify(3) - Delete non-existent mod_next parameter OpenLDAP 2.5.4 Release (2021/04/29) Initial release for "general use".
2021-06-14openldap: updated to 2.4.59adam2-7/+7
OpenLDAP 2.4.59 Release (2021/06/03) Fixed libldap TLSv1.3 cipher suites with OpenSSL 1.1.1 Fixed libldap double free of LDAP_OPT_DEFBASE Fixed slapd syncrepl handling of add+delete on single value attr Fixed slapd-mdb cursor init check Fixed slapd-mdb deletion of context entry Fixed slapd-mdb off-by-one affecting search scope Fixed slapo-pcache locking during expiration Contrib Fixed slapo-autogroup to not thrash thread context Documentation ldap_modify(3) - Delete non-existent mod_next parameter
2021-04-21openldap: remove dead master sitewiz1-2/+1
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