Tâche #15806
Distribution EOLE - Scénario #15919: Étudier les erreurs de création d'élève sur Scribe 2.6.0
La création d'un élève engendre une erreur ldap sur 2.6
Description
root@ubuntu:~# /usr/share/eole/backend/creation-eleve.py -u ele1 -c3a -mele1 -pEle -fE1 -d01/01/1111 -o007 -x1 Erreur : {'info': 'ENTEleveClasses: value #0 invalid per syntax', 'desc': 'Invalid syntax'}
Associated revisions
ent.schema : modification de syntaxe pour ENTEleveClasses
Ref: #15806 @1h
History
#1 Updated by Joël Cuissinat almost 7 years ago
- % Done changed from 0 to 30
- Remaining (hours) changed from 2.0 to 1.0
Visiblement la valeur recommandée par le SDET : 'ou=00000001,ou=ac-test,ou=education,o=gouv,c=fr$3a' n'est plus acceptée pour les attributs héritant de distinguishedName ...
attributetype ( 1.2.250.1.173.1.1.1.1.135 NAME 'ENTEleveClasses' DESC 'Etablissements et classe associée' SUP distinguishedName)
Je suppose que le problème va apparaître en masse sur le module thôt !
Je propose de remplacer cet héritage par un type "bateau" comme par exemple : SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768}
#2 Updated by Joël Cuissinat almost 7 years ago
Bah non, Thot ne semble pas poser problème, la valeur suivante est bien acceptée :
ENTEleveClasses: cn=s3443,ou=structures,dc=eole,dc=lan$4E5
#3 Updated by Joël Cuissinat almost 7 years ago
- % Done changed from 30 to 10
- Estimated time changed from 2.00 h to 4.00 h
- Parent task changed from #15688 to #15919
- Remaining (hours) changed from 1.0 to 3.0
J'aimerais comprendre avant de corriger :)
TODO : importer des ldif de Scribe 2.5 avec un élève sur Scribe & Thot, vérifier les options OpenLDAP (schema_check), ...
#4 Updated by Joël Cuissinat almost 7 years ago
- Status changed from En cours to Nouveau
#5 Updated by Scrum Master almost 7 years ago
- Status changed from Nouveau to En cours
#6 Updated by Joël Cuissinat almost 7 years ago
- File scribe252.ldif added
#7 Updated by Joël Cuissinat almost 7 years ago
- % Done changed from 10 to 20
- Remaining (hours) changed from 3.0 to 2.5
#8 Updated by Joël Cuissinat almost 7 years ago
En important ce fichier sur Scribe 2.6, on obtient :
root@scribe:~# slapadd -f /etc/ldap/slapd.conf -l scribe252.ldif _################ 81.08% eta none elapsed none spd 38.6 k/s 572a110b <= str2entry NULL (smr_normalize ENTEleveClasses 21) slapadd: could not parse entry (line=706) .#################### 100.00% eta none elapsed none fast! Closing DB...
L'entrée n'est pas créée !
#10 Updated by Joël Cuissinat over 6 years ago
- Status changed from En cours to Fermé
- Remaining (hours) changed from 2.5 to 0.0