ERPNext Active Directory

got the ldap module add-on installed.

the ldap settings is configured as per https://erpnext.org/docs/user/manual/en/setting-up/integrations/ldap-integration

When i click save it says " iincorrect userid or password"

The username and password is correct - tried creating a new AD account and again the same error message. Is this really going to work with Microsoft Active directory - any ideas?