Version initiale : diagnostic réseau AD + jointure de domaine

Application PySide6 (GUI + CLI) fonctionnant sous Linux et Windows :
- Diagnostic réseau complet AD (DNS, SRV, ports, NTP, outils requis)
- Jointure de domaine via realmd (Linux) ou Add-Computer (Windows)
- Installation automatique des prérequis Linux (apt)
- CLI colorée (diagnose/join/install-prereqs), sans dépendance PySide6
- Scripts de packaging PyInstaller pour Linux et Windows

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-04 11:40:11 +02:00
co-authored by Claude Sonnet 5
commit 1feb72bf17
15 changed files with 1329 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
"""Sélection du backend de jointure de domaine selon la plateforme."""
import platform
from .base import DomainJoinBackend, JoinResult
def get_backend() -> DomainJoinBackend:
if platform.system() == "Windows":
from .windows_addcomputer import WindowsAddComputerBackend
return WindowsAddComputerBackend()
from .linux_realmd import LinuxRealmdBackend
return LinuxRealmdBackend()
__all__ = ["get_backend", "DomainJoinBackend", "JoinResult"]