mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
krb5_wrap: Rename smb_krb5_keytab_name()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
1dba7d2956
commit
6ddeb4aa42
@ -1151,7 +1151,7 @@ krb5_error_code smb_krb5_kt_open(krb5_context context,
|
||||
keytab);
|
||||
}
|
||||
|
||||
krb5_error_code smb_krb5_keytab_name(TALLOC_CTX *mem_ctx,
|
||||
krb5_error_code smb_krb5_kt_get_name(TALLOC_CTX *mem_ctx,
|
||||
krb5_context context,
|
||||
krb5_keytab keytab,
|
||||
const char **keytab_name)
|
||||
|
@ -210,7 +210,7 @@ krb5_error_code smb_krb5_kt_open(krb5_context context,
|
||||
const char *keytab_name,
|
||||
bool write_access,
|
||||
krb5_keytab *keytab);
|
||||
krb5_error_code smb_krb5_keytab_name(TALLOC_CTX *mem_ctx,
|
||||
krb5_error_code smb_krb5_kt_get_name(TALLOC_CTX *mem_ctx,
|
||||
krb5_context context,
|
||||
krb5_keytab keytab,
|
||||
const char **keytab_name);
|
||||
|
@ -92,7 +92,7 @@ krb5_error_code libnet_keytab_init(TALLOC_CTX *mem_ctx,
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = smb_krb5_keytab_name(mem_ctx, context, keytab, &keytab_string);
|
||||
ret = smb_krb5_kt_get_name(mem_ctx, context, keytab, &keytab_string);
|
||||
if (ret) {
|
||||
krb5_kt_close(context, keytab);
|
||||
krb5_free_context(context);
|
||||
|
@ -410,7 +410,7 @@ static NTSTATUS gse_init_server(TALLOC_CTX *mem_ctx,
|
||||
const char *ktname;
|
||||
gss_OID_set_desc mech_set;
|
||||
|
||||
ret = smb_krb5_keytab_name(gse_ctx, gse_ctx->k5ctx,
|
||||
ret = smb_krb5_kt_get_name(gse_ctx, gse_ctx->k5ctx,
|
||||
gse_ctx->keytab, &ktname);
|
||||
if (ret) {
|
||||
status = NT_STATUS_INTERNAL_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user