]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
6 years agoITS#9010 - Delete back-bdb/back-hdb
Quanah Gibson-Mount [Fri, 3 May 2019 22:52:59 +0000 (22:52 +0000)] 
ITS#9010 - Delete back-bdb/back-hdb

This commits deletes all references and code for back-bdb and back-hdb.
There is some follow up work still necessary to flush out the admin
guide for back-mdb.

6 years agouse AI_ADDRCONFIG if defined in the environment
Jan Vcelak [Thu, 19 Jul 2012 08:33:18 +0000 (10:33 +0200)] 
use AI_ADDRCONFIG if defined in the environment

6 years agoITS#8743 Initialise the metafilter we allocate
Ondřej Kuzník [Mon, 13 May 2019 12:07:11 +0000 (13:07 +0100)] 
ITS#8743 Initialise the metafilter we allocate

6 years agoITS#9015 Treat an empty cookie from a FALLBACK search as a success
Ondřej Kuzník [Tue, 7 May 2019 15:42:51 +0000 (16:42 +0100)] 
ITS#9015 Treat an empty cookie from a FALLBACK search as a success

6 years agoITS#9015 Don't generate contextCSN on empty DB
Ondřej Kuzník [Mon, 29 Apr 2019 10:39:05 +0000 (11:39 +0100)] 
ITS#9015 Don't generate contextCSN on empty DB

6 years agoITS#9015 Generate contextCSN unless we're a pure replica.
Ondřej Kuzník [Fri, 26 Apr 2019 09:28:21 +0000 (10:28 +0100)] 
ITS#9015 Generate contextCSN unless we're a pure replica.

Essentially reverts part of cd8ff37629012c1676ef79de164a159da9b2ae89 to
make sure there is always a contextCSN if the server is in charge of its
own serverID.

6 years agoITS#8693 Tweak previous commit
Ondřej Kuzník [Wed, 8 May 2019 14:31:13 +0000 (15:31 +0100)] 
ITS#8693 Tweak previous commit

6 years agoITS#8693 Document unused but generated starttls parameter
Ondřej Kuzník [Wed, 8 May 2019 14:12:08 +0000 (15:12 +0100)] 
ITS#8693 Document unused but generated starttls parameter

6 years agoITS#9008 Do the same for contrib Makefiles
Ondřej Kuzník [Wed, 24 Apr 2019 13:59:51 +0000 (14:59 +0100)] 
ITS#9008 Do the same for contrib Makefiles

6 years agoITS#9008 moduledir rpath changes
Emily Backes [Fri, 6 Feb 2015 02:16:55 +0000 (18:16 -0800)] 
ITS#9008 moduledir rpath changes

6 years agoITS#9012 one more Win64 fix
Howard Chu [Sun, 21 Apr 2019 21:10:03 +0000 (22:10 +0100)] 
ITS#9012 one more Win64 fix

Was omitted from dda779d83e701c43ef48780653f396329e16c755

6 years agoITS#7585 fix ldapi with SASL_NOCANON
Sumit Bose [Tue, 7 May 2013 15:02:57 +0000 (17:02 +0200)] 
ITS#7585 fix ldapi with SASL_NOCANON

Was using the ldapi socket path as a hostname

