diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-26 18:12:49 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-04-12 14:10:05 +0200 |
commit | 4edc98eb9e18eff00bb5ce9bdcdffa5b11149dd4 (patch) | |
tree | b74f8d8d35ea80bffa4884711dbd91dd65264ade /source3/libnet | |
parent | da5e5a6a83a6dcf04c51497f8b5f10621d7b47f7 (diff) | |
download | samba-4edc98eb9e18eff00bb5ce9bdcdffa5b11149dd4.tar.gz samba-4edc98eb9e18eff00bb5ce9bdcdffa5b11149dd4.tar.xz samba-4edc98eb9e18eff00bb5ce9bdcdffa5b11149dd4.zip |
s3: For net ads join, create a krb5.conf
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Apr 12 14:10:05 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_join.c | 5 |
1 files changed, 5 insertions, 0 deletions
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)) { |