New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional domain controller failed to join domain #1845

stefanmikroe opened this Issue Nov 22, 2018 · 1 comment


None yet
2 participants

stefanmikroe commented Nov 22, 2018

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 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 follows:

default_realm = STEFAN.LAN
dns_lookup_kdc = true
dns_lookup_realm = true
rdns = no

Thank you in advance!


This comment has been minimized.

tjspann commented Nov 26, 2018

I also had this issue, though for what it's worth I'm setting mine up with ADC over OpenVPN if that helps at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment