samba_dnsupdate: Safely update/create names for Samba3 targets as well
commit6dfb2d11d093abc38f76ca00811a0289d45b04c9
authorAndrew Bartlett <abartlet@samba.org>
Wed, 26 Sep 2012 00:02:43 +0000 (26 10:02 +1000)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Oct 2012 06:43:28 +0000 (10 08:43 +0200)
tree11312f4029e5e589a06691b1171740eb5f7eb3d1
parent995cc1eee05b45c5e05db7733c192ca223d5665b
samba_dnsupdate: Safely update/create names for Samba3 targets as well

This avoids unlocked writes to the dns_hosts_file, and may fix some of our
issues on the build farm where large numbers of tests fail due to failed name resolution.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep 26 05:48:25 CEST 2012 on sn-devel-104
(cherry picked from commit 3c4d0ce46995f82921f538757783fa7a678a7fc1)
selftest/target/Samba3.pm
source4/scripting/bin/samba_dnsupdate