summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-12 21:31:33 +0200
committerVolker Lendecke <vl@samba.org>2010-04-12 21:42:54 +0200
commitb1a27e81d712ada8eebc587a4c35fbb48b4762cb (patch)
treee63c6c6497e31aab95805d76cfe107c23f1b37e8
parent1a2734336655a8d4256c8cce039ada66650b70a9 (diff)
downloadsamba-b1a27e81d712ada8eebc587a4c35fbb48b4762cb.tar.gz
samba-b1a27e81d712ada8eebc587a4c35fbb48b4762cb.tar.bz2
samba-b1a27e81d712ada8eebc587a4c35fbb48b4762cb.zip
s3: Apply some const
-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);