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
Error PHP ldap_start_tls(): Unable to start TLS: Protocol error at...apps/user_ldap/lib/ldap.php#252 #12108
Comments
I've got the same problem and I found the explanation on the php website: http://php.net/manual/en/function.ldap-start-tls.php To fix the certificate validity issue: Probably a better solution could be found, but for now this worked for me :) |
No idea. - @blizzz Knows the LDAP code way better. |
@Aurelien- likely a false positive detection :( you can check on command line from within the owncloud root directory:
Look for the entry
(If next to Configuration something else is written, like s01, use that value instead of the "" – it's the case with more than one LDAP server configuration) |
Thanks ! It seems to work :) But, is owncloud auto-detecting ldap protocol without taking account of the given url in the parameter ? Is it possible that this 'false positive detection' happen again after some time ? |
It might, if you rerun port detection. We take the input and try several combinations, and prefer TLS over non-TLS. |
@Aurelien- which LDAP server is used? |
@Aurelien- Can you give the requested information please? |
Oh very sorry for the delay, my ldap server is 2.4.31-1+nmu2 on debian 7.7. |
Hello,
I have Owncloud server 7.0.2 connected to LDAP using ldap://127.0.0.1:389. All is working fine except a error in the log:
Error PHP ldap_start_tls(): Unable to start TLS: Protocol error at... apps/user_ldap/lib/ldap.php#252
My LDAP does not allow TLS connection and owncloud server is not set to use it. This error does not avoir to use owncloud or to login, for the moment it more like a warning for me. But I wonder what owncloud is trying to do.
My test user has also an external link to a dropbox and box.com account.
It seems that this error has been encountered at the end of the issue: #11746
Thanks for your help.
The text was updated successfully, but these errors were encountered: