]> 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>
Fri, 29 Apr 2016 07:34:30 +0000 (09:34 +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>
(cherry picked from commit b8055cb42cadf48367867213a35635f3391c9b8d)

selftest/target/Samba4.pm

index f8db61875d2785637f009100c055bfe754c3207f..19930dedbaa468c5b497b6958a097703956607ba 100755 (executable)
@@ -1376,6 +1376,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;
 }
@@ -1459,6 +1466,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;
 }