I checked the code and this happens because of the following check
if test ! -x /usr/sbin/.3 ; then
However, I broke my own chain slapd config file on the relevant
(Samba) slave server and my shell scripts which I use for master
updates etc. kept getting referral errors, even with the above
configs. I spent "a good time" on this and finally got it working
again with the following:
overlay chain
chain-uri ldaps://ldap.master/
chain-idassert-bind bindmethod=simple
binddn="cn=proxy,dc=school,dc=nl"
credentials=Wh4t3v3r
mode=self
flags=non-prescriptive
I was using digest-md5 SASL binding and ldap with starttls, which I
always use for all replication etc., but that was what was breaking
chaining - no idea why.
This is OL 2.3.37, BTW.