Commit graph

12882 commits

Author SHA1 Message Date
Howard Chu
d76b8cbbef ITS#9715 consolidate logging functionality into logging.c 2021-10-18 17:49:47 +01:00
Ondřej Kuzník
90fc349654 ITS#9715 Deduplicate verbmasks implementation from slapd/lloadd 2021-10-18 17:49:38 +01:00
Howard Chu
7c20ca922f ITS#9713 log fatal config errors at LDAP_DEBUG_ANY
and make sure logfile_only doesn't mute failures to open logfile
2021-10-07 17:11:53 +01:00
Howard Chu
2995da7e8d ITS#9712 back-mdb: better fix 2021-10-07 01:42:38 +01:00
Howard Chu
74a5a3a474 ITS#9712 back-mdb: fix multival delete 2021-10-07 01:22:34 +01:00
Ondřej Kuzník
397e30a5e7 ITS#9620 Fix deadlocks between searches and register_entry
The cache is again protected by a simple mutex and mp_children/mp_next
is protected by mp_mutex. Each monitor_send_children is called holding
the corresponding mp_mutex meaning the whole path from search base to
the current entry is off limits - cn=monitor searches cannot run in
parallel right now.
2021-10-05 11:05:25 +01:00
Ondřej Kuzník
ef60ec1df6 ITS#9600 Protect connection while interacting with it 2021-10-05 11:05:25 +01:00
Ondřej Kuzník
6cc6ec2f72 ITS#9600 Do not hold locks while calling into back-monitor 2021-10-05 11:05:25 +01:00
Ondřej Kuzník
8968d13163 ITS#9599 Switch to xorshift for random numbers 2021-10-05 01:11:30 +00:00
Ondřej Kuzník
3c07544b2a ITS#6949 Port rest of the features to lloadd 2021-10-04 14:46:26 +01:00
Ondřej Kuzník
8894f00fe4 ITS#6949 Remove dead code from lloadd 2021-10-04 14:46:26 +01:00
Ondřej Kuzník
a3dea08ccd ITS#6949 Fix and emit error messages 2021-10-04 14:46:22 +01:00
Howard Chu
7979892dfe ITS#9711 fix TLS ctx init for tools
The code to initialize the TLS context was being bypassed by tool startup,
causing tools to get the wrong default setting. Move it earlier to avoid
being bypassed.
2021-09-30 19:17:38 +01:00
Howard Chu
66c6284119 ITS#6949 fixup loglevel delete, consolidate redundant code 2021-09-30 04:23:29 +01:00
Howard Chu
10fb8c0ae5 ITS#6949 fix logfile_only regression in prev commit 2021-09-29 14:39:28 +01:00
Howard Chu
77adb19207 ITS#6949 honor specified loglevel, not just debuglevel
But skip calls to syslog() if logfile_only is set.
2021-09-27 16:54:24 +00:00
Howard Chu
42fc772c23 slapd: delete unused entry_schema_check(oldattrs) parameter
Unused since 2001 2ae02fc19b
2021-09-23 17:03:19 +01:00
Ondřej Kuzník
77dfb204c1 ITS#9671 Revert some NO-USER-MODIFICATION flags in ppolicy 2021-09-16 16:18:17 +00:00
Anton Avramov
01b653fd61 ITS#9679 - Update ldap_entry_objectclass table for current mysql/mariadb 2021-09-15 01:59:33 +00:00
Howard Chu
09a22d5512 ITS#9678 slapadd: avoid destroying configDB prematurely 2021-09-14 20:01:47 +01:00
Ondřej Kuzník
bfe3d19e95 ITS#8341 Allow normalised values for namingContexts in cn=monitor 2021-09-09 10:26:06 +01:00
Ondřej Kuzník
2958925ca1 ITS#9664 Add normalised suffix into rootDSE for ACL, etc.
This was removed in ITS#5540 since there was no EQUALITY matching rule,
but that situation changed in ITS#8341 and we need to add it back.
2021-09-09 10:26:06 +01:00
Ondřej Kuzník
c2b81a3c5b ITS#6949 Allow for fd 0 2021-09-08 15:53:02 +00:00
Ondřej Kuzník
dc6b6276fc ITS#6949 Save errno 2021-09-08 15:53:02 +00:00
Ondřej Kuzník
2abbf6781d ITS#6949 Extract logging code so lloadd can also use it 2021-09-08 15:53:02 +00:00
Quanah Gibson-Mount
c1f3895412 ITS#9649 - Fix typo compatibilty to compatibility 2021-09-06 19:18:46 +00:00
HAMANO Tsukasa
c66c9f87eb ITS#9631 back-wt: closing cache db politely 2021-09-06 15:19:25 +00:00
Ondřej Kuzník
17394f380a ITS#9641 Grab a new local csn for failed ops 2021-09-05 14:33:59 +00:00
Ondřej Kuzník
781a6c25a7 ITS#9538 Only queue csns for ops that don't get skipped 2021-09-05 14:33:59 +00:00
Ondřej Kuzník
8f8674fc86 ITS#9538 Populate op2.o_hdr earlier 2021-09-05 14:33:59 +00:00
Ondřej Kuzník
c34f2a1b29 ITS#9650 Move ldap_pvt_thread_initialize into main.c 2021-09-04 22:57:00 +00:00
HAMANO Tsukasa
ccb4f4854a ITS#9643 Fix out of bounds read in entry_decode() 2021-09-02 15:25:39 +00:00
Howard Chu
73be971a7d ITS#9659 remove redundant peerbv def 2021-09-01 04:00:57 +01:00
Quanah Gibson-Mount
affa9de311 ITS#9649 - Add information for schema files 2021-08-31 17:34:16 +00:00
Quanah Gibson-Mount
c4d399c203 ITS#9156 - Remove ppolicy.schema from README
Also remove nadf.schema, that got removed some time long ago
2021-08-26 15:43:24 +00:00
Quanah Gibson-Mount
d943d7f2fb ITS#9636 - Delete shell backend 2021-08-17 16:01:29 +00:00
Quanah Gibson-Mount
c6b43dcdc5 ITS#9635 - Delete back-ndb 2021-08-17 16:01:29 +00:00
HAMANO Tsukasa
31b0bf68c2 ITS#9497 fix duplicate ldap control response 2021-08-17 15:45:06 +00:00
Howard Chu
ac637676f8 ITS#9637 more for idlexp max 2021-08-16 22:56:38 +01:00
Howard Chu
c3aca3d545 ITS#9637 back-mdb fix max idlexp 2021-08-16 22:44:54 +01:00
Howard Chu
49ee5d9b24 ITS#5344 slapo-rwm: fix prev commit
Must always generate newDN
2021-08-13 21:09:28 +01:00
Ondřej Kuzník
4588f4e528 ITS#9597 Fix NoD support 2021-08-13 16:01:13 +01:00
Ondřej Kuzník
e78ecead09 ITS#9600 Support closing connections on request 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
e9dfb7d21d ITS#9600 Rework monitor entry management
Connection entries are now persistent and can be addressed, preparing
the ground so we can process modify operations on individual entries.
2021-08-13 10:57:14 +01:00
Ondřej Kuzník
6d95cc3935 ITS#9599 Online latency tracking 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
8219a3a414 ITS#9599 Push based latency tracking 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
84dab3f961 ITS#9599 Add bestof tier implementation 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
1ca559668f ITS#9599 Add latency tracking 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
ab90bfd95c ITS#9599 Implement tiered load balancing 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
ddc9430727 ITS#9598 Per OID restrictions 2021-08-13 10:57:14 +01:00