git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b3958
)
selftest/target/Samba4: regenerate the krb5.conf after the rodc join
author
Stefan Metzmacher
<metze@samba.org>
Fri, 4 Mar 2011 09:05:51 +0000
(10:05 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 4 Mar 2011 20:19:05 +0000
(21:19 +0100)
The RODC should be used as KDC, which will forward requests to the RWDC
if required.
metze
selftest/target/Samba4.pm
patch
|
blob
|
history
diff --git
a/selftest/target/Samba4.pm
b/selftest/target/Samba4.pm
index c1d2862ff7cd20469c7826e7699af429f2e487f5..7eb8b6edb68d1f39b9096c4151ec963bd7fce940 100644
(file)
--- 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};