Duo integration with Seafile (seafile has ldap integration), can it be done?

I have been using ldap based authentication with duo 2fa for a couple of applications successfully, but its not working with Seafile.
Need help, am i doing wrong?