On Ubuntu 20.04 I've installed InspIRCd (which seems to work fine as-is) and added to its config:
<module name="m_ldapauth.so">
<ldapauth baserdn="dc=nodomain"
attribute="cn"
server="ldap://127.0.0.1"
killreason="nice try"
searchscope="subtree"
binddn="cn=admin,dc=nodomain"
bindauth="123456"
verbose="yes"
userfield="no" >
According to Wireshark the client sends PASS 123456 and NICK aklimov, but the server kicks me out (w/ "nice try"). Even more strange: according to Wireshark (-f port 389) there's no LDAP traffic at all.