svn commit: samba r22549 - in branches/SAMBA_4_0/source/script/tests: .

metze at samba.org metze at samba.org
Sat Apr 28 08:57:06 GMT 2007


Author: metze
Date: 2007-04-28 08:57:06 +0000 (Sat, 28 Apr 2007)
New Revision: 22549

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22549

Log:
export some more info ipaddress and in member env also the
details of the dc

metze
Modified:
   branches/SAMBA_4_0/source/script/tests/Samba4.pm
   branches/SAMBA_4_0/source/script/tests/selftest.pl


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/Samba4.pm
===================================================================
--- branches/SAMBA_4_0/source/script/tests/Samba4.pm	2007-04-28 08:48:11 UTC (rev 22548)
+++ branches/SAMBA_4_0/source/script/tests/Samba4.pm	2007-04-28 08:57:06 UTC (rev 22549)
@@ -612,7 +612,9 @@
 		KRB5_CONFIG => $krb5_config,
 		PIDDIR => $piddir,
 		SERVER => $server,
+		SERVER_IP => $ifaceipv4,
 		NETBIOSNAME => $netbiosname,
+		NETBIOSALIAS => $server,
 		LDAP_URI => $ldap_uri,
 		DOMAIN => $domain,
 		USERNAME => $username,
@@ -665,6 +667,14 @@
 	$ret->{SMBD_TEST_FIFO} = "$prefix/smbd_test.fifo";
 	$ret->{SMBD_TEST_LOG} = "$prefix/smbd_test.log";
 	$ret->{SMBD_TEST_LOG_POS} = 0;
+
+	$ret->{DC_SERVER} = $dcvars->{SERVER};
+	$ret->{DC_SERVER_IP} = $dcvars->{SERVER_IP};
+	$ret->{DC_NETBIOSNAME} = $dcvars->{NETBIOSNAME};
+	$ret->{DC_NETBIOSALIAS} = $dcvars->{NETBIOSALIAS};
+	$ret->{DC_USERNAME} = $dcvars->{USERNAME};
+	$ret->{DC_PASSWORD} = $dcvars->{PASSWORD};
+
 	return $ret;
 }
 

Modified: branches/SAMBA_4_0/source/script/tests/selftest.pl
===================================================================
--- branches/SAMBA_4_0/source/script/tests/selftest.pl	2007-04-28 08:48:11 UTC (rev 22548)
+++ branches/SAMBA_4_0/source/script/tests/selftest.pl	2007-04-28 08:57:06 UTC (rev 22549)
@@ -680,13 +680,23 @@
 	"DOMAIN",
 	"REALM",
 
+	# domain controller stuff
+	"DC_SERVER",
+	"DC_SERVER_IP",
+	"DC_NETBIOSNAME",
+	"DC_NETBIOSALIAS",
+
 	# server stuff
 	"SERVER",
+	"SERVER_IP",
 	"NETBIOSNAME",
+	"NETBIOSALIAS",
 
 	# user stuff
 	"USERNAME",
 	"PASSWORD",
+	"DC_USERNAME",
+	"DC_PASSWORD",
 
 	# misc stuff
 	"KRB5_CONFIG"



More information about the samba-cvs mailing list