git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0b857d
)
s4-dns: fixed CNAME automatic DNS updates
author
Andrew Tridgell
<tridge@samba.org>
Fri, 26 Feb 2010 06:09:51 +0000
(17:09 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 26 Feb 2010 07:19:27 +0000
(18:19 +1100)
source4/scripting/bin/samba_dnsupdate
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/samba_dnsupdate
b/source4/scripting/bin/samba_dnsupdate
index 9a90eac9dcfe536ba0648e98214042600aad16bd..9eaf3df272fa2ef38577c73a5a8f0540dada6f5e 100755
(executable)
--- a/
source4/scripting/bin/samba_dnsupdate
+++ b/
source4/scripting/bin/samba_dnsupdate
@@
-199,7
+199,7
@@
def call_nsupdate(d):
d.existing_port, d.dest))
f.write("update add %s %u SRV 0 100 %s %s\n" % (d.name, default_ttl, d.port, d.dest))
if d.type == "CNAME":
- f.write("update add %s %u
SRV
%s\n" % (d.name, default_ttl, d.dest))
+ f.write("update add %s %u
CNAME
%s\n" % (d.name, default_ttl, d.dest))
if opts.verbose:
f.write("show\n")
f.write("send\n")