[PATCH 9/9] s3-libnet: Use a const char for realm.
Andreas Schneider
asn at samba.org
Fri Nov 15 09:02:20 MST 2013
Signed-off-by: Andreas Schneider <asn at samba.org>
---
source3/libnet/libnet_join.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index b84fcd6..4200c2d 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -449,7 +449,7 @@ static ADS_STATUS libnet_join_set_machine_upn(TALLOC_CTX *mem_ctx,
}
if (!r->in.upn) {
- char *realm = r->out.dns_domain_name;
+ const char *realm = r->out.dns_domain_name;
/* in case we are about to generate a keytab during the join
* make sure the default upn we create is usable with kinit -k.
--
1.8.4
More information about the samba-technical
mailing list