Project

General

Profile

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

Added by Benjamin Bohard about 1 year ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/02/2020
Due date:
% Done:

100%

Estimated time:
0.00 h
Remaining (hours):
0.0

History

#1 Updated by Benjamin Bohard about 1 year ago

  • Status changed from Nouveau to En cours

#2 Updated by Benjamin Bohard about 1 year ago

  • Assigned To set to Benjamin Bohard

#3 Updated by Benjamin Bohard about 1 year ago

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 Updated by Benjamin Bohard about 1 year ago

  • Status changed from En cours to Résolu

#5 Updated by Joël Cuissinat about 1 year ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

OK

#6 Updated by Benjamin Bohard about 1 year ago

  • Status changed from Fermé to En cours
  • Estimated time set to 0.00 h

#7 Updated by Benjamin Bohard about 1 year ago

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 Updated by Benjamin Bohard about 1 year ago

  • Status changed from En cours to Résolu

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

  • Status changed from Résolu to Fermé

Also available in: Atom PDF