]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest:Samba4: provide DC_* variables for fl2000dc and fl2008r2dc
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Apr 2016 06:50:00 +0000 (08:50 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Apr 2016 14:51:17 +0000 (16:51 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11849

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
selftest/target/Samba4.pm

index eddcfa6cd52a2e0930295703180d5b5b0673a232..0ac386c0b07156fc6f935d6b7b1e8f38a0906bf3 100755 (executable)
@@ -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;
 }