Tâche #11028
Distribution EOLE - Scénario #11020: Base DN o=gouv,c=fr en dur
horus-backend : base DN o=gouv,c=fr en dur
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
Template concernée : horus-backend/horus/backend.py
Associated revisions
Utiliser la variable ldap_base_dn dans les paramètres de connexion au ldap.
Le DN de l'administrateur est laissé en dur à cn=admin, en conformité avec
la configuration de slapd dans eole-annuaire.
Ref #11028
Correction d’erreurs de syntax
Le commit 1c9cb195 a introduit deux erreurs de syntaxe.
- horus/backend.py (ldapsearch): Fermeture du .format().
(ldapmodify): Suppression du « c=fr" » en trop.
Ref: #11028
Correction d’erreurs de syntax
Le commit 1c9cb195 a introduit deux erreurs de syntaxe, et la correction
f37a10b n’en a corrigé qu’une.
- horus/backend.py (ldapsearch): La fermeture du « .format() » doit se faire
avant la variable « ldap_passwd ».
Ref: #11028
History
#1 Updated by Scrum Master almost 8 years ago
- Status changed from Nouveau to En cours
#2 Updated by Benjamin Bohard almost 8 years ago
- Remaining (hours) changed from 1.0 to 0.75
Les parties en dur sont ou=education,o=gouv,c=fr, cn=admin,o=gouv,c=fr et o=gouv,c=fr
branche = "ou={0},ou={1},ou=education,o=gouv,c=fr".format(dico["numero_etab"], dico["nom_academie"])
Et dans les primitives ldap
#3 Updated by Benjamin Bohard almost 8 years ago
- % Done changed from 0 to 80
- Remaining (hours) changed from 0.75 to 0.2
#4 Updated by Benjamin Bohard almost 8 years ago
- Status changed from En cours to Résolu
- % Done changed from 80 to 100
- Distribution changed from EOLE 2.4 to EOLE 2.5
#5 Updated by Joël Cuissinat almost 8 years ago
- Status changed from Résolu to Fermé
- Assigned To set to Benjamin Bohard
- Remaining (hours) changed from 0.2 to 0.0
2.5 uniquement => contrôle visuel OK