LDAP Login to ActiveDirectory domain
error in ldapclient.php - isConnected() function: \is_resource($this->resource) returns error
true
error
Latest Joomla 3.10.6
Php 8.1.2
Apache/2.4.37 (rocky) OpenSSL/1.1.1k
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Can you run a var_dump on $this->resource
in that method?
Seems somewhat strange,
if I run var_dump($this->resource) in this method, the result is null. So I ran var_dump($this->resource) once after the method returned true (which gave "object(LDAP\Connection)#512 (0) { } object(LDAP\Connection)#510 (0) { }")
and then after the method returned false (which gave "object(LDAP\Connection)#511 (0) { }")
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-09-13 17:52:12 |
Closed_By | ⇒ | richard67 |
No additional error available, the call to \is_resource($this->resource) simply returns false
Interestingly the first call to ldapbind() (ldap.php line 75ff) works, so the first call to isConnected() returns true, the next fails
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37060.