Closed alecpl closed 1 year ago
Thats this here: https://github.com/pear/Net_LDAP2/blob/0cbfdadca4b55cb7543ad0a6b994fe0e4ed5c3c1/Net/LDAP2.php#L640
What LDAP server are you connected to?
Active Directory (Samba 4), but I have no more details. https://www.roundcubeforum.net/index.php/topic,30282.msg76701.html#msg76701
Obviously the variable here might be an array, string or even bool, if I read the code correctly.
Your assumtion is correct: https://github.com/pear/Net_LDAP2/blob/0cbfdadca4b55cb7543ad0a6b994fe0e4ed5c3c1/Net/LDAP2/Entry.php#L459
I think there should be a check. However, the question is, why don't we get an array here - is the server not capable of startTLS?
ref RFC 4511: https://www.rfc-editor.org/rfc/rfc4511
One of our users reported this: