summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 13:04:32 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:08 +0200
commitb76951ba8f6456bdaa5ddd90faede60e2833c4df (patch)
tree5c799cf94490e0577b9320556d2f31525a89bdd2 /source3/auth
parent5c7749ac244aa8b83b05599d4bdd13fac2fc2416 (diff)
downloadsamba-b76951ba8f6456bdaa5ddd90faede60e2833c4df.tar.gz
samba-b76951ba8f6456bdaa5ddd90faede60e2833c4df.tar.bz2
samba-b76951ba8f6456bdaa5ddd90faede60e2833c4df.zip
s3:auth_domain: add some const to sockaddr_storage
metze
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_domain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 7eb020d8a6..47d4eb025b 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -116,7 +116,7 @@ void attempt_machine_password_change(void)
static NTSTATUS connect_to_domain_password_server(struct cli_state **cli,
const char *domain,
const char *dc_name,
- struct sockaddr_storage *dc_ss,
+ const struct sockaddr_storage *dc_ss,
struct rpc_pipe_client **pipe_ret)
{
NTSTATUS result;
@@ -262,7 +262,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx,
uchar chal[8],
struct auth_serversupplied_info **server_info,
const char *dc_name,
- struct sockaddr_storage *dc_ss)
+ const struct sockaddr_storage *dc_ss)
{
struct netr_SamInfo3 *info3 = NULL;