s3-auth Add const to make_user_info_map
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 Jan 2012 11:44:28 +0000 (22:44 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 8 Feb 2012 05:30:14 +0000 (16:30 +1100)
source3/auth/auth_util.c
source3/auth/proto.h

index 4c9ebc01c8f699aa7125f13e440bf317d275401f..e0665784f1eea5d56bb36ae8c4aa35f451d43ed2 100644 (file)
@@ -92,8 +92,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,
index 77f0f543e96dcb94f8f1d65b7885215df4e397e0..82d6018556c5205da4ee4b5247be59f3f96172e8 100644 (file)
@@ -100,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,