summaryrefslogtreecommitdiff
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 df08b73bff..eb84a369f5 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 930dcc8541..bd81690702 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);