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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: christian at comlink dot org
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC