samba_dnsupdate: Safely update/create names for Samba3 targets as well
authorAndrew Bartlett <abartlet@samba.org>
Wed, 26 Sep 2012 00:02:43 +0000 (10:02 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Sep 2012 03:48:25 +0000 (05:48 +0200)
commit3c4d0ce46995f82921f538757783fa7a678a7fc1
tree0dcb67aebca6fa102bf68e245928c0b069cfcf29
parent6d7c651f2f61b481c1e1ade1e2e0e756ccef2210
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
selftest/target/Samba3.pm
source4/scripting/bin/samba_dnsupdate