Save Email after login with ldap

I got the solution after i entered the Base DN in plugin settings to DC=domain,DC=suffix, previously it was empty.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)