It didnt bind to LDAP because userdn was blank