|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4776 ldap_modify delets required value
Submitted: 2000-06-02 14:58 UTC Modified: 2000-06-13 22:26 UTC
From: christian at comlink dot org Assigned: venaas (profile)
Status: Closed Package: LDAP related
PHP Version: 4.0.0 Release OS: linux 2.2.9
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: christian at comlink dot org
New email:
PHP Version: OS:


 [2000-06-02 14:58 UTC] christian at comlink dot org
with ldap_modify(int link_identifier, string dn, array entry); it is possible to delete an required entry!
If the array contains an empty element e.g. $enty["cn"]=""
the "cn" will be deleted even it is required. 
I use OpenLdap 1.2.9 (schemacheck is on);



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-13 22:26 UTC] venaas at cvs dot php dot net
This is a known OpenLDAP bug, I'm not sure if it's fixed though.
The server is supposed to not let the client do this, so whatever
PHP (or any other client) does, this should not happen.


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Dec 06 15:01:27 2023 UTC