Change Domain Controler IP Address
First, modify /etc/network/interfaces
and /etc/hosts
files with the new IP.
If you have two or more domain controllers, modify /etc/krb5.conf
file.
Check /etc/resolv.conf
file if needed and the DNS forward set in /etc/samba/smb.conf
.
Check if /var/lib/samba/private/krb5.conf
is a symbolic link of /etc/krb5.conf
.
Reboot the server. Samba will reconfigure him self with the new IP address.
You can check if DNS response are correct with the command :
dig @localhost srvads.domain.lan
dig @localhost domain.lan
Modify the reverse DNS if needed.