Project

General

Profile

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

Added by Emmanuel GARETTE almost 8 years ago. Updated almost 8 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/25/2015
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Description

Template concernée : horus-backend/horus/backend.py

Associated revisions

Revision 1c9cb195 (diff)
Added by Benjamin Bohard almost 8 years ago

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

Revision f37a10b1 (diff)
Added by Daniel Dehennin over 7 years ago

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

Revision 1179e249 (diff)
Added by Daniel Dehennin over 7 years ago

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

Also available in: Atom PDF