Was wondering if you got anywhere with this? I am trying to do the same but struggling.
I am trying to use LDAP with MISP using the ldapAuth plugin which is supposed to be easier to implement....
https://github.com/MISP/MISP/tree/50df1c9771bf4d420cd9fb20d1f48d7fd80202e7/app/Plugin/LdapAuth