Le mercredi 18 avril 2007 à 10:54 +0200, Eric Kleinhans a écrit :
> We configured the LADP connector using 
> default-ldap-users-directories-bundle.xml
> 
> When we try to connect we get the following error on the jboss console :
> 
> 10:30:56,703 ERROR [UserManagerImpl] trying to authenticate against a 
> non authenticatingdirectory: userDirectory
> 
> Any clue ?
Yes,

Check your configuration file.
In order to define if a directory is authenticating the code checks for
the field named password.

So if you have this error, check in your definition that the
passwordField is nammed password.

    <directory name="userDirectory">
      <server>default</server>
      <schema>user</schema>
      <idField>username</idField>
      <passwordField>password</passwordField>
...

If you LDAP field is not nammes password, you can use the mapping to
handle that :

here is an example :
      <fieldMapping name="username">uid</fieldMapping>
      <fieldMapping name="firstName">cn</fieldMapping>
      <fieldMapping name="lastName">sn</fieldMapping>
      <fieldMapping name="company">LdapPersDirection</fieldMapping>
      <fieldMapping name="password">userPassword</fieldMapping>
      <fieldMapping name="email">LdapPersEmailProf</fieldMapping>

Hope this helps,

Tiry

> 
> Eric
> 
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
> 

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to