[Samba] Samba4 is it possible to change the IP of a DC?

steve steve at steve-ss.com
Wed Aug 8 00:01:45 MDT 2012


Hi
I need to change the IP of a DC from 192.168.1.6 to 192.168.1.8

I did so and restarted bind but on running samba_dnsupdate I get errors:
samba_dnsupdate --verbose
IPs: ['fe80::212:f0ff:fe06:9cda%eth1', '192.168.1.8']
Looking for DNS entry A polop.site 192.168.1.8 as polop.site.
Failed to find matching DNS entry A polop.site 192.168.1.8
Looking for DNS entry A sam4dc.polop.site 192.168.1.8 as sam4dc.polop.site.
Failed to find matching DNS entry A sam4dc.polop.site 192.168.1.8
Looking for DNS entry A gc._msdcs.polop.site 192.168.1.8 as 
gc._msdcs.polop.site.
Failed to find matching DNS entry A gc._msdcs.polop.site 192.168.1.8

Kerberos fails:
Traceback (most recent call last):
   File "/usr/local/samba/sbin/samba_dnsupdate", line 485, in <module>
     get_credentials(lp)
   File "/usr/local/samba/sbin/samba_dnsupdate", line 120, in 
get_credentials
     creds.get_named_ccache(lp, ccachename)
RuntimeError: kinit for SAM4DC$@POLOP.SITE failed (Cannot contact any 
KDC for requested realm)


Is it possible to change the IP?

Cheers,
Steve



More information about the samba mailing list