CMDBuild Forum

Configuring LDAP authentication problem " expected one element but was"

Hi,
I try to configurate LDAP authenitcation, but when i try to login with LDAP user and i see the log cmdbuild-3.3_req.log, i can see the next error “Caused by: java.lang.IllegalArgumentException: expected one element”
In the log i can see that the search is succesefull in the ldap, because i can see all atibute from this user.
Before to try login with te user, i created in the CMDBuild the user with the same uid, and join his to one group in CMDBuild.
These are the parameters that i configure
org.cmdbuild.auth.ldap.bind.attribute uid
org.cmdbuild.auth.ldap.basedn dc=XX,dc=XX
org.cmdbuild.auth.ldap.server.address A.B.C.D
org.cmdbuild.auth.ldap.port 389
org.cmdbuild.auth.methods LdapAuthenticator,DBAuthenticator
org.cmdbuild.auth.ldap.search.auth.password Password
org.cmdbuild.auth.preferredPasswordAlgorythm cm3easy
org.cmdbuild.auth.loginAttributeMode auto_detected_username
org.cmdbuild.auth.ldap.search.auth.principal uid=user,cn=XX,cn=xx,dc=xx,dc=xx

I have been trying to use the login with LDAP for two weeks but it is not working
My LDAP is a FreeIPA.
CMDBUILD 3.3