From 89bc1eb369c6ad36d7605ed328fe91f40ce659a7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 26 Apr 2016 08:50:00 +0200 Subject: [PATCH] selftest:Samba4: provide DC_* variables for fl2000dc and fl2008r2dc MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit BUG: https://bugzilla.samba.org/show_bug.cgi?id=11849 Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider Reviewed-by: Günther Deschner (cherry picked from commit b8055cb42cadf48367867213a35635f3391c9b8d) --- selftest/target/Samba4.pm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 7ea154407c9..e8d591560fd 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -1154,6 +1154,13 @@ sub provision_fl2000dc($$) warn("Unable to add wins configuration"); return undef; } + $ret->{DC_SERVER} = $ret->{SERVER}; + $ret->{DC_SERVER_IP} = $ret->{SERVER_IP}; + $ret->{DC_SERVER_IPV6} = $ret->{SERVER_IPV6}; + $ret->{DC_NETBIOSNAME} = $ret->{NETBIOSNAME}; + $ret->{DC_USERNAME} = $ret->{USERNAME}; + $ret->{DC_PASSWORD} = $ret->{PASSWORD}; + $ret->{DC_REALM} = $ret->{REALM}; return $ret; } @@ -1230,6 +1237,13 @@ sub provision_fl2008r2dc($$) warn("Unable to add wins configuration"); return undef; } + $ret->{DC_SERVER} = $ret->{SERVER}; + $ret->{DC_SERVER_IP} = $ret->{SERVER_IP}; + $ret->{DC_SERVER_IPV6} = $ret->{SERVER_IPV6}; + $ret->{DC_NETBIOSNAME} = $ret->{NETBIOSNAME}; + $ret->{DC_USERNAME} = $ret->{USERNAME}; + $ret->{DC_PASSWORD} = $ret->{PASSWORD}; + $ret->{DC_REALM} = $ret->{REALM}; return $ret; } -- 2.34.1