/* The following definitions come from auth/auth_ntlmssp.c */
-NTSTATUS auth_ntlmssp_prepare(const struct tsocket_address *remote_address,
- struct auth_generic_state **auth_ntlmssp_state);
-NTSTATUS auth_ntlmssp_start(struct auth_generic_state *auth_ntlmssp_state);
-NTSTATUS auth_generic_start(struct auth_generic_state *auth_ntlmssp_state, const char *oid);
-NTSTATUS auth_generic_authtype_start(struct auth_generic_state *auth_ntlmssp_state,
- uint8_t auth_type, uint8_t auth_level);
-
+NTSTATUS auth_generic_prepare(TALLOC_CTX *mem_ctx, const struct tsocket_address *remote_address,
+ struct gensec_security **gensec_security_out);
/* The following definitions come from auth/auth_sam.c */
const char *client_domain,
const char *workstation_name,
const struct tsocket_address *remote_address,
- DATA_BLOB *lm_pwd,
- DATA_BLOB *nt_pwd,
+ const DATA_BLOB *lm_pwd,
+ const DATA_BLOB *nt_pwd,
const struct samr_Password *lm_interactive_pwd,
const struct samr_Password *nt_interactive_pwd,
const char *plaintext,