https://bugs.openldap.org/show_bug.cgi?id=9882
--- Comment #3 from Shawn McKinney smckinney@symas.com ---
On Jul 10, 2022, at 3:04 PM, openldap-its@openldap.org wrote:
I would note that it's missing the lastbind precision setting which in a replicated environment is generally going to be necessary.
Adding and setting the precision to anything < than say 36000 (seconds), crashes slapd on next bind. That’s about the age of the env so must be as it’s trying to update an entry.
Here’s what’s in the log:
Jul 10 20:57:55 m02 slapd[228722]: connection_get(21): got connid=1000 Jul 10 20:57:55 m02 slapd[228722]: connection_read(21): checking for input on id=1000 Jul 10 20:57:55 m02 slapd[228722]: op tag 0x60, time 1657486675 Jul 10 20:57:55 m02 slapd[228722]: conn=1000 op=0 do_bind Jul 10 20:57:55 m02 slapd[228722]: >>> dnPrettyNormal: <dc=example,dc=com> Jul 10 20:57:55 m02 slapd[228722]: <<< dnPrettyNormal: <dc=example,dc=com>, <dc=example,dc=com> Jul 10 20:57:55 m02 slapd[228722]: conn=1000 op=0 BIND dn="dc=example,dc=com" method=128 Jul 10 20:57:55 m02 slapd[228722]: do_bind: version=3 dn="dc=example,dc=com" method=128 Jul 10 20:57:55 m02 slapd[228722]: ==> mdb_bind: dn: dc=example,dc=com Jul 10 20:57:55 m02 slapd[228722]: conn=1000 op=0 BIND dn="dc=example,dc=com" mech=SIMPLE bind_ssf=0 ssf=0 Jul 10 20:57:55 m02 slapd[228722]: do_bind: v3 bind: "dc=example,dc=com" to "dc=example,dc=com" Jul 10 20:57:55 m02 slapd[228722]: => mdb_entry_get: ndn: "dc=example,dc=com" Jul 10 20:57:55 m02 slapd[228722]: => mdb_entry_get: oc: "(null)", at: "(null)" Jul 10 20:57:55 m02 slapd[228722]: mdb_dn2entry("dc=example,dc=com") Jul 10 20:57:55 m02 slapd[228722]: => mdb_dn2id("dc=example,dc=com") Jul 10 20:57:55 m02 slapd[228722]: <= mdb_dn2id: got id=0x1 Jul 10 20:57:55 m02 slapd[228722]: => mdb_entry_decode: Jul 10 20:57:55 m02 slapd[228722]: <= mdb_entry_decode Jul 10 20:57:55 m02 slapd[228722]: => mdb_entry_get: found entry: "dc=example,dc=com" Jul 10 20:57:55 m02 slapd[228722]: mdb_entry_get: rc=0 Jul 10 20:57:55 m02 slapd[228722]: fe_op_lastbind: old pwdLastSuccess value=20220710124823Z 29372s ago Jul 10 20:57:55 m02 slapd[228722]: daemon: activity on 1 descriptor Jul 10 20:57:55 m02 slapd[228722]: daemon: activity on:Jul 10 20:57:55 m02 slapd[228722]: Jul 10 20:57:55 m02 slapd[228722]: daemon: epoll: listen=7 active_threads=0 tvp=zero Jul 10 20:57:55 m02 slapd[228722]: daemon: epoll: listen=8 active_threads=0 tvp=zero Jul 10 20:57:55 m02 slapd[228722]: daemon: epoll: listen=9 active_threads=0 tvp=zero
Regardless, I see no reason for a crash to occur.