Hello,
the last days I notices problems with answers from our servers to dns queries.
I created new entries on our master, which could be resolved from our slave.
Then I started digging (in the dirt) and found out, that there seams to be certificate problems on our slave with samba and ldap.
On the master I get the following output, when I ran the command univention-s4search cn=master msDS-KeyVersionNumber
# record 1
dn: CN=MASTER,OU=Domain Controllers,DC=onex,DC=local
msDS-KeyVersionNumber: 40
# Referral
ref: ldap://onex.local/CN=Configuration,DC=onex,DC=local
# Referral
ref: ldap://onex.local/DC=DomainDnsZones,DC=onex,DC=local
# Referral
ref: ldap://onex.local/DC=ForestDnsZones,DC=onex,DC=local
# returned 4 records
# 1 entries
# 3 referrals
on the slave I get this output:
WARNING: The "syslog" option is deprecated
TLS failed to missing crlfile - with 'tls verify peer = as_strict_as_possible'
Failed to connect to ldap URL 'ldaps://datengrube.onex.local' - LDAP client internal error: NT_STATUS_INVALID_PARAMETER_MIX
Failed to connect to 'ldaps://datengrube.onex.local' with backend 'ldaps': (null)
Failed to connect to ldaps://datengrube.onex.local - (null)
I tried setting the ucr variable
ucr set samba/tls/verify/peer="ca_and_name"
and noticed no changes to /etc/samba/smb.conf, so I edited the config and restartet samba for testing.
Now, the certificate-warning is gone, but smb-authentication doesn’t work.
I tried a rejoin of the slave, but without any changes, so I’m a little bit confused and don’t know, what to check next.
As this slave is a backup domain controller, we have massive authentication problems in our network, so any help to fix this issue would be fine.
Thanks in advance,
Christian.
Update:
After unsetting tls verify peer in the config and resetting, with service restarts between, I get this error:
WARNING: The "syslog" option is deprecated
SPNEGO(gssapi_krb5) creating NEG_TOKEN_INIT failed: NT_STATUS_INVALID_PARAMETER
SPNEGO(gssapi_krb5) creating NEG_TOKEN_INIT failed: NT_STATUS_INVALID_PARAMETER
Failed to bind - LDAP error 8 LDAP_STRONG_AUTH_REQUIRED - <SASL:[GSS-SPNEGO]: Sign or Seal are required.> <>
Failed to connect to 'ldaps://datengrube.onex.local' with backend 'ldaps': (null)
Failed to connect to ldaps://datengrube.onex.local - (null)