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
 [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

Pull Requests

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: Mon Dec 30 14:01:28 2024 UTC