summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth/credentials/credentials_krb5.h6
-rw-r--r--source4/auth/kerberos/kerberos_util.c1
2 files changed, 1 insertions, 6 deletions
diff --git a/auth/credentials/credentials_krb5.h b/auth/credentials/credentials_krb5.h
index 36bf03d5eb..234df1c29c 100644
--- a/auth/credentials/credentials_krb5.h
+++ b/auth/credentials/credentials_krb5.h
@@ -45,12 +45,6 @@ krb5_error_code principal_from_credentials(TALLOC_CTX *parent_ctx,
krb5_principal *princ,
enum credentials_obtained *obtained,
const char **error_string);
-krb5_error_code impersonate_principal_from_credentials(TALLOC_CTX *parent_ctx,
- struct cli_credentials *credentials,
- struct smb_krb5_context *smb_krb5_context,
- krb5_principal *princ,
- const char **error_string);
-
void cli_credentials_invalidate_client_gss_creds(struct cli_credentials *cred,
enum credentials_obtained obtained);
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index 0a42c3078d..cbbe2d1335 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -316,6 +316,7 @@ krb5_error_code principal_from_credentials(TALLOC_CTX *parent_ctx,
* the library routines. The returned princ is placed in the talloc
* system by means of a destructor (do *not* free). */
+static
krb5_error_code impersonate_principal_from_credentials(TALLOC_CTX *parent_ctx,
struct cli_credentials *credentials,
struct smb_krb5_context *smb_krb5_context,