Bonjour tout le monde,
J’ai mon serveur Yunohost qui a rendu l’âme physiquement (alim HS)
De fait, j’ai réinstallé un serveur Yunohost from scratch sur une raspberry avec la même conf réseau. J’ai crée l’utilisateur admin avec le même mot de passe que sur mon ancien Yunohost.
Je souhaiterais réimporter les utilsateurs LDAP sauvegardés de mon ancien serveur Yunohost.
Je possède une sauvegarde du ldap avec ses 3 fichiers;
- dc=yunohost-dc=org.ldif
- cn=config.master.ldif
- ldap.conf
J’ai installé phpldapadmin et tenté l’import du fichier “dc=yunohost-dc=org.ldif”. Mais c’est un échec avec messages d’erreurs:
Could not add the object to the LDAP server.
**LDAP said**: Constraint violation
--- ---
**Error number**: 0x13 (LDAP_CONSTRAINT_VIOLATION)
**Description**: Some constraint would be violated by performing the action. This can happen when you try to add a second value to a single-valued attribute, for example.
 LDIF text import
Could not add object **dc=yunohost,dc=org**
**LDAP said**: Constraint violation
--- ---
**Error number**: 0x13 (LDAP_CONSTRAINT_VIOLATION)
**Description**: Some constraint would be violated by performing the action. This can happen when you try to add a second value to a single-valued attribute, for example.
 Could not add the object to the LDAP server.
**LDAP said**: Constraint violation
--- ---
**Error number**: 0x13 (LDAP_CONSTRAINT_VIOLATION)
**Description**: Some constraint would be violated by performing the action. This can happen when you try to add a second value to a single-valued attribute, for example.
 LDIF text import
Could not add object **cn=admin,dc=yunohost,dc=org**
**LDAP said**: Constraint violation
--- ---
**Error number**: 0x13 (LDAP_CONSTRAINT_VIOLATION)
**Description**: Some constraint would be violated by performing the action. This can happen when you try to add a second value to a single-valued attribute, for example.
 Could not add the object to the LDAP server.
**LDAP said**: Constraint violation
--- ---
**Error number**: 0x13 (LDAP_CONSTRAINT_VIOLATION)
**Description**: Some constraint would be violated by performing the action. This can happen when you try to add a second value to a single-valued attribute, for example.
 LDIF text i...
<small>Adding [dc=yunohost,dc=org](https://online/phpldapadmin/htdocs/cmd.php?cmd=template_engine&server_id=1&dn=dc%3Dyunohost%2Cdc%3Dorg) Failed</small>
<small>Adding [cn=admin,dc=yunohost,dc=org](https://online/phpldapadmin/htdocs/cmd.php?cmd=template_engine&server_id=1&dn=cn%3Dadmin%2Cdc%3Dyunohost%2Cdc%3Dorg) Failed</small>
<small>Adding [ou=users,dc=yunohost,dc=org](https://online/phpldapadmin/htdocs/cmd.php?cmd=template_engine&server_id=1&dn=ou%3Dusers%2Cdc%3Dyunohost%2Cdc%3Dorg) Failed</small>
<small>Adding [ou=domains,dc=yunohost,dc=org](https://online/phpldapadmin/htdocs/cmd.php?cmd=template_engine&server_id=1&dn=ou%3Ddomains%2Cdc%3Dyunohost%2Cdc%3Dorg) Failed</small>
<small>Adding [ou=groups,dc=yunohost,dc=org](https://online/phpldapadmin/htdocs/cmd.php?cmd=template_engine&server_id=1&dn=ou%3Dgroups%2Cdc%3Dyunohost%2Cdc%3Dorg) Failed</small>
<small>Adding [ou=sudo,dc=yunohost,dc=org](https://online/phpldapadmin/htdocs/cmd.php?cmd=template_engine&server_id=1&dn=ou%3Dsudo%2Cdc%3Dyunohost%2Cdc%3Dorg) Failed</small>
Je sollicite donc votre aide ^^
Merci
Mon serveur YunoHost
- raspberry 3
- Yunohost 11.0.11
- accès ssh , webadmin et en physique clavier écran
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran | …