When you try to authenticate using LDAP you get the following error:
000020D6: SvcErr: DSID-0310081B, problem 5012 (DIR_ERROR), data 0
When you see this error this means that the base DN is not complete. Example, suppose your domain is “test.com”, then your base DN should be:
Make sure you don’t use any space chars in DN.