Page 1 of 1

Unable to configure Kerberos authentication

Published: April 15, 2020 - 4:41 PM
by florentR2
Good morning,
* WAPT 1.8.1 Enterprise (trial license)
* Debian Buster Server
* Domain Controller Win Server 2016


We are unable to configure Kerberos authentication.
We followed the instructions here: https://www.wapt.fr/fr/doc/wapt-securit ... beros.html
But we are stuck at the step on creating an HTTP Keytab with the msktutil command.

Code: Select all

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 '^]'
The Kerberos ticket is still valid, however.
Any ideas?

Re: Unable to configure Kerberos authentication

Published: April 15, 2020 - 5:57 PM
by sfonteneau
Off the top of my head, I'm not entirely sure.

It seems the server can't contact the domain controller.

Without looking into it too much, here's a possible alternative:

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

Re: Unable to configure Kerberos authentication

Published: April 16, 2020 - 10:52 AM
by florentR2
Thanks, we'll try it.
I wonder how I missed that since it's right after. :?