[Samba] A record packet with illegal version was received.
shemgp at aiias.edu
Tue Mar 18 23:27:32 MDT 2014
On 3/18/2014 4:19 PM, Shem Pasamba wrote:
> I'm having a problem with using TLS in samba 4.1.4. When I try to
> connect to LDAP of samba 4 there is an error in the logs, which is:
> [2014/03/18 15:34:12.631262, 1]
> TLS ../source4/lib/tls/tls_tstream.c:1338 - A record packet with
> illegal version was received.
> In this forum:
> it says that I should set TLS_REQCERT to never but that is for openLDAP.
> How do I do this in samba 4?
Turns out this was for PHP as well. Adding TLS_REQCERT never to
/etc/openldap/ldap.conf makes PHP accept self-signed certificates, and
the error above vanishes.
More information about the samba