6.0.0-beta1
9/24/25

[#1975] Auth: can't update credentials when using LDAP and hooks
Summary Auth: can't update credentials when using LDAP and hooks
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester m.zdila (at) episoftware (dot) com
Created 05/15/2005 (7437 days ago)
Due
Updated 05/16/2005 (7436 days ago)
Assigned
Resolved 05/16/2005 (7436 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/16/2005 04:01:33 AM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Committed, thanks.
05/15/2005 10:17:20 PM m (dot) zdila (at) episoftware (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Auth: can't update credentials when using LDAP and hooks
Queue ⇒ Horde Framework Packages
Reply to this comment
$SUBJ



patch:

--- ../../horde-3.0/lib/Horde/Auth/ldap.php     Fri Jan  7 01:23:54 2005

+++ ../lib/Horde/Auth/ldap.php  Mon May 16 00:14:14 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