/usr/lib/ldap/rwm-2.4.so.2 is in slapd 2.4.45+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/ldap/rwm-2.4.so.2.10.8
/usr/lib/ldap/rwm-2.4.so.2.10.8