Little update: I've changed ldap://openldap.mydomain.local instead ldap://openldap.mydomain
I got this error
2010-09-17 13:58:11.766 ERROR - MICROFLOWENGINE: Exception occurred in microflow 'System.ReadLdapFlow' for activity 'Call 'readLdap''', all database changes executed by this microflow were rolled back 2010-09-17 13:58:11.768 ERROR - MICROFLOWENGINE: com.mendix.core.CoreException: org.springframework.ldap.InvalidNameException: [LDAP: error code 34 - invalid DN]; nested exception is javax.naming.InvalidNameException: [LDAP: error code 34 - invalid DN]
Caused by: org.springframework.ldap.InvalidNameException: [LDAP: error code 34 - invalid DN]; nested exception is javax.naming.InvalidNameException: [LDAP: error code 34 - invalid DN]