diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-03-17 15:22:52 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-03-17 15:22:52 +1100 |
commit | 87e6d7eab1fa81df51c48a7f9272a07f26ede463 (patch) | |
tree | d4fec3130f1ca2095084029b14ea968d5adec870 /source4/auth/kerberos | |
parent | e76c8aa097d9865f97b254be7477f2097ea86e7d (diff) | |
download | samba-87e6d7eab1fa81df51c48a7f9272a07f26ede463.tar.gz samba-87e6d7eab1fa81df51c48a7f9272a07f26ede463.tar.bz2 samba-87e6d7eab1fa81df51c48a7f9272a07f26ede463.zip |
Don't require users of credentials.h to have krb5.h and gssapi.h
Rather than require users of Samba4's headers to have krb5-devel
installed (presumably in their system paths), don't expose the minor
functions which require this by default.
Andrew Bartlett
(This used to be commit f14737e4d2040d2f401a3b20c5e78d0d793cfc3a)
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r-- | source4/auth/kerberos/kerberos_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c index 70e2961d55..e905e3e704 100644 --- a/source4/auth/kerberos/kerberos_util.c +++ b/source4/auth/kerberos/kerberos_util.c @@ -101,10 +101,10 @@ static krb5_error_code salt_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). */ -krb5_error_code principal_from_credentials(TALLOC_CTX *parent_ctx, - struct cli_credentials *credentials, - struct smb_krb5_context *smb_krb5_context, - krb5_principal *princ) + krb5_error_code principal_from_credentials(TALLOC_CTX *parent_ctx, + struct cli_credentials *credentials, + struct smb_krb5_context *smb_krb5_context, + krb5_principal *princ) { krb5_error_code ret; const char *princ_string; |