1
0
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:
Andreas Schneider 2016-08-29 11:07:48 +02:00 committed by Andrew Bartlett
parent 1dba7d2956
commit 6ddeb4aa42
4 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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);

View File

@ -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);

View File

@ -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;