Page 1 sur 1

impossible de configurer l'authentification kerberos

Posté : 15 avr. 2020 - 16:41
par florentR2
Bonjour,
* WAPT 1.8.1 Enterprise (license essai)
* Serveur Debian Buster
* Domain Controler Win Server 2016


Nous n'arrivons pas à configurer l'authentification Kerberos.
Nous avons suivi la doc ici : https://www.wapt.fr/fr/doc/wapt-securit ... beros.html
Mais nous bloquons à l'étape sur la création d'un HTTP Keytab avec la commande msktutil.

Code : Tout sélectionner

root# kinit toto
Password for toto@R2.LOCAL:
root# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: toto@R2.LOCAL

Valid starting       Expires              Service principal
04/15/2020 16:12:35  04/16/2020 02:12:35  krbtgt/R2.LOCAL@R2.LOCAL
        renew until 04/16/2020 16:12:16
root# msktutil --server monControlleurPrincipal.uhb.fr --precreate --host $(hostname) -b cn=computers --service HTTP --description "host account for WAPT Server" --enctypes 24 -N
[b]Error: ldap_sasl_interactive_bind_s failed (Local error)
        additional info: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.  Minor code may provide more information (Server not found in Kerberos database)
Error: ldap_connect failed
--> Is your kerberos ticket expired? You might try re-"kinit"ing.[/b]

root# telnet monControlleurPrincipal.uhb.fr 88
Trying xx.xx.xx.xx ...
Connected to monControlleurPrincipal.uhb.fr.
Escape character is '^]'
Le ticket Kerberos est pourtant encore valide.
Une idée ?

Re: impossible de configurer l'authentification kerberos

Posté : 15 avr. 2020 - 17:57
par sfonteneau
A chaud comme ça je ne sais pas trop

Il semblerai que le serveur ne parviens pas a contacter le controleur de domaine

Sans trop chercher voici une alternative possible :

https://www.wapt.fr/fr/doc/wapt-securit ... -directory

Re: impossible de configurer l'authentification kerberos

Posté : 16 avr. 2020 - 10:52
par florentR2
Merci on va essayer.
Je me demande comment j'ai loupé ça alors que c'est à la suite :?