ldap probleme

Bonjour, j'essaye de connecter mon serveur nuxeo tout propre à mon ldap, j'ai bien créé le fichier ldap default-ldap-users-directory-config.xml, mais au démarrage, j'ai dans les logs : 012-12-19 16:20:34,488 INFO [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Login failed for v…. Auriez vous une idée du soucis ? Merci d'avance

0 votes

6 answers

1470 views

ANSWER

Bonjour,

Pourriez-vous partager votre fichier xml sur http://pastebin.com/? (noubliez pas d'enlever les parties authentification)

12/19/2012



j'ai essayé de créer un rôle que j'ai supprimé depuis ….

0 votes



j'ai un début de solution, il semblerait que mon pb vienne de mon projet sous studio, car si je reinstalle tout sans synchroniser à studio, ça fonctionne. mais dès que je synchronise avec studio, plus rien ne fonctionne. Pouvez vous encore m'aider ? Cordialement,

0 votes



Avez-vous créer des utilisateurs / groupes dans studio?
12/20/2012


j'ai bien placé le fichier alt text

je peux uniquement me logguer avec “Administrator” et non avec mon login ldap “v.jouxxx”

0 votes



Bonjour, voici les logs au démarrage, pas d'EEROR mais du BEBUG : 2012-12-20 09:17:22,335 DEBUG [org.nuxeo.ecm.directory.ldap.LDAPDirectory] initialized LDAP directory userDirectory with fields [lastName, username, email, company, firstName, password, groups] and references [groups] 2012-12-20 09:17:22,355 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'studio_vocabulary_sous_categorie', policy='on_missing_columns' 2012-12-20 09:17:22,374 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table studio_vocabulary_sous_categorie exists: true 2012-12-20 09:17:22,404 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'studio_vocabulary_sous_categorie' 2012-12-20 09:17:22,405 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,407 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'subject', policy='on_missing_columns' 2012-12-20 09:17:22,409 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table subject exists: true 2012-12-20 09:17:22,411 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'subject' 2012-12-20 09:17:22,411 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,414 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'users', policy='on_missing_columns' 2012-12-20 09:17:22,415 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table users exists: true 2012-12-20 09:17:22,418 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'users' 2012-12-20 09:17:22,418 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,422 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'locale', policy='on_missing_columns' 2012-12-20 09:17:22,423 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table locale exists: true 2012-12-20 09:17:22,426 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'locale' 2012-12-20 09:17:22,426 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,429 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'ecp-note-type', policy='on_missing_columns' 2012-12-20 09:17:22,430 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table ecp-note-type exists: true 2012-12-20 09:17:22,434 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'ecp-note-type' 2012-12-20 09:17:22,434 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,437 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'oauthConsumers', policy='on_missing_columns' 2012-12-20 09:17:22,438 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table oauthConsumers exists: true 2012-12-20 09:17:22,441 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'oauthConsumers' 2012-12-20 09:17:22,441 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,444 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'l10ncoverage', policy='on_missing_columns' 2012-12-20 09:17:22,445 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table l10ncoverage exists: true 2012-12-20 09:17:22,455 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'l10ncoverage' 2012-12-20 09:17:22,455 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,458 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'actor_relationship', policy='on_missing_columns' 2012-12-20 09:17:22,459 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table actor_relationship exists: true 2012-12-20 09:17:22,481 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'actor_relationship' 2012-12-20 09:17:22,481 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,495 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'studio_vocabulary_WorkflowType', policy='on_missing_columns' 2012-12-20 09:17:22,497 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table studio_vocabulary_WorkflowType exists: true 2012-12-20 09:17:22,500 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'studio_vocabulary_WorkflowType' 2012-12-20 09:17:22,500 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,504 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'documentsLists', policy='on_missing_columns' 2012-12-20 09:17:22,505 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table documentsLists exists: true 2012-12-20 09:17:22,508 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'documentsLists' 2012-12-20 09:17:22,509 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,512 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'search_operators', policy='on_missing_columns' 2012-12-20 09:17:22,514 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table search_operators exists: true 2012-12-20 09:17:22,517 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'search_operators' 2012-12-20 09:17:22,517 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,520 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'geo_broadcast', policy='on_missing_columns' 2012-12-20 09:17:22,521 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table geo_broadcast exists: true 2012-12-20 09:17:22,524 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'geo_broadcast' 2012-12-20 09:17:22,524 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,531 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'l10nsubjects', policy='on_missing_columns' 2012-12-20 09:17:22,535 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table l10nsubjects exists: true 2012-12-20 09:17:22,538 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'l10nsubjects' 2012-12-20 09:17:22,538 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,541 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'eventCategories', policy='on_missing_columns' 2012-12-20 09:17:22,542 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table eventCategories exists: true 2012-12-20 09:17:22,545 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'eventCategories' 2012-12-20 09:17:22,545 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,548 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'nature', policy='on_missing_columns' 2012-12-20 09:17:22,550 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table nature exists: true 2012-12-20 09:17:22,552 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'nature' 2012-12-20 09:17:22,552 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,555 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'groups', policy='on_missing_columns' 2012-12-20 09:17:22,557 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table groups exists: true 2012-12-20 09:17:22,560 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'groups' 2012-12-20 09:17:22,560 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,563 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'externalGadgets', policy='on_missing_columns' 2012-12-20 09:17:22,565 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table externalGadgets exists: true 2012-12-20 09:17:22,568 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'externalGadgets' 2012-12-20 09:17:22,568 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,572 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'eventTypes', policy='on_missing_columns' 2012-12-20 09:17:22,573 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table eventTypes exists: true 2012-12-20 09:17:22,577 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'eventTypes' 2012-12-20 09:17:22,577 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,580 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'topic', policy='on_missing_columns' 2012-12-20 09:17:22,582 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table topic exists: true 2012-12-20 09:17:22,586 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'topic' 2012-12-20 09:17:22,586 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,590 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'relation_predicates', policy='on_missing_columns' 2012-12-20 09:17:22,591 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table relation_predicates exists: true 2012-12-20 09:17:22,595 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'relation_predicates' 2012-12-20 09:17:22,595 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,597 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'subtopic', policy='on_missing_columns' 2012-12-20 09:17:22,599 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table subtopic exists: true 2012-12-20 09:17:22,601 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'subtopic' 2012-12-20 09:17:22,601 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,604 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'media_type', policy='on_missing_columns' 2012-12-20 09:17:22,605 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table media_type exists: true 2012-12-20 09:17:22,608 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'media_type' 2012-12-20 09:17:22,608 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,610 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'relation_inverse_predicates', policy='on_missing_columns' 2012-12-20 09:17:22,612 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table relation_inverse_predicates exists: true 2012-12-20 09:17:22,614 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'relation_inverse_predicates' 2012-12-20 09:17:22,614 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,619 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'licence', policy='on_missing_columns' 2012-12-20 09:17:22,620 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table licence exists: true 2012-12-20 09:17:22,622 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'licence' 2012-12-20 09:17:22,622 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,626 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'oauthServiceProviders', policy='on_missing_columns' 2012-12-20 09:17:22,627 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table oauthServiceProviders exists: true 2012-12-20 09:17:22,630 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'oauthServiceProviders' 2012-12-20 09:17:22,630 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,633 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'studio_vocabulary_nature_document', policy='on_missing_columns' 2012-12-20 09:17:22,634 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table studio_vocabulary_nature_document exists: true 2012-12-20 09:17:22,637 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'studio_vocabulary_nature_document' 2012-12-20 09:17:22,637 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,639 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'digestauth', policy='on_missing_columns' 2012-12-20 09:17:22,641 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table digestauth exists: true 2012-12-20 09:17:22,643 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'digestauth' 2012-12-20 09:17:22,643 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,646 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'country', policy='on_missing_columns' 2012-12-20 09:17:22,647 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table country exists: true 2012-12-20 09:17:22,650 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'country' 2012-12-20 09:17:22,650 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,653 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'studio_vocabulary_sous_sous_categorie', policy='on_missing_columns' 2012-12-20 09:17:22,654 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table studio_vocabulary_sous_sous_categorie exists: true 2012-12-20 09:17:22,657 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'studio_vocabulary_sous_sous_categorie' 2012-12-20 09:17:22,657 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,660 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'continent', policy='on_missing_columns' 2012-12-20 09:17:22,661 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table continent exists: true 2012-12-20 09:17:22,663 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'continent' 2012-12-20 09:17:22,664 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,667 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'studio_vocabulary_categories', policy='on_missing_columns' 2012-12-20 09:17:22,668 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table studio_vocabulary_categories exists: true 2012-12-20 09:17:22,875 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'studio_vocabulary_categories' 2012-12-20 09:17:22,875 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,882 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'language', policy='on_missing_columns' 2012-12-20 09:17:22,885 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table language exists: true 2012-12-20 09:17:22,891 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'language' 2012-12-20 09:17:22,891 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:22,898 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'oauthTokens', policy='on_missing_columns' 2012-12-20 09:17:22,899 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table oauthTokens exists: true 2012-12-20 09:17:22,903 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'oauthTokens' 2012-12-20 09:17:22,903 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:17:29,197 INFO [org.nuxeo.runtime.osgi.OSGiRuntimeService] Nuxeo EP Started

