Files
tuxgyverandClaude Sonnet 5 1feb72bf17 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>
2026-09-04 11:40:11 +02:00

20 lines
476 B
Python

"""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"]