[Samba] Help to join Samba Server to a domain

steve steve at steve-ss.com
Fri Feb 21 08:33:57 MST 2014


On Fri, 2014-02-21 at 09:37 -0400, Carlos R. Pena Evertsz wrote:

> Enter administrator's password:
> Using short domain name -- FAMILY
> Joined 'CHILD-SERVER' to realm 'Family.local'
> net_update_dns_internal: Failed to connect to our DC!
> DNS update failed!
> 
> Can anybody help me? Any ideas?

You are joined but the server isn't registered in DNS because the server
is not sending its fqdn. So:
net ads leave -UAdministrator
add the fqdn to the localhost line in /etc/hosts something like:
127.0.0.1 localhost server.family.local server
add the line:
kerberos method = system keytab
to the [global] section of smb.conf
net ads join -UAdministrator

Use this as /etc/krb5.conf:
[libdefaults]
        default_realm = FAMILY.LOCAL
        dns_lookup_realm = false
        dns_lookup_kdc = true

Worry about ticket lifetimes and other stuff later.
HTH
Steve




More information about the samba mailing list