Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: stefan.mikroe on November 21, 2018, 04:43:39 pm

Title: Additional domain controller failed to join domain
Post by: stefan.mikroe on November 21, 2018, 04:43:39 pm
Hi guys,

I have installed two Zentyal 6.0 servers, one as PDC and the second one as ADC. In first one, PDC, I created a domain. When I try to join to the domain from ADC to PDC, i'm getting the samba error.
You can see piece of a zentyal.log:

---------------
 GENSEC backend 'krb5' registered
 GENSEC backend 'fake_gssapi_krb5' registered
 Cannot do GSSAPI to an IP address
---------------
tdb(/var/lib/samba/private/secrets.tdb): tdb_open_ex: could not open file /var/lib/samba/private/secrets.tdb: No such file or directory
 Could not open tdb: No such file or directory
 ldb_wrap open of secrets.ldb
 Could not find machine account in secrets database: Failed to fetch machine account password from secrets.ldb: Could not find entry to match filter: '(&(flatname=STEFAN)(objectclass=primaryDomain))' base: 'cn=Primary Domains': No such object: dsdb_search at ../source4/dsdb/common/util.c:4636 and failed to open /var/lib/samba/private/secrets.tdb: NT_STATUS_CANT_ACCESS_DOMAIN_INFO


I also configured krb5.conf as follow:
-----------------------------------------
[libdefaults]
        default_realm = STEFAN.LAN
        dns_lookup_kdc = true
        dns_lookup_realm = true
        rdns = no

Thank you in advance!

Title: Re: Additional domain controller failed to join domain
Post by: Neustradamus on November 22, 2018, 01:27:39 am
Please create an issue here: https://github.com/zentyal/zentyal/issues/