JEA username and domain
@LordHepipud ya está trabajando en esto.
Desde el 28/1/2023.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
During environment setup in the "Icinga for Windows Management Console" I was selecting the option "Install JEA Profile with managed user "icinga"". This basically runs fine for all checks, but during the checks of MSSQL I found the following issue.
When running the MSSQL checks with IntegratedSecurity on, the login attempt fails. During my investigations I saw Icinga using the server's name as username and the domain as domain (so, login attempt is done with "[domain][server name]$", but it should be [server name]\icinga; this local user has all needed permissions in the database).
Expected Behavior
The check should be green.
Current Behavior
The check fails due to DB connection error.
Steps to Reproduce (for bugs)
- Start JEA test environment
- Execute an MSSQL check (in my case, it's either
invoke-IcingaCheckMSSQLHealth -IntegratedSecurity true -warning 1s -critical 2s(which returns DB connection error and is red) orInvoke-IcingaCheckMSSQLBackupStatus -IntegratedSecurity(which returns an Icinga error with the above mentioned user credentials and is violet) - Besides that, typing
$env:usernameshows the server name together with the $ sign and$env:userdomainshows the domain name. So it's at least not an issue of the MSSQL plugins.
Your Environment
- PowerShell Version used (
$PSVersionTable.PSVersion): 7.3.0 - Windows Server 2022 (10.0.20348)
- Lenguaje dominante
- PowerShell
- Estrellas
- 86
- Forks
- 34
- Merge medio
- 1 h 31 min
- PR fusionados (30 d)
- 2
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Icinga/icinga-powershell-framework
-
Custom stable repo has no effectAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
Icinga/icinga-powershell-framework#888 · 1 comentario ·
-
Windows Update Offload: "Fetch Windows Updates" task is killed after 72h and never restarts until rebootPosiblemente ocupada @LordHepipud la tomó hoy. Abierto
Dificultad 3/5 Medio día Aptitud para principiantes 70/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
Icinga/icinga-powershell-framework#883 · 1 reacción ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100