Tâche #29720
Scénario #29493: Passer nos outils "GPO" en python3 sur EOLE 2.8.0
Vérifier les fonctionnalités intégrées dans samba-tool
Début:
02/03/2020
Echéance:
% réalisé:
100%
Temps estimé:
0.00 h
Restant à faire (heures):
0.0
Historique
#1 Mis à jour par Benjamin Bohard il y a environ 4 ans
- Statut changé de Nouveau à En cours
#2 Mis à jour par Benjamin Bohard il y a environ 4 ans
- Assigné à mis à Benjamin Bohard
#3 Mis à jour par Benjamin Bohard il y a environ 4 ans
Sur un module 2.7.1, avec samba 4.9 :
samba-tool gpo -h Usage: samba-tool gpo <subcommand> Group Policy Object (GPO) management. Options: -h, --help show this help message and exit Available subcommands: aclcheck - Check all GPOs have matching LDAP and DS ACLs. create - Create an empty GPO. del - Delete a GPO. dellink - Delete GPO link from a container. fetch - Download a GPO. getinheritance - Get inheritance flag for a container. getlink - List GPO Links for a container. list - List GPOs for an account. listall - List all GPOs. listcontainers - List all linked containers for a GPO. setinheritance - Set inheritance flag on a container. setlink - Add or update a GPO link to a container. show - Show information for a GPO. For more help on a specific subcommand, please type: samba-tool gpo <subcommand> (-h|--help)
et sur 2.8.0, avec samba 4.11 :
samba-tool gpo -h Usage: samba-tool gpo <subcommand> Group Policy Object (GPO) management. Options: -h, --help show this help message and exit Available subcommands: aclcheck - Check all GPOs have matching LDAP and DS ACLs. backup - Backup a GPO. create - Create an empty GPO. del - Delete a GPO. dellink - Delete GPO link from a container. fetch - Download a GPO. getinheritance - Get inheritance flag for a container. getlink - List GPO Links for a container. list - List GPOs for an account. listall - List all GPOs. listcontainers - List all linked containers for a GPO. restore - Restore a GPO to a new container. setinheritance - Set inheritance flag on a container. setlink - Add or update a GPO link to a container. show - Show information for a GPO. For more help on a specific subcommand, please type: samba-tool gpo <subcommand> (-h|--help)
Les commandes backup et restore ont été ajoutées. Ces commandes ne sont pas utiles au niveau des politiques mais pourrait simplifier la procédure pour la gestion du gpo eole.
#4 Mis à jour par Benjamin Bohard il y a environ 4 ans
- Statut changé de En cours à Résolu
#5 Mis à jour par Joël Cuissinat il y a environ 4 ans
- Statut changé de Résolu à Fermé
- % réalisé changé de 0 à 100
- Restant à faire (heures) mis à 0.0
OK
#6 Mis à jour par Benjamin Bohard il y a environ 4 ans
- Statut changé de Fermé à En cours
- Temps estimé mis à 0.00 h
#7 Mis à jour par Benjamin Bohard il y a environ 4 ans
La partie du projet gpo-script m’avait échappée.
Cette partie semble pouvoir être remplacée par les ajouts récents dans samba-tool : parser de règles sortant du xml, export et import des gpo.
#8 Mis à jour par Benjamin Bohard il y a environ 4 ans
- Statut changé de En cours à Résolu
#9 Mis à jour par Joël Cuissinat il y a environ 4 ans
- Statut changé de Résolu à Fermé