LDAPS error, cannot set it up, though working everywhere (PAM.D/WIndows Domain)

hello!

I just cannot make it work on LDAPS.
I have a SAMBA Active Directory. It works via PAM.D LDAP / Windows as a Domain Controller server for my laptop, all login works. Always.
Except for ownCloud! :frowning:
Same settings for my computer

All normal:
ldaps://patrikx3.tk 636
public: cn=public,cn=Users,dc=ac,dc=patrikx3,dc=tk
password,
basdn: DC=ac,DC=patrikx3,DC=tk

users:
(&(objectClass=user)(!(objectClass=computer))(uidNumber=)(unixHomeDirectory=))

Besides the problem is not the settings, I just get this error:
Lost connection to LDAP server

Do you have an idea? PLEASE!