Metadata-Version: 2.5
Name: trytond_maestro
Version: 8.0.2
Summary: Maestro AD management base module for Tryton
Author: Clemens Hupka
Maintainer-email: Clemens Hupka <clemens.hupka@tryton-erp.eu>
License-Expression: GPL-3.0-or-later
License-File: COPYRIGHT
License-File: LICENSE
Keywords: active-directory,ldap,maestro,tryton
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: ldap3
Requires-Dist: trytond-ldap-authentication<8.1,>=8.0
Requires-Dist: trytond<8.1,>=8.0
Provides-Extra: test
Requires-Dist: proteus<8.1,>=8.0; extra == 'test'
Description-Content-Type: text/x-rst

Maestro
=======

The ``maestro`` module provides the foundation for managing Active Directory
domains, hierarchical group structures, logon scripts, PowerShell script
generation, and operation logging.

It is the base module that all other ``maestro_*`` submodules depend on.

Features
--------

* Multi-server AD/LDAP connection configuration with SSL version and
  domain controller selection.
* Hierarchical tree: Primary Groups → Secondary Groups → Users / Shared
  Spaces / Storage Locations / Templates.
* Logon script management with variable expansion
  (``%SECONDARY_GROUP%``, ``%USER_DISK_STORAGE_PATH%``, etc.).
* PowerShell script generation and wrapper (V7).
* Multiserver / multisite support (different storage per server).
* Detailed operation / error log model.

Configuration
-------------

AD server connections are configured via the ``maestro.ad.server`` model
in the Tryton client.  Each server stores the LDAP URI, bind credentials,
base DN, SSL version, and an optional explicit domain controller host.

Dependencies
------------

* ``ir``
* ``res``
* ``ldap_authentication``
* ``ldap3`` (Python package)

Models
------

* ``maestro.ad.server`` — AD/LDAP connection configuration.
* ``maestro.primary.group`` — Primary group (tree root).
* ``maestro.secondary.group`` — Secondary group (tree child).
* ``maestro.user`` — AD user under a secondary group.
* ``maestro.shared.space`` — Shared space under a secondary group.
* ``maestro.storage.location`` — Storage location (per-server/multisite).
* ``maestro.template`` — Script template under a secondary group.
* ``maestro.logon.script`` — Logon script with variable expansion.
* ``maestro.powershell.script`` — PowerShell V7 script generation.
* ``maestro.operation.log`` — Operation / error log entry.
