|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #31209 LDAP modify interface implementation deficiency
Submitted: 2004-12-20 19:28 UTC Modified: 2015-06-10 10:33 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: tomas dot drbohlav at mff dot cuni dot cz Assigned: mcmic (profile)
Status: Closed Package: LDAP related
PHP Version: * OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: tomas dot drbohlav at mff dot cuni dot cz
New email:
PHP Version: OS:


 [2004-12-20 19:28 UTC] tomas dot drbohlav at mff dot cuni dot cz
It is not possible to run more then one type of modify operation in a single request.

E.g. it is impossible to change password on  LDAP (Novell NDS) because you have to request delete (incl. old pass) and add new pass, both in one call of ldap_modify_s() (LDAP API).

In Perl NET::Ldap I would do:

changes => [
  delete => [userPassword => $oldPwd],
  add =>[userPassword => $newPwd]                                  ]);

In PHP I can send only separate requests what fails because the attribute (eg. userPassword) must stay non-empty.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-08 21:49 UTC]
-Package: Feature/Change Request +Package: LDAP related -Operating System: any +Operating System: * -PHP Version: Irrelevant +PHP Version: *
 [2015-05-05 19:59 UTC] andreas at heigl dot org
Can we close this issue? After 11 years the syntax has changed in a way that this is obsolete AFAIK.

 [2015-06-10 10:33 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: mcmic
 [2015-06-10 10:33 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Nov 27 15:05:53 2022 UTC