selftest: don't override just-added username in plugin_s4_dc test
authorAndrew Bartlett <abartlet@samba.org>
Mon, 9 May 2011 02:20:00 +0000 (04:20 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 9 May 2011 03:06:12 +0000 (05:06 +0200)
This will allow us to test a user added via smbpasswd as well as the
administrator added by provision.

Andrew Bartlett

selftest/target/Samba3.pm

index e99498b9b4e415f990692b05e79b9f9b87160d88..2f65be4ae3ce108c3f26c5db51c11829255b71ee 100644 (file)
@@ -300,8 +300,6 @@ sub setup_plugin_s4_dc($$$$)
        $ret->{DOMAIN} = $dcvars->{DOMAIN};
        $ret->{REALM} = $dcvars->{REALM};
        $ret->{KRB5_CONFIG} = $dcvars->{KRB5_CONFIG};
-       $ret->{DC_USERNAME} = $dcvars->{USERNAME};
-       $ret->{DC_PASSWORD} = $dcvars->{PASSWORD};
 
        # We need world access to this share, as otherwise the domain
        # administrator from the AD domain provided by Samba4 can't