mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
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
This commit is contained in:
parent
a8b3958f38
commit
e90d5ab561
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user