[PATCH 02/22] selftest: Pass DC_REALM to the subdom_dc environment

abartlet at samba.org abartlet at samba.org
Tue Aug 19 20:06:37 MDT 2014


From: Andrew Bartlett <abartlet at samba.org>

This allows the kcc to be run during the environment setup.

Andrew Bartlett
---
 selftest/target/Samba4.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index ec0f439..5d6c567 100755
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -1210,6 +1210,7 @@ sub provision_vampire_dc($$$)
 	$ret->{DC_NETBIOSNAME} = $dcvars->{DC_NETBIOSNAME};
 	$ret->{DC_USERNAME} = $dcvars->{DC_USERNAME};
 	$ret->{DC_PASSWORD} = $dcvars->{DC_PASSWORD};
+	$ret->{DC_REALM} = $dcvars->{DC_REALM};
 
 	return $ret;
 }
@@ -1306,6 +1307,7 @@ sub provision_dc($$)
 	$ret->{DC_NETBIOSNAME} = $ret->{NETBIOSNAME};
 	$ret->{DC_USERNAME} = $ret->{USERNAME};
 	$ret->{DC_PASSWORD} = $ret->{PASSWORD};
+	$ret->{DC_REALM} = $ret->{REALM};
 
 	return $ret;
 }
-- 
2.0.1



More information about the samba-technical mailing list