s3: Fix bug 7327 -- Build fails while building without kerberos
authorVolker Lendecke <vl@samba.org>
Wed, 7 Apr 2010 20:28:28 +0000 (22:28 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 7 Apr 2010 20:31:09 +0000 (22:31 +0200)
libsmb/clikrb5.c has a dummy implementation for the non-kerberos case

source3/include/krb5_protos.h

index 4f8521b167a6c81ec403070ef50aeb21f0c29bfb..b65fb17d9c59693a49f5594fed6ce6de4f711756 100644 (file)
@@ -88,11 +88,6 @@ krb5_error_code smb_krb5_parse_name_norealm(krb5_context context,
 bool smb_krb5_principal_compare_any_realm(krb5_context context,
                                          krb5_const_principal princ1,
                                          krb5_const_principal princ2);
-int cli_krb5_get_ticket(const char *principal, time_t time_offset,
-                       DATA_BLOB *ticket, DATA_BLOB *session_key_krb5,
-                       uint32 extra_ap_opts, const char *ccname,
-                       time_t *tgs_expire,
-                       const char *impersonate_princ_s);
 krb5_error_code smb_krb5_renew_ticket(const char *ccache_string, const char *client_string, const char *service_string, time_t *expire_time);
 krb5_error_code kpasswd_err_to_krb5_err(krb5_error_code res_code);
 krb5_error_code smb_krb5_gen_netbios_krb5_address(smb_krb5_addresses **kerb_addr);
@@ -146,3 +141,9 @@ char *smb_krb5_principal_get_realm(krb5_context context,
                                   krb5_principal principal);
 #endif /* HAVE_KRB5 */
 
+int cli_krb5_get_ticket(const char *principal, time_t time_offset,
+                       DATA_BLOB *ticket, DATA_BLOB *session_key_krb5,
+                       uint32 extra_ap_opts, const char *ccname,
+                       time_t *tgs_expire,
+                       const char *impersonate_princ_s);
+