6 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Thu, 18 Apr 2019 00:09:09 +0000 (00:09 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

6 years agoITS#8881 - Note MDB is the primary backend
Quanah Gibson-Mount [Wed, 17 Apr 2019 23:52:51 +0000 (23:52 +0000)] 
ITS#8881 - Note MDB is the primary backend

Update to note that MDB is the primary backend and HDB/BDB are
deprecated.

6 years agoITS#8771 - Note back-mdb is recommended
Quanah Gibson-Mount [Wed, 17 Apr 2019 23:49:08 +0000 (23:49 +0000)] 
ITS#8771 - Note back-mdb is recommended

Commit 279594c22f0fcc077a9ec4d1031e10fe7e1548bf officially marked
slapd-mdb as being the recommended backend for OpenLDAP, superseding
back-hdb.  This man page was missed during that update.

6 years agoITS#8761 - Fix comment
Quanah Gibson-Mount [Wed, 17 Apr 2019 22:08:48 +0000 (22:08 +0000)] 
ITS#8761 - Fix comment

Comment in the code referenced Referential Integrity overlay instead of
the Return Code overlay.

6 years agoITS#9007
Howard Chu [Tue, 16 Apr 2019 09:35:50 +0000 (10:35 +0100)] 
ITS#9007

6 years agoITS#9007 don't free loose writemap pages
Kris Zyp [Tue, 16 Apr 2019 02:07:56 +0000 (20:07 -0600)] 
ITS#9007 don't free loose writemap pages

Broken in ITS#8756

6 years agoDo not leak lds in slapd-* tools
Ondřej Kuzník [Wed, 27 Mar 2019 10:26:44 +0000 (10:26 +0000)] 
Do not leak lds in slapd-* tools

6 years agoDo not allocate a new cbinding if we have one already.
Ondřej Kuzník [Wed, 27 Mar 2019 10:25:58 +0000 (10:25 +0000)] 
Do not allocate a new cbinding if we have one already.

6 years agoDo not leak memory in slappasswd
Ondřej Kuzník [Wed, 27 Mar 2019 10:27:44 +0000 (10:27 +0000)] 
Do not leak memory in slappasswd

6 years agoITS#8999 more for prev commit
Howard Chu [Tue, 26 Mar 2019 13:12:26 +0000 (13:12 +0000)] 
ITS#8999 more for prev commit

6 years agoITS#8999 fix telephoneNumberNormalize, cert DN validation
Howard Chu [Tue, 26 Mar 2019 11:17:30 +0000 (11:17 +0000)] 
ITS#8999 fix telephoneNumberNormalize, cert DN validation

6 years agoITS#8731 Improve sample processing script
Ondřej Kuzník [Thu, 21 Mar 2019 10:29:03 +0000 (10:29 +0000)] 
ITS#8731 Improve sample processing script

6 years agoAdd persist support
Howard Chu [Thu, 28 Feb 2019 13:24:13 +0000 (13:24 +0000)] 
Add persist support

6 years agoITS#8980 Actually return the computed status
Ondřej Kuzník [Tue, 19 Mar 2019 16:44:30 +0000 (16:44 +0000)] 
ITS#8980 Actually return the computed status

6 years agoITS#8990 pickup SLAP_MOD_SOFT modops
Howard Chu [Mon, 11 Mar 2019 16:47:45 +0000 (16:47 +0000)] 
ITS#8990 pickup SLAP_MOD_SOFT modops

6 years agoITS#8989 fix bitshift integer overflow
Howard Chu [Sun, 10 Mar 2019 14:23:00 +0000 (14:23 +0000)] 
ITS#8989 fix bitshift integer overflow

6 years agowrite waiter handling cleanup
Quanah Gibson-Mount [Thu, 7 Mar 2019 23:31:44 +0000 (23:31 +0000)] 
write waiter handling cleanup

Follow on to commit 88d22a1ca3b28e10e6557e8aebbd75dd61fed511

Remove dead code

6 years agoUse LDAP_OPT_KEEPCONN to prevent the target connection from being freed
Nadezhda Ivanova [Thu, 28 Feb 2019 14:46:58 +0000 (16:46 +0200)] 
Use LDAP_OPT_KEEPCONN to prevent the target connection from being freed

On error, the ldap connection was freed and under some circumstances the fd was being reused,
which caused an assertion error in connection_init.

6 years agoAdd LDAP_OPT_KEEPCONN option
Nadezhda Ivanova [Thu, 7 Feb 2019 16:36:17 +0000 (18:36 +0200)] 
Add LDAP_OPT_KEEPCONN option

This option instructs try_read1msg to not free the connection on read error
or on Notice of disconnections, but leave it to the caller. It is needed,
for example, by back-asyncmeta, who expects to have control on when
its target connections are freed. Must be used with caution.

6 years agoMove initialization of Connection mutexes to connections_init
Nadezhda Ivanova [Mon, 11 Feb 2019 14:19:49 +0000 (16:19 +0200)] 
Move initialization of Connection mutexes to connections_init

6 years agoITS#8980 fix async connections with non-blocking TLS
Vernon Smith [Tue, 19 Feb 2019 05:57:00 +0000 (05:57 +0000)] 
ITS#8980 fix async connections with non-blocking TLS

6 years agoITS#8734 Fixes for many back-asyncmeta issues
Nadezhda Ivanova [Mon, 18 Feb 2019 15:08:52 +0000 (17:08 +0200)] 
ITS#8734 Fixes for many back-asyncmeta issues

Includes all the changes necessary to fix back-asyncmeta issues
discovered during on-site testing since the start of 2016.
These include:
Issues with stability - crashes and assetion failures
Incorrect behavior during unstable network conditions, such as inability to reset connections
or process responses, or "hanging" to wait for a response that would never be received.
Memory leaks and memory management fixes - major redesign of the way back-asyncmeta
works with memory contexts.
Rewrite was replaced with suffix-massage in configuration, and the network-timeout value was changed to milliseconds.
Incorrect behavior when SASL is used to bind to a target.
Many problems caused by race conditions
Fixes for compiler warnings, and tests.
Cleanup of unused code.

6 years agoITS#8983 Add draft Persistent Search
Howard Chu [Mon, 25 Feb 2019 11:53:55 +0000 (11:53 +0000)] 
ITS#8983 Add draft Persistent Search

6 years agoITS#8753 Add pinning tests
Ondřej Kuzník [Mon, 25 Feb 2019 14:28:27 +0000 (14:28 +0000)] 
ITS#8753 Add pinning tests

6 years agoITS#8731 Make loading ldap-int.h possible from server code again
Ondřej Kuzník [Tue, 19 Feb 2019 17:14:26 +0000 (17:14 +0000)] 
ITS#8731 Make loading ldap-int.h possible from server code again

6 years agoSilence compiler warnings
Ondřej Kuzník [Tue, 19 Feb 2019 10:27:34 +0000 (10:27 +0000)] 
Silence compiler warnings

6 years agoActually check for mi->bi_extra
Ondřej Kuzník [Tue, 19 Feb 2019 10:28:01 +0000 (10:28 +0000)] 
Actually check for mi->bi_extra

6 years agoMake prototypes available where needed
Ondřej Kuzník [Tue, 19 Feb 2019 10:26:39 +0000 (10:26 +0000)] 
Make prototypes available where needed

6 years agoITS#8731 Remove more unused buffers
Ondřej Kuzník [Tue, 19 Feb 2019 10:24:43 +0000 (10:24 +0000)] 
ITS#8731 Remove more unused buffers

6 years agoITS#8977 missed a commit
Howard Chu [Sat, 16 Feb 2019 13:51:06 +0000 (13:51 +0000)] 
ITS#8977 missed a commit

6 years agoITS#8731 Manual adjustment post doc/devel/variadic_debug/07-shortcut.cocci
Ondřej Kuzník [Mon, 11 Sep 2017 13:36:21 +0000 (13:36 +0000)] 
ITS#8731 Manual adjustment post doc/devel/variadic_debug/07-shortcut.cocci

6 years agoITS#8731 Apply doc/devel/variadic_debug/07-shortcut.cocci
Ondřej Kuzník [Fri, 15 Feb 2019 16:50:54 +0000 (16:50 +0000)] 
ITS#8731 Apply doc/devel/variadic_debug/07-shortcut.cocci

6 years agoITS#8731 NSSOV is not processable by coccinelle
Ondřej Kuzník [Mon, 11 Sep 2017 13:29:52 +0000 (13:29 +0000)] 
ITS#8731 NSSOV is not processable by coccinelle

6 years agoITS#8731 Manual work not picked up by coccinelle
Ondřej Kuzník [Mon, 11 Sep 2017 13:29:52 +0000 (13:29 +0000)] 
ITS#8731 Manual work not picked up by coccinelle

6 years agoITS#8731 Apply doc/devel/variadic_debug/04-variadic.cocci
Ondřej Kuzník [Fri, 15 Feb 2019 16:49:52 +0000 (16:49 +0000)] 
ITS#8731 Apply doc/devel/variadic_debug/04-variadic.cocci

6 years agoITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci
Ondřej Kuzník [Fri, 15 Feb 2019 16:47:40 +0000 (16:47 +0000)] 
ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci

6 years agoITS#8731 Manual adjustments
Ondřej Kuzník [Fri, 15 Feb 2019 13:52:23 +0000 (13:52 +0000)] 
ITS#8731 Manual adjustments

6 years agoITS#8731 Rework logging
Ondřej Kuzník [Fri, 30 Jun 2017 11:22:00 +0000 (12:22 +0100)] 
ITS#8731 Rework logging

6 years agoITS#8731 General Debug() related fixes
Ondřej Kuzník [Mon, 11 Sep 2017 13:26:45 +0000 (13:26 +0000)] 
ITS#8731 General Debug() related fixes

6 years agoITS#8731 Add the documentation and scripts
Ondřej Kuzník [Fri, 15 Feb 2019 16:47:33 +0000 (16:47 +0000)] 
ITS#8731 Add the documentation and scripts

6 years agoITS#8977 fix prev commit
Howard Chu [Fri, 15 Feb 2019 16:12:41 +0000 (16:12 +0000)] 
ITS#8977 fix prev commit

6 years agoITS#8977 make IDL size configurable
Howard Chu [Fri, 15 Feb 2019 14:37:51 +0000 (14:37 +0000)] 
ITS#8977 make IDL size configurable

6 years agoITS#8841 Fix an assertion error in back-meta when network interface is unavailable
Nadezhda Ivanova [Wed, 22 Nov 2017 11:44:07 +0000 (13:44 +0200)] 
ITS#8841 Fix an assertion error in back-meta when network interface is unavailable

Because an API error code was assigned to sr_err, on network error back-meta would cause
an assert error at result.c: 830

assert( !LDAP_API_ERROR( rs->sr_err ) );

6 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Wed, 13 Feb 2019 16:58:49 +0000 (16:58 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

6 years agoITS#8975
Howard Chu [Sun, 10 Feb 2019 10:13:10 +0000 (10:13 +0000)] 
ITS#8975

6 years agoITS#8975 WIN32: Skip setting file pointer for write maps
Kris Zyp [Wed, 6 Feb 2019 20:49:27 +0000 (13:49 -0700)] 
ITS#8975 WIN32: Skip setting file pointer for write maps

CreateFileMapping already takes care of it.

6 years agoITS#7770 schema fixup
Howard Chu [Mon, 4 Feb 2019 02:50:17 +0000 (02:50 +0000)] 
ITS#7770 schema fixup

6 years agoITS#7770 add mdb_stat info to cn=monitor
Howard Chu [Sun, 3 Feb 2019 11:08:24 +0000 (11:08 +0000)] 
ITS#7770 add mdb_stat info to cn=monitor

6 years agoITS#8971 tweak prev commit
Howard Chu [Sat, 2 Feb 2019 22:48:53 +0000 (22:48 +0000)] 
ITS#8971 tweak prev commit

Check for BVISNULL, maybe rootDSE is a valid reqDN

6 years agoITS#8971 most exops have no reqDN
Howard Chu [Sat, 2 Feb 2019 21:45:04 +0000 (21:45 +0000)] 
ITS#8971 most exops have no reqDN

6 years agoITS#8963 use BIND timeout for start_tls
Howard Chu [Thu, 31 Jan 2019 23:37:03 +0000 (23:37 +0000)] 
ITS#8963 use BIND timeout for start_tls

Since we only support it in conjunction with Bind anyway, not
as a standalone op

6 years agoITS#8957 - Fix ASYNC TLS
Quanah Gibson-Mount [Thu, 31 Jan 2019 02:33:17 +0000 (02:33 +0000)] 
ITS#8957 - Fix ASYNC TLS

Fix ASYNC TLS by correctly handling a return code of -2 in addition to 0

6 years agoITS#8968 - Fix ASYNC connection on Solaris 10
Quanah Gibson-Mount [Thu, 31 Jan 2019 02:37:07 +0000 (02:37 +0000)] 
ITS#8968 - Fix ASYNC connection on Solaris 10

Fixes ASYNC connections to handle a return code of ENOTCONN as this is
what Solaris 10 does.

6 years agoITS#8969
Howard Chu [Thu, 31 Jan 2019 00:22:50 +0000 (00:22 +0000)] 
ITS#8969

6 years agoITS#8969 tweak mdb_page_split
Howard Chu [Wed, 30 Jan 2019 23:43:34 +0000 (23:43 +0000)] 
ITS#8969 tweak mdb_page_split

Bump up number of keys for which we use fine-grained splitpoint search

6 years agoSchema cleanup
Howard Chu [Wed, 30 Jan 2019 14:06:09 +0000 (14:06 +0000)] 
Schema cleanup

6 years agoITS#8966 add changelog support to syncrepl consumer
Howard Chu [Mon, 28 Jan 2019 21:16:49 +0000 (21:16 +0000)] 
ITS#8966 add changelog support to syncrepl consumer

Tested against DSEE7. The DSEE binaries must be in your path to run the test script.

6 years agoITS#8472 only do index cleanup if DB is running
Howard Chu [Fri, 25 Jan 2019 18:11:58 +0000 (18:11 +0000)] 
ITS#8472 only do index cleanup if DB is running

6 years agoITS#6300 fix kqueue initialization
Howard Chu [Tue, 15 Jan 2019 21:39:46 +0000 (21:39 +0000)] 
ITS#6300 fix kqueue initialization

6 years agoHappy New Year
Howard Chu [Mon, 14 Jan 2019 19:06:20 +0000 (19:06 +0000)] 
Happy New Year

6 years agoHappy New Year!
Quanah Gibson-Mount [Mon, 14 Jan 2019 18:46:16 +0000 (18:46 +0000)] 
Happy New Year!

6 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Mon, 14 Jan 2019 18:40:58 +0000 (18:40 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

6 years agoHappy New Year!
Quanah Gibson-Mount [Mon, 14 Jan 2019 18:40:15 +0000 (18:40 +0000)] 
Happy New Year!

6 years agoITS#8663 Fix memberof SLAP_CONFIG_EMIT
Ondřej Kuzník [Mon, 14 Jan 2019 11:44:35 +0000 (11:44 +0000)] 
ITS#8663 Fix memberof SLAP_CONFIG_EMIT

6 years agoTest updating memberof config works
Ondřej Kuzník [Fri, 11 Jan 2019 15:15:07 +0000 (15:15 +0000)] 
Test updating memberof config works

6 years agoITS#8952 use msec for epoll / devpoll event wait
Howard Chu [Wed, 2 Jan 2019 21:51:48 +0000 (21:51 +0000)] 
ITS#8952 use msec for epoll / devpoll event wait

6 years agoAdd libldap/msctrl.c
Howard Chu [Wed, 2 Jan 2019 17:42:56 +0000 (17:42 +0000)] 
Add libldap/msctrl.c

6 years agoRegenerate configure for CLIENT_LIBS addition
Quanah Gibson-Mount [Wed, 2 Jan 2019 15:44:34 +0000 (15:44 +0000)] 
Regenerate configure for CLIENT_LIBS addition

6 years agoFixes windows build with new MS AD sync Add CLIENT_LIBS for libraries required to...
Quanah Gibson-Mount [Tue, 1 Jan 2019 17:37:25 +0000 (17:37 +0000)] 
Fixes windows build with new MS AD sync Add CLIENT_LIBS for libraries required to build the clients.

6 years agoITS#8353 CRYPTO_set_id_callback deprecated in OpenSSL 0.9.9
Howard Chu [Wed, 2 Jan 2019 10:16:40 +0000 (10:16 +0000)] 
ITS#8353 CRYPTO_set_id_callback deprecated in OpenSSL 0.9.9

6 years agoITS#8948 -- Regenerate configure
Quanah Gibson-Mount [Mon, 31 Dec 2018 21:32:50 +0000 (21:32 +0000)] 
ITS#8948 -- Regenerate configure

6 years agoITS#8948 - Fix BDB lib to only be linked with static backend
Quanah Gibson-Mount [Mon, 31 Dec 2018 18:24:12 +0000 (18:24 +0000)] 
ITS#8948 - Fix BDB lib to only be linked with static backend

6 years agoMore for NULL modrdn modlist
Howard Chu [Sat, 22 Dec 2018 20:58:08 +0000 (12:58 -0800)] 
More for NULL modrdn modlist

6 years agoMore for test071
Howard Chu [Sat, 22 Dec 2018 18:41:45 +0000 (10:41 -0800)] 
More for test071

6 years agoMore for NULL modrdn modlist
Howard Chu [Sat, 22 Dec 2018 18:40:59 +0000 (10:40 -0800)] 
More for NULL modrdn modlist

6 years agoMSAD add basic test
Howard Chu [Sat, 22 Dec 2018 17:09:56 +0000 (09:09 -0800)] 
MSAD add basic test

Requires additional envvars to be set before running.

6 years agoMSAD dirsync fixes
Howard Chu [Sat, 22 Dec 2018 17:08:10 +0000 (09:08 -0800)] 
MSAD dirsync fixes

Don't hijack whenCreated attribute for createTimestamp
Don't add RDN to entry on modrdn
free cookie on cleanup

6 years agoAllow NULL modlist in modrdn
Howard Chu [Sat, 22 Dec 2018 17:00:34 +0000 (09:00 -0800)] 
Allow NULL modlist in modrdn

For compat with MSAD which doesn't add the naming attribute to
the entry during a rename

6 years agocleanup attr.c
Howard Chu [Sat, 22 Dec 2018 16:59:20 +0000 (08:59 -0800)] 
cleanup attr.c

rename attr_list to attrs_list to avoid confusion with at.c in gdb

6 years agoDirsync delete/modrdn fixes
Howard Chu [Sat, 22 Dec 2018 13:21:56 +0000 (05:21 -0800)] 
Dirsync delete/modrdn fixes

Delete could try to queue a NULL syncCSN (dirsync has none)
Modrdn could try to delete a nonexistent oldRDN (leftover from #7144)

6 years agoReturn to engineering
Quanah Gibson-Mount [Wed, 19 Dec 2018 16:52:12 +0000 (16:52 +0000)] 
Return to engineering

6 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Wed, 19 Dec 2018 15:53:50 +0000 (15:53 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

6 years agoRelease 0.9.23 LMDB_0.9.23
Quanah Gibson-Mount [Wed, 19 Dec 2018 15:51:03 +0000 (15:51 +0000)] 
Release 0.9.23

6 years agoITS#8890 fix benign typos
Thorsten Glaser [Wed, 1 Aug 2018 20:23:48 +0000 (20:23 +0000)] 
ITS#8890 fix benign typos

No functional impact

6 years agoMore for privateKey tweak
Howard Chu [Tue, 18 Dec 2018 21:59:59 +0000 (21:59 +0000)] 
More for privateKey tweak

Leave olcTLSCertificateKey as its own attr, not a subtype

6 years agoMore for privateKey tweak
Howard Chu [Tue, 18 Dec 2018 21:56:18 +0000 (21:56 +0000)] 
More for privateKey tweak

6 years agoTweak privateKey schema
Howard Chu [Tue, 18 Dec 2018 19:10:04 +0000 (19:10 +0000)] 
Tweak privateKey schema

We're using PKCS#8 syntax, drop the OpenLDAP syntax OID.
Rename attribute accordingly.
Tweak validator to accept encrypted keys.

6 years agoITS#8286 - Additional fixes
Quanah Gibson-Mount [Tue, 18 Dec 2018 21:05:09 +0000 (21:05 +0000)] 
ITS#8286 - Additional fixes
Fix incorrect matching rules for olcTLSCertificateKey and olcDbCryptKey
Fix SYNTAX for olcRootPW to be octetString