Can you try with 2.0.2, I fixed that undefined crash. I am not really familiar with how this plugin works so make sure you fill out the necessary info in the ACP page.
For example the plugin seems to look for the email in profile.mail but if there is an email_field set in the acp config then it will try to get the email from there.
Log in to NodeBB using credentials stored in an OpenLDAP server. - nodebb-plugin-node-ldap/index.js at master · NodeBB-Community/nodebb-plugin-node-ldapfavicon