summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-30 22:44:28 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-08 16:30:14 +1100
commit89cd086561bdf5741ad96e6c63780e4d229e8699 (patch)
treec3e6d26c4c272bb655ac5b8982f750dbc97b3074 /source3/auth
parent76021cc6264f1b33470ee2550bd408735686dc53 (diff)
downloadsamba-89cd086561bdf5741ad96e6c63780e4d229e8699.tar.gz
samba-89cd086561bdf5741ad96e6c63780e4d229e8699.tar.bz2
samba-89cd086561bdf5741ad96e6c63780e4d229e8699.zip
s3-auth Add const to make_user_info_map
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,