selftest: Improve connection between primary domain and subdomain for krb5
authorAndrew Bartlett <abartlet@samba.org>
Mon, 11 Aug 2014 05:30:51 +0000 (17:30 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 31 Aug 2014 22:36:42 +0000 (00:36 +0200)
commitb50d7a0f34867072195777915858e2396d452092
treed22c18da2c7504d1868eff6a633284a511c67c57
parentb6ade7d04b3aacba5a215561d6f910a0fd255d63
selftest: Improve connection between primary domain and subdomain for krb5

Two things help here: The join is done on the lower case name, so we
can match it in the krb5.conf, and we share the krb5.conf between the
"dc" environment and the "subdom_dc" environment.  Between these two
measures, this means we can get tickets using the domain trust.

If we used cwrap for DNS queries and we had our internal DNS set up correctly,
we could avoid this (because that is not case sensitive),
but otherwise we need to get SUB.samba.example.org into the krb5.conf,
and this is harder to do an a generic way.

Andrew Bartlett

Change-Id: If378915112728aaf47aa68ce0b071a7e09d756ad
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
selftest/target/Samba4.pm