From 4edc98eb9e18eff00bb5ce9bdcdffa5b11149dd4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 26 Feb 2011 18:12:49 +0100 Subject: s3: For net ads join, create a krb5.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner Autobuild-User: Günther Deschner Autobuild-Date: Tue Apr 12 14:10:05 CEST 2011 on sn-devel-104 --- source3/libnet/libnet_join.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3') diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 6cdf196fd0..1e866c3dd1 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -1974,6 +1974,11 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, } #ifdef HAVE_ADS + + create_local_private_krb5_conf_for_domain( + r->out.dns_domain_name, r->out.netbios_domain_name, + NULL, &cli->dest_ss, cli->desthost); + if (r->out.domain_is_ad && r->in.account_ou && !(r->in.join_flags & WKSSVC_JOIN_FLAGS_JOIN_UNSECURE)) { -- cgit