1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

s3:gse: Use smb_gss_mech_import_cred() in gse_init_server()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andreas Schneider 2024-04-26 10:54:47 +02:00 committed by Stefan Metzmacher
parent ca90f213a2
commit 2ec3e59f58

View File

@ -666,8 +666,9 @@ static NTSTATUS gse_init_server(struct gensec_security *gensec_security,
}
/* This creates a GSSAPI cred_id_t with the keytab set */
gss_maj = smb_gss_krb5_import_cred(&gss_min, gse_ctx->k5ctx,
gss_maj = smb_gss_mech_import_cred(&gss_min, gse_ctx->k5ctx,
NULL, NULL, gse_ctx->keytab,
&gse_ctx->gss_mech,
&gse_ctx->creds);
if (gss_maj != 0) {