Dear list, I had to change the name of the AD DC on a test setup (only one DC). What changes do I have to apply for samba? This is using bind9_DLZ. Thanks, Christian
On Thu, 25 Oct 2018 15:31:44 +0200 Christian via samba <samba at lists.samba.org> wrote:> Dear list, > > I had to change the name of the AD DC on a test setup (only one DC). > What changes do I have to apply for samba? This is using bind9_DLZ. > Thanks, > > Christian >If you are talking a test Samba AD DC, then the easiest thing to do is to provision again, if something else, please provide more info. Rowland
On 25.10.2018 15:41, Rowland Penny via samba wrote:> On Thu, 25 Oct 2018 15:31:44 +0200 > Christian via samba <samba at lists.samba.org> wrote: > >> Dear list, >> >> I had to change the name of the AD DC on a test setup (only one DC). >> What changes do I have to apply for samba? This is using bind9_DLZ. >> Thanks, >> >> Christian >> > > If you are talking a test Samba AD DC, then the easiest thing to do is > to provision again, if something else, please provide more info. > > RowlandOK, then let's say it is not a test setup. How do I proceed? I assume there are some of the SRV records to change etc... Thanks, Christian
Hi Christian,> I had to change the name of the AD DC on a test setup (only one DC). > What changes do I have to apply for samba? This is using bind9_DLZ. Thanks,if it is the IP address that you need to change, the one thing you have to be careful about is that the DC can find itself after the IP change. If you set up you set up your krb5 conf correctly, then add you new IP address on the interface, then run samba_dnsupdate, check that both IP are in the samba DNS zones, then remove the old IP address, restart samba, remove the old IP in the DNS zone. Done it quite a few time. And for the change of the name of the DC, like Rowland said, your choice would be to demote and re-join. Cheers, Denis> > Christian >-- Denis Cardon Tranquil IT Systems Les Espaces Jules Verne, bâtiment A 12 avenue Jules Verne 44230 Saint Sébastien sur Loire tel : +33 (0) 2.40.97.57.55 http://www.tranquil.it Samba install wiki for Frenchies : https://dev.tranquil.it WAPT, software deployment made easy : https://wapt.fr