Hi James, Command to join: sudo samba-tool domain join int.thevoiceasia.com DC -Uadministrator --realm=int.thevoiceasia.com I can reproduce the problem in the UK and it seems to be something to do with IPv6. As far as I'm aware, although my network switches support IPv6, I have never set it up. I have disabled IPv6 addresses on all the DCs a few days ago. I suppose it is possible part of my original domain set up harbours some IPv6 shenanigans but it certainly isn't intended. To reproduce: New UK Server with IPv6 enabled even though my DCs themselves report no IPv6 addresses (default state): All OK New UK Server with IPv6 disabled: ERROR(exception): uncaught exception - Failed to find a writeable DC for domain 'int.thevoiceasia.com' Does anyone know how I stop IPv6 being used on join? Regards, Wayne On 2016-01-28 18:23, James wrote:> On 1/28/2016 12:53 PM, Wayne Merricks wrote: >> Failed to find a writeable DC for domain > What is the command you are using to join? Have you done any DNS > testing to confirm you can find the DC you wish to join? > > -- > -James
Apologies, managed to venture onto the dreaded 2nd page of Google and found an answer. If anyone gets stuck add --server to the end of the command and this points samba-tool directly to the DC you wish to use for joining. E.g. my dc of ukads001.int.thevoiceasia.com makes this command: sudo samba-tool domain join int.thevoiceasia.com DC -Uadministrator --realm=int.thevoiceasia.com into sudo samba-tool domain join int.thevoiceasia.com DC -Uadministrator --realm=int.thevoiceasia.com --server ukads001.int.thevoiceasia.com If anyone knows why this is necessary without IPv6 I would be interested in the answer. Apologies for any time wasting. On 2016-01-28 21:17, Wayne Merricks wrote:> Hi James, > > Command to join: > > sudo samba-tool domain join int.thevoiceasia.com DC -Uadministrator > --realm=int.thevoiceasia.com > > I can reproduce the problem in the UK and it seems to be something to > do with IPv6. As far as I'm aware, although my network switches > support IPv6, I have never set it up. > > I have disabled IPv6 addresses on all the DCs a few days ago. I > suppose it is possible part of my original domain set up harbours > some > IPv6 shenanigans but it certainly isn't intended. > > To reproduce: > > New UK Server with IPv6 enabled even though my DCs themselves report > no IPv6 addresses (default state): > > All OK > > New UK Server with IPv6 disabled: > > ERROR(exception): uncaught exception - Failed to find a writeable DC > for domain 'int.thevoiceasia.com' > > Does anyone know how I stop IPv6 being used on join? > > Regards, > > Wayne > > On 2016-01-28 18:23, James wrote: >> On 1/28/2016 12:53 PM, Wayne Merricks wrote: >>> Failed to find a writeable DC for domain >> What is the command you are using to join? Have you done any DNS >> testing to confirm you can find the DC you wish to join? >> >> -- >> -James
On 28/01/16 21:32, Wayne Merricks wrote:> Apologies, managed to venture onto the dreaded 2nd page of Google and > found an answer. > > If anyone gets stuck add --server to the end of the command and this > points samba-tool directly to the DC you wish to use for joining. > > E.g. my dc of ukads001.int.thevoiceasia.com makes this command: > > sudo samba-tool domain join int.thevoiceasia.com DC -Uadministrator > --realm=int.thevoiceasia.com > > into > > sudo samba-tool domain join int.thevoiceasia.com DC -Uadministrator > --realm=int.thevoiceasia.com --server ukads001.int.thevoiceasia.com > > If anyone knows why this is necessary without IPv6 I would be > interested in the answer. > > Apologies for any time wasting. > > > On 2016-01-28 21:17, Wayne Merricks wrote: >> Hi James, >> >> Command to join: >> >> sudo samba-tool domain join int.thevoiceasia.com DC -Uadministrator >> --realm=int.thevoiceasia.com >> >> I can reproduce the problem in the UK and it seems to be something to >> do with IPv6. As far as I'm aware, although my network switches >> support IPv6, I have never set it up. >> >> I have disabled IPv6 addresses on all the DCs a few days ago. I >> suppose it is possible part of my original domain set up harbours some >> IPv6 shenanigans but it certainly isn't intended. >> >> To reproduce: >> >> New UK Server with IPv6 enabled even though my DCs themselves report >> no IPv6 addresses (default state): >> >> All OK >> >> New UK Server with IPv6 disabled: >> >> ERROR(exception): uncaught exception - Failed to find a writeable DC >> for domain 'int.thevoiceasia.com' >> >> Does anyone know how I stop IPv6 being used on join? >> >> Regards, >> >> Wayne >> >> On 2016-01-28 18:23, James wrote: >>> On 1/28/2016 12:53 PM, Wayne Merricks wrote: >>>> Failed to find a writeable DC for domain >>> What is the command you are using to join? Have you done any DNS >>> testing to confirm you can find the DC you wish to join? >>> >>> -- >>> -James > >I don't think this has anything to do with ipv6, I just think that it is a dns problem. If you don't tell the join command which DC to join to, it will have to search for one and if this fails, you get the error message you did. Rowland