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>
Tue, 10 Aug 2010 22:42:43 +0000 (08:42 +1000)
auth/common_auth.h

index 4ae5df9a6b158c5f0b6887733611993bf055fc43..41f0f5914213a901eef0164f881214a0e92572f6 100644 (file)
@@ -61,3 +61,16 @@ struct auth_usersupplied_info
        } password;
        uint32_t flags;
 };
+
+struct auth_serversupplied_info;
+
+/* 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);