mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
heimdal: invoke gsskrb5_set_dns_canonicalize(false) in gse_context_init()
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Isaac Boukris <iboukris@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
committed by
Stefan Metzmacher
parent
5114f73ea7
commit
ef1c852f97
@ -214,6 +214,16 @@ static NTSTATUS gse_context_init(TALLOC_CTX *mem_ctx,
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
#ifdef SAMBA4_USES_HEIMDAL
|
||||
k5ret = gsskrb5_set_dns_canonicalize(false);
|
||||
if (k5ret) {
|
||||
DBG_ERR("gsskrb5_set_dns_canonicalize() failed (%s)\n",
|
||||
error_message(k5ret));
|
||||
status = NT_STATUS_INTERNAL_ERROR;
|
||||
goto err_out;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!ccache_name) {
|
||||
ccache_name = krb5_cc_default_name(gse_ctx->k5ctx);
|
||||
}
|
||||
|
Reference in New Issue
Block a user