Project

General

Profile

Tâche #31568

Scénario #31492: Traitement express MEN (02-04)

Suite au remplacement de DictIni par ConfigParser, ldap_pwd.py ne fonctionne plus correctement

Added by Joël Cuissinat 8 months ago. Updated 7 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/21/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

  • problème de gestion des variables avec guillemets (erreur visible dans https://dev-eole.ac-dijon.fr/jenkins/job/2.8.1/job/test-instance-acascribe-2.8.1-amd64/ jobs 45 à 48)
                run-parts: executing /usr/share/eole/posttemplate/05-sympa instance
                Start Systemd service mysql                                             [  OK  ]
                Start Systemd service sympa                                             [  OK  ]
                AUTOMATE : Traceback dans la sortie console!
                Traceback (most recent call last):
                  File "<string>", line 1, in <module>
                MONITOR: traceback action:$TRACEBACK
                  File "/usr/lib/python3/dist-packages/scribe/eolegroup.py", line 20, in <module>
                    from scribe.eoleldap import LdapEntry
                  File "/usr/lib/python3/dist-packages/scribe/eoleldap.py", line 17, in <module>
                    from .ldapconf import SUFFIX, ROOT_DN, USER_FILTER, GROUP_FILTER, SHARE_FILTER, \
                  File "/usr/lib/python3/dist-packages/scribe/ldapconf.py", line 39, in <module>
                    exec(open(LDAPCONF).read())
                  File "<string>", line 7, in <module>
                NameError: name 'Ojoon6wahwah' is not defined
    
  • problème de gestion des "strings multiples"
    root@scribe:~# grep smbldap -A3 /usr/share/eole/annuaire/password_files/fichier.ini 
    [smbldap_bind.conf]
    container='fichier'
    path="/etc/smbldap-tools/" 
    string='masterPw="','slavePw="'
    rights='root:root'
    mode='0600'
    

Related issues

Related to Distribution EOLE - Tâche #31524: Supprimer le code de dict4ini en 2.8.1 Fermé 12/21/2020

Associated revisions

Revision b2d31847 (diff)
Added by Joël Cuissinat 8 months ago

ldap_pwd.py : restore old behavior

Ref: #31568
Ref: #31524

History

#1 Updated by Joël Cuissinat 8 months ago

  • Related to Tâche #31524: Supprimer le code de dict4ini en 2.8.1 added

#2 Updated by Joël Cuissinat 8 months ago

  • Status changed from En cours to Résolu
  • Assigned To set to Joël Cuissinat
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat 7 months ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Le test Jenkins est passant...

Also available in: Atom PDF