Is a database is must while configuring ldap for squid authentication?

I'm unable to connect to ldap server with squid, where ldap server is localhost..

any suggestions here?