summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/kerberos.c2
-rw-r--r--source3/libads/kerberos_proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index adf1175dbe..a64e729e7c 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -837,7 +837,7 @@ static char *get_kdc_ip_string(char *mem_ctx,
bool create_local_private_krb5_conf_for_domain(const char *realm,
const char *domain,
const char *sitename,
- struct sockaddr_storage *pss,
+ const struct sockaddr_storage *pss,
const char *kdc_name)
{
char *dname;
diff --git a/source3/libads/kerberos_proto.h b/source3/libads/kerberos_proto.h
index 406669cc49..ff1082a59b 100644
--- a/source3/libads/kerberos_proto.h
+++ b/source3/libads/kerberos_proto.h
@@ -75,7 +75,7 @@ int kerberos_kinit_password(const char *principal,
bool create_local_private_krb5_conf_for_domain(const char *realm,
const char *domain,
const char *sitename,
- struct sockaddr_storage *pss,
+ const struct sockaddr_storage *pss,
const char *kdc_name);
/* The following definitions come from libads/authdata.c */