Problème pour accéder à l'administration après configurer LDAP / After configuring LDAP, I cannot access the administration
Produit concerné / Related product | JMap Server | Versions | 5.0, 6.0, 7.0 |
---|
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 :
- Arrêtez JMap Server
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
- Redémarrez JMap Server.
- Reconfigurez LDAP.
- 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:
- Stop JMap Server
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
- Restart JMap Server.
- Reconfigure your LDAP.
- Assign the Administrator rights to a user.