6.0.0-beta1
10/18/25

[#2069] missing $credentials parameter in Auth::updateUser when using _horde_hook_authldap
Summary missing $credentials parameter in Auth::updateUser when using _horde_hook_authldap
Queue Horde Base
Queue Version 3.0.2
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester m.zdila (at) episoftware (dot) com
Created 06/02/2005 (7443 days ago)
Due
Updated 06/02/2005 (7443 days ago)
Assigned
Resolved 06/02/2005 (7443 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/02/2005 09:32:26 PM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Reply to this comment
please look at the current code before submitting tickets.
06/02/2005 12:11:36 PM m (dot) zdila (at) episoftware (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ missing $credentials parameter in Auth::updateUser when using _horde_hook_authldap
Queue ⇒ Horde Base
Reply to this comment
$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']);

              }


Saved Queries