]> git.ipfire.org Git - thirdparty/samba.git/commit
selftest: correctly use RESOLV_CONF from the DC environment or "no_resolv.conf"
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Feb 2020 11:33:48 +0000 (12:33 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 27 Mar 2020 09:02:38 +0000 (09:02 +0000)
commitc5e478216f18eb2e7b5115cb7626070eb65e21b0
treead6040d821ec08096bd60a0c501bde857389710f
parent678651a73b767e4182f7b825860c760a69e80ccc
selftest: correctly use RESOLV_CONF from the DC environment or "no_resolv.conf"

It's important to have the correct $resolv_conf variable within
provision(), because it also sets "RESOLV_WRAPPER_CONF" if needed,
instead of just setting "RESOLV_CONF".

There's also no point in creating an resolv.conf with the ip addresses
for other roles than "active directory domain controller".

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/target/Samba3.pm