summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-03-04 10:05:51 +0100
committerStefan Metzmacher <metze@samba.org>2011-03-04 21:19:05 +0100
commite90d5ab561e9bbea619ba46cfc7c1a7fc1a05b8f (patch)
tree8475bbd66fdebdc7cf7be133aab577a0b514a53f /selftest
parenta8b3958f38805f18f300aed64bf567339f75e8b3 (diff)
downloadsamba-e90d5ab561e9bbea619ba46cfc7c1a7fc1a05b8f.tar.gz
samba-e90d5ab561e9bbea619ba46cfc7c1a7fc1a05b8f.tar.bz2
samba-e90d5ab561e9bbea619ba46cfc7c1a7fc1a05b8f.zip
selftest/target/Samba4: regenerate the krb5.conf after the rodc join
The RODC should be used as KDC, which will forward requests to the RWDC if required. metze
Diffstat (limited to 'selftest')
-rw-r--r--selftest/target/Samba4.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index c1d2862ff7..7eb8b6edb6 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -1198,6 +1198,12 @@ sub provision_rodc($$$)
return undef;
}
+ # we overwrite the kdc after the RODC join
+ # so that use the RODC as kdc and test
+ # the proxy code
+ $ctx->{kdc_ipv4} = $ret->{SERVER_IP};
+ $self->mk_krb5_conf($ctx);
+
$ret->{RODC_DC_SERVER} = $ret->{SERVER};
$ret->{RODC_DC_SERVER_IP} = $ret->{SERVER_IP};
$ret->{RODC_DC_NETBIOSNAME} = $ret->{NETBIOSNAME};