summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/krb5_wrap/krb5_samba.c2
-rw-r--r--lib/krb5_wrap/krb5_samba.h2
-rw-r--r--source3/libnet/libnet_keytab.c2
-rw-r--r--source3/librpc/crypto/gse.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c
index 7c40bc4f2bf..4416e3b6dad 100644
--- a/lib/krb5_wrap/krb5_samba.c
+++ b/lib/krb5_wrap/krb5_samba.c
@@ -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)
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h
index af19b986460..e10155d088a 100644
--- a/lib/krb5_wrap/krb5_samba.h
+++ b/lib/krb5_wrap/krb5_samba.h
@@ -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);
diff --git a/source3/libnet/libnet_keytab.c b/source3/libnet/libnet_keytab.c
index a1d44e9b6bd..9aefac1f00f 100644
--- a/source3/libnet/libnet_keytab.c
+++ b/source3/libnet/libnet_keytab.c
@@ -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);
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
index 963c98a9e9d..1d44fbe3ea9 100644
--- a/source3/librpc/crypto/gse.c
+++ b/source3/librpc/crypto/gse.c
@@ -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;