s3-auth Add const to make_user_info_map
[tridge/samba.git] / source3 / auth / proto.h
index b608c48e6e469cf88a4ae6110103ad0bf2c5917d..82d6018556c5205da4ee4b5247be59f3f96172e8 100644 (file)
@@ -69,13 +69,8 @@ NTSTATUS auth_netlogond_init(void);
 
 /* 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  */
 
@@ -105,8 +100,8 @@ NTSTATUS make_user_info_map(struct auth_usersupplied_info **user_info,
                            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,