Trying to use ldap/ad intergration

Nextcloud version (eg, 12.0.2): 18
Operating system and version (eg, Ubuntu 17.04): Rasbian stretch
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.1): PHP 7.0

The issue you are facing:

I have trouble with the LDAP/AD intergration. I have tried to login in the first screen but it say’s it can’t load my base DN and when i manually typ it in it say it’s not correct. I have also from the same server used searchldap and it can connect and bind to the AD server and get all the information.

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:
Not known

What is your config?