summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-03-30 16:51:58 -0400
committerAndreas Schneider <asn@samba.org>2012-04-12 12:06:41 +0200
commitb574e7cd815347193ab33f18019112f28f402319 (patch)
treefeb2debdfc4ac213e333a4b5d9b273cf6e6fa395 /source4/auth/kerberos
parent93aa4511b9843fb0b96c5d568888778bc5a8367c (diff)
downloadsamba-b574e7cd815347193ab33f18019112f28f402319.tar.gz
samba-b574e7cd815347193ab33f18019112f28f402319.tar.bz2
samba-b574e7cd815347193ab33f18019112f28f402319.zip
s4-auth-krb: Make impersonate_principal_from_credentials static.
It's not used anywhere else. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/kerberos_util.c1
1 files changed, 1 insertions, 0 deletions
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,