summaryrefslogtreecommitdiffstats
path: root/source3/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c4
-rw-r--r--source3/auth/proto.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 4c9ebc01c8..e0665784f1 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -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,
diff --git a/source3/auth/proto.h b/source3/auth/proto.h
index 77f0f543e9..82d6018556 100644
--- a/source3/auth/proto.h
+++ b/source3/auth/proto.h
@@ -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,