Can LDAP be connected to DB or only to a flatfile ? If yes, then how to do that ?.