[Samba] demote DC

Marc Muehlfeld mmuehlfeld at samba.org
Sat Jul 19 19:24:46 MDT 2014


Am 19.07.2014 19:05, schrieb Fernando Rodriguez:
> root at volendam:/home/newhang# ping
> cb1b21b6-e525-426d-a277-c86110644b38._msdcs.solid-optics.local
> ping: unknown host
> cb1b21b6-e525-426d-a277-c86110644b38._msdcs.solid-optics.local

Don't worry that you can't ping the GUID entry, even if it resolves via
'host' to a valid host/ip. I saw the same here. Any one has an idea why?





>> * Can you show the content of hoorns /etc/hosts, please?
> 
> root at hoorn:/home/newhang# cat /etc/hosts
> 127.0.0.1       localhost
> 127.0.1.1       hoorn.solid-optics.local        hoorn

The second line is something that could cause problems. The IP of
'hoorn.solid-optics.local' isn't 127.0.1.1 in your network. It's
192.168.10.37.

If your /etc/nsswitch.conf says
   hosts:      files dns...
then hoorn uses the IP from the /etc/hosts entry when using the
hostname. And if your Samba (or other services) isn't listening on that
interface/IP, then this could lead to connection problems.

Set this to hoorns real IP or remove that line. Your DNS should answer
that also.







* Can you show your /etc/krb4.conf from hoorn?




* Can you 'kinit' (use uppercase for your realm)
  # kinit administrator at SAMDOM.EXAMPLE.COM




Regards,
Marc


More information about the samba mailing list