auth/common_auth.h Add a few more 'common' functions
authorAndrew Bartlett <abartlet@samba.org>
Mon, 17 May 2010 03:38:08 +0000 (13:38 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Aug 2010 22:42:43 +0000 (08:42 +1000)
This helps ensure that we don't have different prototypes for the
different implementaitons of these functions.

Andrew Bartlett

auth/common_auth.h

index 0a8772020d59de672edfeaa8418c70a28d2e8d8b..13ac6ee66d3e7a6418a7ab40c7d9567cde796b8d 100644 (file)
@@ -61,6 +61,7 @@ struct auth_usersupplied_info
        } password;
        uint32_t flags;
 };
+struct auth_serversupplied_info;
 
 struct auth_serversupplied_info;
 
@@ -93,3 +94,8 @@ NTSTATUS kerberos_return_pac(TALLOC_CTX *mem_ctx,
                             time_t renewable_time,
                             const char *impersonate_princ_s,
                             struct PAC_LOGON_INFO **logon_info);
+NTSTATUS auth_samba4_init(void);
+NTSTATUS check_sam_security(const DATA_BLOB *challenge,
+                           TALLOC_CTX *mem_ctx,
+                           const struct auth_usersupplied_info *user_info,
+                           struct auth_serversupplied_info **server_info);