selftest:Samba4: let fl2000dc use Windows2000 style SPNEGO/NTLMSSP
authorStefan Metzmacher <metze@samba.org>
Mon, 25 Apr 2016 14:02:22 +0000 (16:02 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 29 Apr 2016 10:06:26 +0000 (12:06 +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>
(similar to commit 4de43387235cb17a185fdd1afd658972e8c174ef)

selftest/target/Samba4.pm

index 48ff9b8be86a0387a24e8dba6a37af0c059dd8e3..48186b1481135f269912cc5ff72a65bf493316d6 100755 (executable)
@@ -1144,6 +1144,10 @@ sub provision_fl2000dc($$)
        my ($self, $prefix) = @_;
 
        print "PROVISIONING DC...";
+       my $extra_conf_options = "
+       spnego:simulate_w2k=yes
+       ntlmssp_server:force_old_spnego=yes
+";
        my $ret = $self->provision($prefix,
                                   "domain controller",
                                   "dc5",
@@ -1151,7 +1155,7 @@ sub provision_fl2000dc($$)
                                   "samba2000.example.com",
                                   "2000",
                                   "locDCpass5",
-                                  undef, "", "", undef);
+                                  undef, $extra_conf_options, "", undef);
 
        unless($self->add_wins_config("$prefix/private")) {
                warn("Unable to add wins configuration");