Skip to content

SPN with Kerberos realm do not work with NegotiateAuthentication #126979

@wfurt

Description

@wfurt

Description

HTTP/apacheweb.linux.contoso.com@LINUX.CONTOSO.COM fail to function because we convert them and use gss_import_name with GSS_C_NT_HOSTBASED_SERVICE

Reproduction Steps

use Kerberos realms for authentication

Expected behavior

authentication works

Actual behavior

HTTP returns 401

Regression?

yes, this used to work prior the new class and refactoring

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions