Project

General

Profile

Tâche #32480

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

Envisager le rétro-portage en 2.7

Added by Joël Cuissinat over 1 year ago. Updated over 1 year ago.

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

100%

Estimated time:
0.00 h
Remaining (hours):
0.0

Associated revisions

Revision 14e569b6 (diff)
Added by Daniel Dehennin over 1 year ago

Samba 4.9 does not support “dsacl”

Revert "Merge branch 'fix/remove-manager-from-admin' into 2.7.1/master"

This reverts commit 8c19a6511e8f465abab96f526f8ae92b0ec842ae, reversing
changes made to fac9727f3370d4feb0be4cb8aa1cb03b757c11ba.

Ref: #32480

History

#1 Updated by Daniel Dehennin over 1 year ago

  • Status changed from Nouveau to En cours

#2 Updated by Daniel Dehennin over 1 year ago

  • Status changed from En cours to Résolu
  • Assigned To set to Daniel Dehennin
  • % Done changed from 0 to 100

J’ai fusionné la branche fix/remove-manager-from-admin, refait les paquets et mis à jour les journaux :

#3 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0
eole-workstation-manager$ git branch -r --contains e192b7869798e4c94b303dc2f5bd08798bba92d6 
  origin/2.7.1/master
  origin/2.7.2/master
  origin/2.8.0/master
  origin/HEAD -> origin/master
  origin/dist/eole/2.7.1/master
  origin/dist/eole/2.7.2/master
  origin/dist/eole/2.8.0/master
  origin/dist/eole/2.8.1/master
  origin/fix/remove-manager-from-admin
  origin/master

Application confirmée par les tests unitaires désormais en erreur sur le test suivant :

                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=11108(eole-workstation-manager) gid=10513(domain users) groupes=10513(domain users),11108(eole-workstation-manager),2001(BUILTIN\\users)\n'
            tests/test_ad_users.py:18: AssertionError

#4 Updated by Joël Cuissinat over 1 year ago

  • Subject changed from Envisager le rétro-portage en 2.7.2 to Envisager le rétro-portage en 2.7.1
  • Estimated time set to 0.00 h

#5 Updated by Gilles Grandgérard over 1 year ago

En 2.7.1 : 'samba-tool dsacl get' n'existe pas en samba 4.9

Usage: samba-tool dsacl <subcommand>
       samba-tool dsacl: error: no such option: --objectdn

#6 Updated by Gilles Grandgérard over 1 year ago

  • Status changed from Fermé to En cours

#7 Updated by Daniel Dehennin over 1 year ago

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

#8 Updated by Daniel Dehennin over 1 year ago

  • Status changed from En cours to Résolu

#9 Updated by Joël Cuissinat over 1 year ago

  • Subject changed from Envisager le rétro-portage en 2.7.1 to Envisager le rétro-portage en 2.7

#10 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Résolu to Fermé

Joël : Il manquerait pas un revert du revert dans 2.7.2/master ?
Daniel : non justement, j’ai fusionné avec --strategy ours

eole-workstation-manager (2.7.2/master=)$ rgrep "Domain Admins" *
postservice/30-eole-workstation-manager:# suppression du group Domain Admins si le compte en fait parti !
postservice/30-eole-workstation-manager:$CONTAINER_EXEC samba-tool group removemembers 'Domain Admins' $ACCOUNT_JONCTION >/dev/null 2>&1 || true

Also available in: Atom PDF