summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-18 21:59:31 +0200
committerVolker Lendecke <vlendec@samba.org>2011-09-18 23:31:28 +0200
commit507f1fcdcbfa9e67e7a03c6e488f45b71c3327e3 (patch)
tree4e51a42b1aa2b3607ba10f1f6f4f1d88bcec8267
parentb126164ecef48032389840848323e7e8627cabd5 (diff)
downloadsamba-507f1fcdcbfa9e67e7a03c6e488f45b71c3327e3.tar.gz
samba-507f1fcdcbfa9e67e7a03c6e488f45b71c3327e3.tar.bz2
samba-507f1fcdcbfa9e67e7a03c6e488f45b71c3327e3.zip
s3: Add some const to create_local_private_krb5_conf_for_domain
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 23:31:28 CEST 2011 on sn-devel-104
-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 */