summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/auth/user_info.c8
-rw-r--r--source3/include/proto.h8
2 files changed, 10 insertions, 6 deletions
diff --git a/source3/auth/user_info.c b/source3/auth/user_info.c
index df08b73bff1..eb84a369f5f 100644
--- a/source3/auth/user_info.c
+++ b/source3/auth/user_info.c
@@ -32,9 +32,11 @@ NTSTATUS make_user_info(struct auth_usersupplied_info **user_info,
const char *client_domain,
const char *domain,
const char *wksta_name,
- DATA_BLOB *lm_pwd, DATA_BLOB *nt_pwd,
- DATA_BLOB *lm_interactive_pwd, DATA_BLOB *nt_interactive_pwd,
- DATA_BLOB *plaintext,
+ const DATA_BLOB *lm_pwd,
+ const DATA_BLOB *nt_pwd,
+ const DATA_BLOB *lm_interactive_pwd,
+ const DATA_BLOB *nt_interactive_pwd,
+ const DATA_BLOB *plaintext,
bool encrypted)
{
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 930dcc85410..bd81690702e 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -162,9 +162,11 @@ NTSTATUS make_user_info(struct auth_usersupplied_info **user_info,
const char *client_domain,
const char *domain,
const char *wksta_name,
- DATA_BLOB *lm_pwd, DATA_BLOB *nt_pwd,
- DATA_BLOB *lm_interactive_pwd, DATA_BLOB *nt_interactive_pwd,
- DATA_BLOB *plaintext,
+ const DATA_BLOB *lm_pwd,
+ const DATA_BLOB *nt_pwd,
+ const DATA_BLOB *lm_interactive_pwd,
+ const DATA_BLOB *nt_interactive_pwd,
+ const DATA_BLOB *plaintext,
bool encrypted);
void free_user_info(struct auth_usersupplied_info **user_info);