php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69437 Support for LDAP control response
Submitted: 2015-04-13 13:24 UTC Modified: 2017-09-27 15:26 UTC
From: come dot bernigaud at opensides dot be Assigned: mcmic (profile)
Status: Closed Package: LDAP related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: come dot bernigaud at opensides dot be
New email:
PHP Version: OS:

 

 [2015-04-13 13:24 UTC] come dot bernigaud at opensides dot be
Description:
------------
Hello,

We should be able to access LDAP control response in ldap_parse_result.
(As in http://linux.die.net/man/3/ldap_parse_result)

This would allow to use EXOP operation to change passwords, and to read ppolicy overlay answer, along with many other things.

There seems to have been several patches made for this over the years also I’m not sure why this never got merged in php-ldap.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-14 13:12 UTC] come dot bernigaud at opensides dot be
I opened https://bugs.php.net/bug.php?id=69445 for EXOP support as EXOP and controls are two separate issues.
Please consider this request is only about controls and the other one about EXOP support.
 [2015-06-10 10:53 UTC] mcmic@php.net
-Status: Open +Status: Assigned
 [2015-06-10 10:53 UTC] mcmic@php.net
-Assigned To: +Assigned To: mcmic
 [2017-01-10 07:50 UTC] heiglandreas@php.net
Are you still working on this?
 [2017-01-10 14:34 UTC] heiglandreas@php.net
-Assigned To: mcmic +Assigned To:
 [2017-07-05 14:46 UTC] mcmic@php.net
I fixed support for LDAP_OPT_SERVER_CONTROLS and LDAP_OPT_CLIENT_CONTROLS in ldap_get_option.
ldap_set_option already supported it so this should be enough to use controls but this is a bit lowlevel, datas will need to be DER encoded before being sent.

So we should still look into adding controls support for ldap standard operations.
 [2017-07-26 10:13 UTC] mcmic@php.net
-Assigned To: +Assigned To: mcmic
 [2017-09-27 15:26 UTC] mcmic@php.net
-Status: Assigned +Status: Closed
 [2017-09-27 15:26 UTC] mcmic@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Support for controls will be available in PHP 7.3

Please open separate tickets if you find bugs or missing features in control support in PHP 7.3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 05:01:30 2024 UTC