r14363: Remove credentials.h from the global includes.
[samba.git] / source4 / auth / kerberos / kerberos.h
index 46bf300229afb12625dd4a42a82ba17c2d45dd87..d8f615562032d8392b80eb6118fa03251e0eff63 100644 (file)
@@ -21,6 +21,7 @@
 
 #if defined(HAVE_KRB5)
 
+#include "auth/credentials/credentials.h"
 #include "auth/kerberos/krb5_init_context.h"
 
 struct ccache_container {
@@ -126,10 +127,6 @@ krb5_error_code principal_from_credentials(TALLOC_CTX *parent_ctx,
                                           struct cli_credentials *credentials, 
                                           struct smb_krb5_context *smb_krb5_context,
                                           krb5_principal *princ);
-int create_memory_keytab(TALLOC_CTX *parent_ctx,
-                         struct cli_credentials *machine_account,
-                         struct smb_krb5_context *smb_krb5_context,
-                        struct keytab_container **keytab_container); 
 NTSTATUS kerberos_decode_pac(TALLOC_CTX *mem_ctx,
                             struct PAC_DATA **pac_data_out,
                             DATA_BLOB blob,
@@ -167,5 +164,6 @@ NTSTATUS kerberos_decode_pac(TALLOC_CTX *mem_ctx,
                                          gss_cred_id_t gssapi_cred,
                                          enum credentials_obtained obtained); 
 
-#endif /* HAVE_KRB5 */
+#include "auth/kerberos/proto.h"
 
+#endif /* HAVE_KRB5 */