[Tickets #1975] NEW: Auth: can't update credentials when using LDAP and hooks

bugs@bugs.horde.org bugs at bugs.horde.org
Sun May 15 15:17:21 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1975
-----------------------------------------------------------------------
 Ticket             | 1975
 Created By         | m.zdila at episoftware.com
 Summary            | Auth: can't update credentials when using LDAP and hooks
 Queue              | Horde Framework Packages
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


m.zdila at episoftware.com (2005-05-15 15:17) wrote:

$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']);
             }





More information about the bugs mailing list