From: Stefan Metzmacher Date: Tue, 26 Apr 2016 06:50:00 +0000 (+0200) Subject: selftest:Samba4: provide DC_* variables for fl2000dc and fl2008r2dc X-Git-Tag: talloc-2.1.7~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8055cb42cadf48367867213a35635f3391c9b8d;p=thirdparty%2Fsamba.git selftest:Samba4: provide DC_* variables for fl2000dc and fl2008r2dc BUG: https://bugzilla.samba.org/show_bug.cgi?id=11849 Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider Reviewed-by: Günther Deschner --- diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index eddcfa6cd52..0ac386c0b07 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -1391,6 +1391,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; } @@ -1474,6 +1481,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; }