s4-auth-krb: Make impersonate_principal_from_credentials static.
authorSimo Sorce <idra@samba.org>
Fri, 30 Mar 2012 20:51:58 +0000 (16:51 -0400)
committerAndreas Schneider <asn@samba.org>
Thu, 12 Apr 2012 10:06:41 +0000 (12:06 +0200)
It's not used anywhere else.

Signed-off-by: Andreas Schneider <asn@samba.org>
auth/credentials/credentials_krb5.h
source4/auth/kerberos/kerberos_util.c

index 36bf03d5ebd4b1451aabae7305978a14f7cc6b76..234df1c29c67c70e9d443f5e2488f6fb9b6cfa3c 100644 (file)
@@ -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);
 
index 0a42c3078d85f6036967d259d349f85e43670afb..cbbe2d13351c24e61b33cf844dcc2df00515d5e1 100644 (file)
@@ -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,