Just needed that recently,

https://github.com/wzrdtales/nodebb-plugin-ldap-override

But note that this is a complete override of the default login, the nodebb internal accounts are not going to work anymore.