php.net |  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
35 + 46 = ?
Subscribe to this entry?

 
 [2000-06-02 14:58 UTC] christian at comlink dot org
Hallo,
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);

By
Christian

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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.

Stig

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