Try not to have spaces in your values for the user dn and base dn. Maybe it helps.
Also try reading this solved issue: Base DN could not be auto-detected, please revise credentials, host and port
I think this may help you, because it is related to your case.