can't join an existing domain with short name

Andrew Bartlett abartlet at samba.org
Thu Apr 4 19:42:14 MDT 2013


On Tue, 2013-01-15 at 16:17 +1100, Andrew Bartlett wrote:
> On Mon, 2013-01-14 at 09:50 -0500, Kenneth Armstrong wrote:
> > I'm trying to join a Samba4 DC to an existing Windows Domain that only has a
> > short name 'CATCOMTEC2.'  The original admin that set it up didn't do
> > something like catcomtec2.local, catcomtec2.com, etc.
> > 
> >  
> > 
> > When I try to join, I get this in my output:
> > 
> >  
> > 
> > ERROR(<class 'samba.provision.ProvisioningError'>): uncaught exception -
> > ProvisioningError: guess_names: Realm 'CATCOMTEC2' must not be equal to
> > short domain name 'CATCOMTEC2'!
> > 
> >  
> > 
> > I saw that there was a bug request filed a couple of years ago, but
> > cancelled similar to this:
> > 
> >  
> > 
> > https://bugzilla.samba.org/show_bug.cgi?id=8393
> > 
> >  
> > 
> > However, I don't have a choice.  Obviously I can not change the domain name
> > since this one is in production.  Any thoughts on how I can work around
> > this?
> 
> Your only option would be to remove those checks from the source.  It
> should/might work.  We don't generally make assumptions about that, but
> we may still need to patch some things as they come up.

I've uploaded a proposed fix to the bug, for the 'join an existing
domain' case at least.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list