[Samba] Changing IP Scope on a Samba DC
L.P.H. van Belle
belle at bazuin.nl
Fri Sep 4 08:11:22 UTC 2020
I would have added an extra DC..
Removed old server from AD,
Install new server with new ip's.
And Add CNAMEs where needed,
Move FSMO back.
Remove extra DC.
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Rowland penny via samba
> Verzonden: vrijdag 4 september 2020 10:00
> Aan: Peter Pollock
> CC: sambalist
> Onderwerp: Re: [Samba] Changing IP Scope on a Samba DC
> On 04/09/2020 00:11, Peter Pollock wrote:
> > Samba seems to have provisioned OK, but kinit cannot find the realm
> > and I have some records missing that I don't know how to fix:
> > itadmin at dc01:~$ kinit administrator at INTERNAL.KCS
> > kinit: Cannot find KDC for realm "INTERNAL.KCS" while
> getting initial
> > credentials
> > itadmin at dc01:~$ host -t SRV _ldap._tcp.internal.kcs
> > Host _ldap._tcp.internal.kcs not found: 3(NXDOMAIN)
> > itadmin at dc01:~$ host -t SRV _kerberos._udp.internal.kcs
> > Host _kerberos._udp.internal.kcs not found: 3(NXDOMAIN)
> > itadmin at dc01:~$ host -t A dc01.internal.kcs
> > dc01.internal.kcs has address 192.168.4.5
> > Where do I start?
> > Here's the output from the provisioning:
> > sudo samba-tool domain provision --use-rfc2307 --realm=internal.kcs
> > --domain=internal --dns-backend=BIND9_DLZ
> I hope this is a test domain (or one that you can lose), I
> would run the
> command again but add '--adminpass=xxxxxxxxxx'
> Where you replace all the 'x's with a complex password, you
> sort of need
> to know the Administrator password.
> Remove the smb.conf and reprovision ;-)
> When you get the domain up again, alter /etc/resolv.conf to
> use the DC's
> ipaddress as the first nameserver.
> You might also find this useful:
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba