[PATCHES] site-aware Kerberos authentication during domain join

Alexander Bokovoy ab at samba.org
Wed Jun 15 06:48:54 UTC 2016


On Wed, 15 Jun 2016, Andreas Schneider wrote:
> On Tuesday, 14 June 2016 22:50:28 CEST Alexander Bokovoy wrote:
> > On Mon, 07 Mar 2016, Jeremy Allison wrote:
> > > On Thu, Mar 03, 2016 at 09:44:46AM +0200, Uri Simchoni wrote:
> > > > Hi,
> > > > 
> > > > Attached please find a fix for
> > > > https://bugzilla.samba.org/show_bug.cgi?id=11769.
> > > > 
> > > > The bug description explains why this may be important.
> > > > 
> > > > The fix enables site-aware Kerberos during execution of "net ads
> > > > join -k", even if winbindd is not started (so the locator cannot be
> > > > used).
> > > > 
> > > > This works only if the user specified the domain's DNS name (which
> > > > is assumed to be equal to the Kerberos realm). If the user didn't
> > > > specify it (e.g. only specified flat domain name or server to use),
> > > > we need to securely contact a DC to determine the domain's DNS name,
> > > > so we cannot pre-configure Kerberos.
> > > > 
> > > > Review appreciated.
> > > 
> > > LGTM. Pushed ! Thanks.
> > 
> > I think this is not enough. We don't use discovered site name later in
> > the process as private krb5.conf will be rewritten after the call to
> > libnet_join_check_config.
> > 
> > Attached patch makes sure we pass sitename to the new krb5.conf.
> 
> Awesome, we need backports of this!!!
4.4 'backport' is exactly same patch, down to the diff offset. Once the
autobuild passes, I'll do cherry-picking and add a new bug.
-- 
/ Alexander Bokovoy



More information about the samba-technical mailing list