26.10.2012 07:49, Emmanuel Dreyfus пишет:
Emmanuel Dreyfus manu@netbsd.org wrote:
http://ftp.espci.fr/shadow/manu/ldap-ctrl-exop-20121025.patch
I successfully tested ldap_exop_passwd, ldap_exop_whoami, and ldap_refresh.
Everything else was not tested and is broken without any doubt (zend_parse_parameters 3rd argument is wrong, it should probably be Z more often).
Here is an updated version with zend_parse_parameters calls for ctrl probably fixed. One still have to test it out, I did not: http://ftp.espci.fr/shadow/manu/ldap-ctrl-exop-20121026.patch
Have you sent it to PHP lists? I doubt the code is for openldap tree.