Quanah Gibson-Mount
b227ea50e0
Merge remote-tracking branch 'origin/mdb.RE/0.9'
2019-04-18 00:09:09 +00:00
Quanah Gibson-Mount
6d79439630
ITS#8881 - Note MDB is the primary backend
...
Update to note that MDB is the primary backend and HDB/BDB are
deprecated.
2019-04-17 23:52:51 +00:00
Quanah Gibson-Mount
c5ad08c1a4
ITS#8771 - Note back-mdb is recommended
...
Commit 279594c22f
officially marked
slapd-mdb as being the recommended backend for OpenLDAP, superseding
back-hdb. This man page was missed during that update.
2019-04-17 23:49:08 +00:00
Quanah Gibson-Mount
ca4b022fa2
ITS#8761 - Fix comment
...
Comment in the code referenced Referential Integrity overlay instead of
the Return Code overlay.
2019-04-17 22:08:48 +00:00
Howard Chu
4da8e78fc5
ITS#9007
2019-04-16 10:35:50 +01:00
Kris Zyp
8d93fe0718
ITS#9007 don't free loose writemap pages
...
Broken in ITS#8756
2019-04-16 10:35:04 +01:00
Ondřej Kuzník
593512bb7b
Do not leak lds in slapd-* tools
2019-03-27 10:54:42 +00:00
Ondřej Kuzník
5b55054544
Do not allocate a new cbinding if we have one already.
2019-03-27 10:54:42 +00:00
Ondřej Kuzník
3bda24173d
Do not leak memory in slappasswd
2019-03-27 10:54:42 +00:00
Howard Chu
8b7f21c7aa
ITS#8999 more for prev commit
2019-03-26 13:12:26 +00:00
Howard Chu
d8c90a2fee
ITS#8999 fix telephoneNumberNormalize, cert DN validation
2019-03-26 11:18:55 +00:00
Ondřej Kuzník
4a136c7651
ITS#8731 Improve sample processing script
2019-03-21 10:29:03 +00:00
Howard Chu
47102fcced
Add persist support
2019-03-20 08:47:48 -07:00
Ondřej Kuzník
aba073e171
ITS#8980 Actually return the computed status
2019-03-19 16:46:03 +00:00
Howard Chu
4534528fe1
ITS#8990 pickup SLAP_MOD_SOFT modops
2019-03-11 18:52:26 +00:00
Howard Chu
c825edf67e
ITS#8989 fix bitshift integer overflow
2019-03-10 14:26:08 +00:00
Quanah Gibson-Mount
a32cab8b72
write waiter handling cleanup
...
Follow on to commit 88d22a1ca3
Remove dead code
2019-03-07 23:31:44 +00:00
Nadezhda Ivanova
ea1eb19303
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.
2019-02-28 17:28:04 +00:00
Nadezhda Ivanova
f239bbd3c6
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.
2019-02-28 17:27:54 +00:00
Nadezhda Ivanova
e9fa4af4d8
Move initialization of Connection mutexes to connections_init
2019-02-28 17:27:45 +00:00
Vernon Smith
8158888085
ITS#8980 fix async connections with non-blocking TLS
2019-02-28 17:02:40 +00:00
Nadezhda Ivanova
bb7e14d201
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.
2019-02-28 16:22:11 +00:00
Howard Chu
06d289f985
ITS#8983 Add draft Persistent Search
2019-02-25 15:19:33 +00:00
Ondřej Kuzník
64141fda51
ITS#8753 Add pinning tests
2019-02-25 14:28:27 +00:00
Ondřej Kuzník
e6ae7d5136
ITS#8731 Make loading ldap-int.h possible from server code again
2019-02-19 17:14:26 +00:00
Ondřej Kuzník
117dcbc54d
Silence compiler warnings
2019-02-19 10:28:08 +00:00
Ondřej Kuzník
f4a68297a0
Actually check for mi->bi_extra
2019-02-19 10:28:08 +00:00
Ondřej Kuzník
cd914149a6
Make prototypes available where needed
2019-02-19 10:26:39 +00:00
Ondřej Kuzník
7a98f7de5d
ITS#8731 Remove more unused buffers
2019-02-19 10:24:43 +00:00
Howard Chu
d26b1049de
ITS#8977 missed a commit
2019-02-16 13:51:56 +00:00
Ondřej Kuzník
cf9fea9379
ITS#8731 Manual adjustment post doc/devel/variadic_debug/07-shortcut.cocci
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
76df74dbea
ITS#8731 Apply doc/devel/variadic_debug/07-shortcut.cocci
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
251ce83d60
ITS#8731 NSSOV is not processable by coccinelle
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
abbabbb3d7
ITS#8731 Manual work not picked up by coccinelle
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
97a310b312
ITS#8731 Apply doc/devel/variadic_debug/04-variadic.cocci
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
09cec1f1b4
ITS#8731 Apply doc/devel/variadic_debug/03-libldap_Debug.cocci
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
e1e643ea41
ITS#8731 Manual adjustments
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
254d2adab0
ITS#8731 Rework logging
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
129dcfbd86
ITS#8731 General Debug() related fixes
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
e5b5232516
ITS#8731 Add the documentation and scripts
2019-02-15 16:51:53 +00:00
Howard Chu
a70b887e6c
ITS#8977 fix prev commit
2019-02-15 16:12:41 +00:00
Howard Chu
c8b806b676
ITS#8977 make IDL size configurable
2019-02-15 14:37:51 +00:00
Nadezhda Ivanova
17f1e32b65
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 ) );
2019-02-14 14:41:42 +00:00
Quanah Gibson-Mount
6c5b7f7583
Merge remote-tracking branch 'origin/mdb.RE/0.9'
2019-02-13 16:58:49 +00:00
Howard Chu
f8505b10ed
ITS#8975
2019-02-10 10:13:10 +00:00
Kris Zyp
ea30be6109
ITS#8975 WIN32: Skip setting file pointer for write maps
...
CreateFileMapping already takes care of it.
2019-02-10 10:11:53 +00:00
Howard Chu
6e2bac6465
ITS#7770 schema fixup
2019-02-04 02:50:17 +00:00
Howard Chu
e19c683c41
ITS#7770 add mdb_stat info to cn=monitor
2019-02-03 11:08:24 +00:00
Howard Chu
299a6ca0f4
ITS#8971 tweak prev commit
...
Check for BVISNULL, maybe rootDSE is a valid reqDN
2019-02-02 22:48:53 +00:00
Howard Chu
f052e94593
ITS#8971 most exops have no reqDN
2019-02-02 21:45:04 +00:00