Problème pour accéder à l'administration après configurer LDAP / After configuring LDAP, I cannot access the administration

Produit concerné / Related product

JMap ServerVersions5.0, 6.0, 7.0

 
Jump to English version

Problème

Suite à la configuration de LDAP, vous devez octroyer les droits d'administration à l'utilisateur déclaré dans LDAP.  Dans le cas contraire vous ne pourrez plus accéder à JMap Admin.

Solution

Si vous avez oublié d'octroyer le droit d'administration, vous pouvez revenir à l'administrateur de comptes utilisateur de base de JMap comme suit :

  1. Arrêtez JMap Server
  2. Supprimez le fichier <JMAP_INSTALL_FOLDER>/conf/usermanager.properties.

    Dans le fichier  <JMAP_INSTALL_FOLDER>/conf/jmapserver.properties modifiez la ligne : 

    server.usermanager=com.kheops.jmap.server.security.LDAPUserManager

    en la substituant par celle-ci :

    server.usermanager=com.kheops.jmap.server.security.DBUserManager
  3. Redémarrez JMap Server.
  4. Reconfigurez LDAP.
  5. Octroyez les droits d'administration à l'utilisateur. 

English version

Problem

Immediately after configuring the LDAP, you have to set the administration rights to a user declared in the LDAP, otherwise you won't be able to connect to the JMap Administration anymore.

Solution

If you forgot to assign the administration right you can rollback to the JMap basic user manager by following:

  1. Stop JMap Server
  2. Delete the file <JMAP_INSTALL_FOLDER>/conf/usermanager.properties.

    In the file  <JMAP_INSTALL_FOLDER>/conf/jmapserver.properties modify the line : 

    server.usermanager=com.kheops.jmap.server.security.LDAPUserManager

    with the ligne:

    server.usermanager=com.kheops.jmap.server.security.DBUserManager
  3. Restart JMap Server.
  4. Reconfigure your LDAP.
  5. Assign the Administrator rights to a user.