git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e29ee3
)
s4-dns: fixed registration of multiple IPs in samba_dnsupdate
author
Andrew Tridgell
<tridge@samba.org>
Sun, 14 Nov 2010 23:54:50 +0000
(10:54 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 15 Nov 2010 10:47:38 +0000
(21:47 +1100)
bitten by python object references again!
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/scripting/bin/samba_dnsupdate
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/samba_dnsupdate
b/source4/scripting/bin/samba_dnsupdate
index 072f818a5dc680d203e5e452c9c96eaa19b19025..6a20173a148120d9a9eeecc7c8be93deab31c595 100755
(executable)
--- 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 = d
nsobj(str(d))
d2.ip = IPs[i+1]
dns_list.append(d2)