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 |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Auth: can't update credentials when using LDAP and hooks
Queue ⇒ Horde Framework Packages
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']);
}