summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-01 11:09:39 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-01 04:19:05 +0200
commit7630e73dac6562f91f05fdf09940ad3f1511a66e (patch)
tree7dcf8fbc603e81b247647a408b36aa95b92122ba /source3
parentc7d2f6d35a95678c91faf0b5ac7f83bc5d1abfde (diff)
downloadsamba-7630e73dac6562f91f05fdf09940ad3f1511a66e.tar.gz
samba-7630e73dac6562f91f05fdf09940ad3f1511a66e.tar.bz2
samba-7630e73dac6562f91f05fdf09940ad3f1511a66e.zip
s3-param prepare for some lp_ functions to return const
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap.c2
-rw-r--r--source3/smbd/server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 19cb3ad2d6..375dc3bf27 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -529,7 +529,7 @@ ADS_STATUS ads_connect_gc(ADS_STRUCT *ads)
TALLOC_CTX *frame = talloc_stackframe();
struct dns_rr_srv *gcs_list;
int num_gcs;
- char *realm = ads->server.realm;
+ const char *realm = ads->server.realm;
NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL;
ADS_STATUS ads_status = ADS_ERROR_NT(NT_STATUS_UNSUCCESSFUL);
int i;
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index fc6ab3a277..5aa3ddbdc9 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -597,7 +597,7 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent,
{
int num_interfaces = iface_count();
int i;
- char *ports;
+ const char *ports;
unsigned dns_port = 0;
#ifdef HAVE_ATEXIT