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 :
Code Block server.usermanager=com.kheops.jmap.server.security.LDAPUserManager
en la substituant par celle-ci :
Code Block server.usermanager=com.kheops.jmap.server.security.DBUserManager
- Redémarrez JMap Server.
- Reconfigurez LDAP.
- Octroyez les droits d'administration à l'utilisateur.
Anchor | ||||
---|---|---|---|---|
|
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 :
Code Block server.usermanager=com.kheops.jmap.server.security.LDAPUserManager
with the ligne:
Code Block server.usermanager=com.kheops.jmap.server.security.DBUserManager
- Restart JMap Server.
- Reconfigure your LDAP.
- Assign the Administrator rights to a user.