Pagina 1 di 1

Registra la macchina al di fuori di Active Directory con Kerberos abilitato

Pubblicato: 26 settembre 2018 - 09:24
di James
Salve,
come faccio a registrare un computer al di fuori di Active Directory con Kerberos abilitato?
Grazie.

Re: Registrazione di una macchina al di fuori di Active Directory con Kerberos abilitato

Pubblicato: 26 settembre 2018 - 09:57
di sfontenau
Inserire nell'agente in questione:

Codice: Seleziona tutto

use_kerberos = 0
Il server dovrebbe richiedere il nome utente/password del server Wapt

Re: [RISOLTO] Registrare la macchina al di fuori di AD con Kerberos abilitato

Pubblicato: 26 settembre 2018 - 17:47
di James
Mi dispiace, ma non funziona...

Ho appena eseguito alcuni test:

macchina pc1 - W7 - macchina esterna al dominio

waptserver.ini: configurazione di base
allow_unauthentificated_connect = False
allow_unauthentificated_registration = True
use_kerberos = True

https://www.wapt.fr/fr/doc/Configuratio ... index.html :
allow_unauthentificated_registration = True Consente l'autenticazione Nome utente / Password per la registrazione iniziale
allow_unauthentificated_connect = False Definisce se le richieste WebSocket devono essere autenticate

test 1:

waptserver.ini:
allow_unauthentificated_connect = False
allow_unauthentificated_registration = True
use_kerberos = True

wapt-get.ini
use_kerberos = 1

wapt-get register
Waptservice Utente: account amministratore locale
> Errore WaptBadServerAuthentication che è normale!

Test 2:

waptserver.ini:
allow_unauthentificated_connect = False
allow_unauthentificated_registration = True
use_kerberos = True

wapt-get.ini
use_kerberos = 0

wapt-get register
Waptservice User: account amministratore locale
> L'inventario viene inviato al server WAPT... quindi c'è un problema lato server che accetta macchine senza una connessione account amministratore WAPT.

Test 3:

waptserver.ini:
allow_unauthentificated_connect = False
allow_unauthentificated_registration = False
use_kerberos = True

wapt-get.ini
use_kerberos = 0

wapt-get register
Waptservice User: account amministratore locale
> Errore WaptBadServerAuthentication.

Test 4:

waptserver.ini:
allow_unauthentificated_connect = True
allow_unauthentificated_registration = False
use_kerberos = True

wapt-get.ini
use_kerberos = 0

wapt-get register
Waptservice Utente: account amministratore locale
> Errore WaptBadServerAuthentification

Re: Registrare la macchina al di fuori di Active Directory con Kerberos abilitato

Pubblicato: 26 settembre 2018 - 20:49
di sfontenau
In ogni caso devi andartene

Codice: Seleziona tutto

allow_unauthentificated_connect = False

Non interferisce con la registrazione e, in termini di sicurezza, è meglio impostarlo su False

Test2, è normale che funzioni, lo metti

Codice: Seleziona tutto

allow_unauthentificated_registration = True
Quindi naturalmente il server lo accetta

Test3 e Test4 dovrebbero funzionare. L'ho appena testato e funziona sul mio sistema con WAPT 1.6, ma è chiaro che stai utilizzando il servizio locale; devi eseguire il comando

Codice: Seleziona tutto

wapt-get register
In un cmd eseguito in amministratore

[RISOLTO] Registrare la macchina al di fuori di AD con Kerberos abilitato

Pubblicato: 27 settembre 2018 - 12:46
di James
Sì, in effetti, `wapt-get register` in un prompt dei comandi eseguito come amministratore richiede l'account amministratore wapt e funziona! È perfetto, grazie mille!!