projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82cee49
)
Framework: Make sure to bind to LDAP when creating the object
author
Ben Klang
<ben@alkaloid.net>
Wed, 9 Jun 2010 22:12:59 +0000
(18:12 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Wed, 9 Jun 2010 22:13:42 +0000
(18:13 -0400)
framework/Core/lib/Horde/Core/Factory/Ldap.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Core/Factory/Ldap.php
b/framework/Core/lib/Horde/Core/Factory/Ldap.php
index
a63b2ad
..
b806da4
100644
(file)
--- a/
framework/Core/lib/Horde/Core/Factory/Ldap.php
+++ b/
framework/Core/lib/Horde/Core/Factory/Ldap.php
@@
-84,6
+84,8
@@
class Horde_Core_Factory_Ldap
try {
$this->_instances[$sig] = new Horde_Ldap($config);
+ // Establish the connection so it is available when searching later
+ $this->_instances[$sig]->bind();
} catch (Horde_Exception $e) {
if ($pushed) {
$GLOBALS['registry']->popApp();