….tentative de connexion :

2012-12-20 09:19:59,435 INFO [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Login failed for v.joussot 2012-12-20 09:20:00,028 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'user2group', policy='on_missing_columns' 2012-12-20 09:20:00,028 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table user2group exists: true 2012-12-20 09:20:00,044 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'user2group' 2012-12-20 09:20:00,044 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script 2012-12-20 09:20:00,091 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] setting up table 'group2group', policy='on_missing_columns' 2012-12-20 09:20:00,106 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] checking if table group2group exists: true 2012-12-20 09:20:00,106 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] all fields matched for table 'group2group' 2012-12-20 09:20:00,106 DEBUG [org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns' and all column matched, skipping sql setup script

2012-12-20 09:20:13,663 DEBUG [org.nuxeo.ecm.directory.DirectoryServiceImpl] unregistered factory: org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory

0 votes



Il n'y a pas d'indice relatif à un possible erreur. Par contre je ne vois pas dans vos logs l'activation du LDAP, qui au démarrage du serveur indique s'il est "enabled".

Avez-vous placer votre fichier default-ldap-users-directory-config.xml dans nxserver/config?

Vous vous logguez en tant qu'administrateur ? (celui qui est indiqué dans votre contribution LDAP (administratorId)? Avez-vous essayer de vous connecter en tant qu'Administrator?

12/20/2012


2012-12-19 16:51:04,813 INFO [org.nuxeo.runtime.model.impl.ComponentManagerImpl] Unregistering component: service:org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory 2012-12-19 16:51:04,813 DEBUG [org.nuxeo.ecm.directory.DirectoryServiceImpl] unregistered factory: org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory 2012-12-19 16:51:04,813 INFO [org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory] component deactivated

ça vous suffit ou tous les logs ?

0 votes



Auriez-vous d'autres logs "ERROR", "DEBUG" au démarrage de votre serveur et pendant la tentative de connection?
12/19/2012


<extension target=“org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory”

point="servers">

<!-- Configuration of a server connection
  A single server declaration can point to a cluster of replicated
  servers (using OpenLDAP's slapd + sluprd for instance). To leverage
  such a cluster and improve availability, please provide one
  <ldapUrl/> tag for each replica of the cluster.
-->
<server name="default">
  <ldapUrl>ldap://xxx.fr:389</ldapUrl>
  <!-- Optional servers from the same cluster for failover
    and load balancing:

    <ldapUrl>ldap://server2:389</ldapUrl>
    <ldapUrl>ldaps://server3:389</ldapUrl>

    "ldaps" means TLS/SSL connection.
  -->

  <!-- Credentials used by Nuxeo5 to browse the directory, create
    and modify entries.

    Only the authentication of users (bind) use the credentials entered
    through the login form if any.
  -->
  <bindDn></bindDn>
  <bindPassword></bindPassword>
</server>

<extension target=“org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory”

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

  <searchBaseDn>ou=people,dc=isae,dc=fr</searchBaseDn>
  <searchClass>supannPerson</searchClass>
  <!-- To additionally restricte entries you can add an
    arbitrary search filter such as the following:

    <searchFilter>(&amp;(sn=toto*)(myCustomAttribute=somevalue))</searchFilter>

    Beware that "&" writes "&amp;" in XML.
  -->

  <!-- use subtree if the people branch is nested -->
  <searchScope>onelevel</searchScope>

  <!-- using 'subany', search will match *toto*. use 'subfinal' to
    match *toto and 'subinitial' to match toto*. subinitial is the
    default  behaviour-->
  <substringMatchType>subany</substringMatchType>

  <readOnly>false</readOnly>

  <!-- comment <cache* /> tags to disable the cache -->
  <!-- cache timeout in seconds -->
  <cacheTimeout>3600</cacheTimeout>

  <!-- maximum number of cached entries before global invalidation -->
  <cacheMaxSize>1000</cacheMaxSize>

  <!--
       If the id field is not returned by the search, we set it with the searched entry, probably the login.
       Before setting it, you can change its case. Accepted values are 'lower' and 'upper',
       anything else will not change the case.
  -->
  <missingIdFieldCase>lower</missingIdFieldCase>

  <!-- Maximum number of entries returned by the search -->
  <querySizeLimit>200</querySizeLimit>

  <!-- Time to wait for a search to finish. 0 to wait indefinitely -->
  <queryTimeLimit>0</queryTimeLimit>

  <creationBaseDn>ou=people,dc=xxx,dc=fr</creationBaseDn>
  <creationClass>top</creationClass>
  <creationClass>supannPerson</creationClass>
  <creationClass>eduPerson</creationClass>
  <creationClass>inetOrgPerson</creationClass>

  <rdnAttribute>uid</rdnAttribute>
  <fieldMapping name="username">uid</fieldMapping>
  <fieldMapping name="password">userPassword</fieldMapping>
  <fieldMapping name="firstName">givenName</fieldMapping>
  <fieldMapping name="lastName">sn</fieldMapping>
  <fieldMapping name="company">ou</fieldMapping>
  <fieldMapping name="email">mail</fieldMapping>

  <references>
    <inverseReference field="groups" directory="groupDirectory"
      dualReferenceField="members" />
  </references>
</directory>

<userManager>
  <defaultAdministratorId>v.xxx</defaultAdministratorId>
  <defaultGroup>members</defaultGroup>
</userManager>

0 votes



Votre contribution semble correcte.

Pour voir apparaître les logs d'erreur LDAP, vous pouvez ajouter cette configuration log4j dans votre serveur nuxeo/lib/log4j.xml:

<category name="org.nuxeo.ecm.directory"> <priority value="DEBUG" /> </category> <category name="org.nuxeo.runtime.model.impl"> <priority value="INFO" /> </category>

et redémarrer votre serveur.

12/19/2012