JEA username and domain
@LordHepipud ci sta già lavorando.
Dal 28/1/2023.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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)
- Lingua principale
- PowerShell
- Stelle
- 87
- Fork
- 34
- Merge medio
- 4g 11h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Icinga/icinga-powershell-framework
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Investigation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
Icinga/icinga-powershell-framework#857 · 2 commenti ·