Foros de discusión

LDAP : stuck with UserScreenNameException

Quentin Dorveaux, modificado hace 12 años.

LDAP : stuck with UserScreenNameException

New Member Mensajes: 9 Fecha de incorporación: 7/06/11 Mensajes recientes
Hi,

I'm a new user in Liferay and I'm in charge of setting up this portal in my internal network.

I've set up and installed Liferay in his tomcat bundle yesterday. My first objective is to connect with LDAP Microsft AD

So I tested the connection, it wes successful, and now the importation is impossible because of the UserScreenNameException.

You have my configuration and a screenshot of "Test LDAP users"
Il y a une serveur Microsoft AD, j'ai les accès en lecture. Le test de connexion fonctionne.
Ensuite j'ai mis les paramètres automatiques, afin d'avoir une base à retravailler.

(I've put the portal-ext.properties in E:\liferay, not in tomcat ROOT, and the console is saying the file is red)
#pour le proxy (confirmez moi si c'est bon aussi)
com.liferay.portal.util.HttpImpl.proxy.auth.type=username-password
com.liferay.portal.util.HttpImpl.proxy.username=XXXXXXXX
com.liferay.portal.util.HttpImpl.proxy.password=XXXXXXXXX

#pour l'import LDAP
users.screen.name.validator=com.liferay.portal.security.auth.LiberalScreenNameValidator
users.screen.name.allow.numeric=true

#en cas de problème
#ldap.import.enabled=true
#ldap.import.required=false
#ldap.import.on.startup=true


Could you give me some help ? (pour les utilisateurs français, il y a un topic sous le forum FR)

Is it normal that the password column is empty ?

How do you use the option :
ldap.auth.method=bind

is it matched with the Authentication search filter ?