Stuck while trying to use ZCS LDAP for external authentication

Hi,

First off, I'm an OpenLDAP newbie. I'm test-running zimbra 3.1.4 on FC4. Zimbra itself is running nicely. Having said that I tried using the following link - http://wiki.zimbra.com/index.php?title=LDAP_Apache.
I was successful in applying having .htaccess authentication against my ZCS Directory

So, excited with the initial success, I tried my hand at another webapp (using php_ldap) that has the provision of authentication against an LDAP server.

In my installation the Zimbra was originally installed with the domain "meghnad.wbut.ac.in" which is really the MX for the domain wbut.ac.in, I added "wbut.ac.in as the second domain and then set as the default.

FWIW, the .htaccess file is deployed on another server (http://phpmyadmin.wbut.ac.in ) where I needed to restrict the Login Screen access to my phpmyadmin installation.