[Tickets #2069] NEW: missing $credentials parameter in Auth::updateUser when using _horde_hook_authldap

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Jun 2 05:11:37 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2069
-----------------------------------------------------------------------
 Ticket             | 2069
 Created By         | m.zdila at episoftware.com
 Summary            | missing $credentials parameter in Auth::updateUser when using _horde_hook_authldap
 Queue              | Horde Base
 Version            | 3.0.2
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


m.zdila at episoftware.com (2005-06-02 05:11) wrote:

$SUBJ
here is the patch:
--- ../../horde-3.0/lib/Horde/Auth/ldap.php     Fri Jan  7 01:23:54 2005
+++ ../lib/Horde/Auth/ldap.php  Thu Jun  2 14:06:11 2005
@@ -258,9 +258,9 @@
         if (!empty($conf['hooks']['authldap'])) {
             @include HORDE_BASE . '/config/hooks.php';
             if (function_exists('_horde_hook_authldap')) {
-                $entry = call_user_func('_horde_hook_authldap', $oldID);
+                $entry = call_user_func('_horde_hook_authldap', $oldID,
$credentials);
                 $olddn = $entry['dn'];
-                $entry = call_user_func('_horde_hook_authldap', $newID);
+                $entry = call_user_func('_horde_hook_authldap', $newID,
$credentials);
                 $newdn = $entry['dn'];
                 unset($entry['dn']);
             }





More information about the bugs mailing list