auth Add ads_verify_ticket() to common_auth.h
authorAndrew Bartlett <abartlet@samba.org>
Tue, 18 May 2010 03:09:39 +0000 (13:09 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 12 Jul 2010 04:36:29 +0000 (14:36 +1000)
auth/common_auth.h

index c64b46c7cf019b69b4bb91e9ce778171d2f41844..c9004996b54504e723bccd491b7598801f25ebc9 100644 (file)
@@ -59,3 +59,14 @@ struct auth_usersupplied_info
        } password;
        uint32_t flags;
 };
+
+/* Shared prototypes for functions that may be replaced using s3compat, to ensure things stay in sync */
+NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx,
+                          const char *realm,
+                          time_t time_offset,
+                          const DATA_BLOB *ticket,
+                          char **principal,
+                          struct PAC_LOGON_INFO **logon_info,
+                          DATA_BLOB *ap_rep,
+                          DATA_BLOB *session_key,
+                          bool use_replay_cache);