Author Topic: Additional domain controller failed to join domain  (Read 2546 times)

stefan.mikroe

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Additional domain controller failed to join domain
« 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!


Neustradamus

  • Zen Monk
  • **
  • Posts: 92
  • Karma: +0/-5
    • View Profile
Re: Additional domain controller failed to join domain
« Reply #1 on: November 22, 2018, 01:27:39 am »
Please create an issue here: https://github.com/zentyal/zentyal/issues/