6.0.0-beta1
9/2/25

[#6741] error in ldap driver
Summary error in ldap driver
Queue Forwards
Queue Version 3.0.1
Type Bug
State Resolved
Priority 1. Low
Owners bklang (at) horde (dot) org
Requester vujin (at) fon (dot) bg (dot) ac (dot) yu
Created 05/22/2008 (6312 days ago)
Due
Updated 05/22/2008 (6312 days ago)
Assigned 05/22/2008 (6312 days ago)
Resolved 05/22/2008 (6312 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/22/2008 11:57:36 AM Ben Klang Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS, thanks!
05/22/2008 11:54:55 AM Ben Klang Assigned to Ben Klang
State ⇒ Assigned
 
05/22/2008 11:52:11 AM vujin (at) fon (dot) bg (dot) ac (dot) yu Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Forwards
Summary ⇒ error in ldap driver
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I use forwards modul with LDAP driver and qmail+ldap schema with  Bind 
as Admin

and i found two problema in ldap.php



first is in function _connect on line 622

619#  case 'admin':

620#      $result = @ldap_bind($this->_connection,

621#      $this->_params[$realm]['admindn'],

622#      $this->_params['adminpw']);

and correct code is

622#      $this->_params[$realm]['adminpw']);



and second is in function disableForwarding on line 248

248#     $res = ldap_modify($this->_connection, $userdn, $newDetails);

and correct code is

248#     $res = ldap_modify($this->_connection, $this->_dn, $newDetails);






Saved Queries