summaryrefslogtreecommitdiff
path: root/source3/libads
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/libads
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/libads')
-rw-r--r--source3/libads/ldap.c2
1 files changed, 1 insertions, 1 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;