From deaf7e5995c5120a8009dcd90e17f7e0678d1206 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 Nov 2010 10:54:50 +1100 Subject: s4-dns: fixed registration of multiple IPs in samba_dnsupdate bitten by python object references again! Pair-Programmed-With: Andrew Bartlett --- source4/scripting/bin/samba_dnsupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/bin') diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate index 072f818a5d..6a20173a14 100755 --- a/source4/scripting/bin/samba_dnsupdate +++ b/source4/scripting/bin/samba_dnsupdate @@ -360,7 +360,7 @@ for d in dns_list: if d.type == 'A' and d.ip == "$IP": d.ip = IPs[0] for i in range(len(IPs)-1): - d2 = d + d2 = dnsobj(str(d)) d2.ip = IPs[i+1] dns_list.append(d2) -- cgit