Project

General

Profile

Tâche #32285

Scénario #32237: Modifier le compte eole-workstation-manager en compte User

Modifier le test unitaire vérifiant les groupes de l'utilisateur

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

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
04/30/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Dans scribe-backend, les groupes AD sont vérifiés dans un test unitaire :

            ________________________ test_eole_workstation_manager _________________________
                def test_eole_workstation_manager():
                    """ 
                    Vérification des groupes AD pour eole-workstation-manager
                    """ 
                    groups = system_out(['id', 'eole-workstation-manager'])[1]
            >       assert '(domain admins)' in groups
            E       AssertionError: assert '(domain admins)' in 'uid=11110(eole-workstation-manager) gid=10513(domain users) groupes=10513(domain users),11110(eole-workstation-manager),2001(BUILTIN\\users)\n'
            tests/test_ad_users.py:18: AssertionError

Erreur vue dans :

Les versions sur lesquelles corriger dépendront du rétro-portage effectif de la correction (EOLE >= 2.7.2 ?).

Associated revisions

Revision ae9e9096 (diff)
Added by Joël Cuissinat 9 months ago

Unit tests : eole-workstation-manager is no longer "domain admins"

Ref: #32285

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

Unit tests : eole-workstation-manager is no longer "domain admins"

Ref: #32285

Cherry-picked from scribe-backend:ae9e909

Revision aefb09c2 (diff)
Added by Daniel Dehennin 8 months ago

EOLE 2.7.1: samba 4.9 does not support “dsacl”

Revert "Unit tests : eole-workstation-manager is no longer "domain admins""

This reverts commit 04f01a27b98c0932f312028bb28d021f62a9d9bf.

Ref: #32285

History

#1 Updated by Joël Cuissinat 9 months ago

  • Description updated (diff)

#2 Updated by Joël Cuissinat 9 months ago

  • Status changed from Nouveau to En cours

#3 Updated by Joël Cuissinat 9 months ago

  • Subject changed from Modifier le test unitaire vérifiant les groupes de l'utilisateur to Modifier le test unitaire vérifiant les groupes de l'utilisateur
  • Assigned To set to Joël Cuissinat

#4 Updated by Joël Cuissinat 9 months ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

Branche 2.7.2/32237-workstation-manager pour un éventuel rétro-portage.

#5 Updated by Joël Cuissinat 8 months ago

Rétro-portage jusqu'en 2.7.1 pour être raccord avec la correction #32480

#6 Updated by Daniel Dehennin 8 months ago

Revert en 2.7.1 car en 2.7.1, le samba du conteneur ADDC ne supporte pas les dsacl.

#7 Updated by Laurent Flori 8 months ago

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

Also available in: Atom PDF