diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-29 17:33:49 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-30 00:59:16 +0000 |
commit | 92586abac004fe55bdb66af5b0f0e281304cbf56 (patch) | |
tree | 8669f33e3f518ca614c98d0da5a07c2858629d70 | |
parent | c82d6c0b96817129ab6fa23ef8f5d421fd6c7001 (diff) | |
download | samba-92586abac004fe55bdb66af5b0f0e281304cbf56.tar.gz samba-92586abac004fe55bdb66af5b0f0e281304cbf56.tar.bz2 samba-92586abac004fe55bdb66af5b0f0e281304cbf56.zip |
s4-dns: send A record updates via TKEY
-rwxr-xr-x | source4/scripting/bin/samba_dnsupdate | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate index a8a7e591c6..072f818a5d 100755 --- a/source4/scripting/bin/samba_dnsupdate +++ b/source4/scripting/bin/samba_dnsupdate @@ -380,7 +380,12 @@ get_credentials(lp) # ask nsupdate to add entries as needed for d in update_list: if am_rodc: - call_rodc_update(d) + if d.name.lower() == domain.lower(): + continue + if d.type != 'A': + call_rodc_update(d) + else: + call_nsupdate(d) else: call_nsupdate(d) |