summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-03-25 12:33:33 +0100
committerStefan Metzmacher <metze@samba.org>2011-04-07 15:52:25 +0200
commit02c6f9d0d94313bab00edca80af50e162b2ddfaa (patch)
treed69b6b331c4c3299e7326f15573575080dba6359
parentead6faab2766b786e124f2086093ef3fa05d115b (diff)
downloadsamba-02c6f9d0d94313bab00edca80af50e162b2ddfaa.tar.gz
samba-02c6f9d0d94313bab00edca80af50e162b2ddfaa.tar.bz2
samba-02c6f9d0d94313bab00edca80af50e162b2ddfaa.zip
selftest:Samba4: setup DC_* variables in provision_rpc_proxy()
The "rpc_proxy" should behave like "member", just with a different configuration. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 7 15:52:25 CEST 2011 on sn-devel-104
-rw-r--r--selftest/target/Samba4.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 7eb8b6edb6..07dcf36206 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -969,6 +969,13 @@ sub provision_rpc_proxy($$$)
$ret->{RPC_PROXY_USERNAME} = $ret->{USERNAME};
$ret->{RPC_PROXY_PASSWORD} = $ret->{PASSWORD};
+ $ret->{DC_SERVER} = $dcvars->{DC_SERVER};
+ $ret->{DC_SERVER_IP} = $dcvars->{DC_SERVER_IP};
+ $ret->{DC_NETBIOSNAME} = $dcvars->{DC_NETBIOSNAME};
+ $ret->{DC_NETBIOSALIAS} = $dcvars->{DC_NETBIOSALIAS};
+ $ret->{DC_USERNAME} = $dcvars->{DC_USERNAME};
+ $ret->{DC_PASSWORD} = $dcvars->{DC_PASSWORD};
+
return $ret;
}