Scénario #32237
Modifier le compte eole-workstation-manager en compte User
Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Target version:
Start date:
04/30/2021
Due date:
06/04/2021
% Done:
100%
Story points:
2.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto
Description
Objectifs¶
Le compte eole-workstation-manager a trop de droits. Il faut le rendre utilisateur basique.
Il faut modifier les droits de délégation du CN Computer pour que ce compte puisse créer les Objets Computer au moment de la jonction.
Rappel procédure manuelle RSAT¶
- Dans ADUC
- Pour autoriser l'ajout d'ordinateurs dans l'CN "Computers", effectuez un clic droit dessus et cliquez sur "Delegate Control" (Délégation de contrôle)
- Ajoutez le compte utilisateur 'eole-workstation-manager' pour lequel vous souhaitez ajouter l'autorisation/délégation de droit.On peut utiliser un groupe de sécurité.
- Add
- Créer une délégation spécifique, choisissez "Create a custom task to delegate"
- Suivant
- Cochez la case "Only the following objectifs in the folder" pour autoriser uniquement la création d'objets de type "ordinateurs"
- Cochez "Computer objects"
- Cochez "Create selected objects in this folder" pour autoriser la création de objets de ce type
- Suivant
- Au niveau des permissions à déléguer, il est nécessaire de cocher
- - "General"
- - "Creation/deletion of specific child objects"
- - "Create All Child Objects"
- Suivant
- Finish
Equivalent script¶
- wbinfo --name-to-sid=eole-workstation-manager -> SID_ACCOUNT_JONCTION
- COMPUTER_OBJECT="{BF967A86-0DE6-11D0-A285-00AA003049E2}"
- APPLICATION_VERSION="ddc790ac-af4d-442a-8f0f-a1d4caa7dd92"
- samba-tool dsacl set --objectdn "CN=Computers,$BASEDN" --sddl "ARAI(OA;CIIO;CC;${APPLICATION_VERSION};${COMPUTER_OBJECT};${SID_ACCOUNT_JONCTION})(OA;CIIO;CC;;${COMPUTER_OBJECT};${SID_ACCOUNT_JONCTION})"
Pour vérifier¶
- Le compte eole-workstation-manager doit être un compte sans droits
- Démarrer un PC + renommage + ip dns
- Joindre au domain avec le compte eole-workstation-manager (et mdp /etc/eole/private/eole-workstation-manager.password)
- Je jonction se passe bien...
Documentations¶
Subtasks
Associated revisions
Gestion de la jonction au domain avec un compte non admins
REF #32237
Remove unwanted line instead of commenting
Ref: #32237
Suppress extra spaces at the end of lines
Ref: #32237
Remplace some CONTAINER_EXEC with CreoleRun
Ref: #32237
Dump of current DSACL is invalid because of quoting
- postservice/30-eole-workstation-manager: fix single/double quote in
command execution.
Ref: #32237
History
#1 Updated by Daniel Dehennin over 2 years ago
- Project changed from Distribution EOLE to eole-workstation
J’ai créé une branche fix/remove-manager-from-admin
qui pourra être fusionnée dans toutes les versions utilisant le compte eole-workstation-manager
, c’est à dire >= 2.7.1.
#2 Updated by Gilles Grandgérard over 2 years ago
- Project changed from eole-workstation to Distribution EOLE
- Description updated (diff)
- Release deleted (
EOLE 2.8.1)
#3 Updated by Daniel Dehennin over 2 years ago
- Project changed from Distribution EOLE to eole-workstation
#4 Updated by Daniel Dehennin over 2 years ago
- Due date set to 05/14/2021
- Target version set to sprint 2021 17-19 Equipe MENSR
- Start date set to 04/26/2021
#5 Updated by Joël Cuissinat over 2 years ago
- Assigned To set to Daniel Dehennin
- Release set to EOLE 2.8.1
- Story points set to 2.0
#6 Updated by Gilles Grandgérard over 2 years ago
- Status changed from Nouveau to En cours
- Target version changed from sprint 2021 17-19 Equipe MENSR to sprint 2021 20-22 Equipe MENSR
#7 Updated by Joël Cuissinat over 2 years ago
- Status changed from En cours to Terminé (Sprint)