If all your user are in ldap, it's pretty easy, you just need to change in your apache virtual host the way you authenticate the users, and use LDAP instead of postgres. The security will still be managed by libresource.
For a mix of LDAP and local base, I don't know, but it's basicaly a SVN/Apache configuration.