Doc #76546 [Com]: ldap_exop_refresh function not available in 7.2

From: Date: Wed, 04 Jul 2018 09:15:43 +0000
Subject: Doc #76546 [Com]: ldap_exop_refresh function not available in 7.2
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15846@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76546&edit=1 ID: 76546 Comment by: mcmic@php.net Reported by: post at rolandgruber dot de Summary: ldap_exop_refresh function not available in 7.2 Status: Verified Type: Documentation Problem Package: LDAP related Operating System: Linux PHP Version: 7.2.7 Assigned To: mcmic Block user comment: N Private report: N New Comment: @rolandgruber Documentation should be fixed in the next update. Do not hesitate to add your work-around in a user note on the documentation page, it may be useful to others. Previous Comments: ------------------------------------------------------------------------ [2018-07-04 08:29:50] mcmic@php.net Automatic comment from SVN on behalf of mcmic Revision: http://svn.php.net/viewvc/?view=revision&revision=345267 Log: Fix php version information error for ldap_exop_refresh issue #76546 ------------------------------------------------------------------------ [2018-07-03 16:41:58] post at rolandgruber dot de True, I was in wrong branch. The code is not part of 7.2. So documentation error only. For anybody who faces the same issue here is a workaround for 7.2: $dn= 'cn=user,dc=test,dc=org'; $ttl = 3600; $data = ''; $data .= '80' . sprintf("%'.02x", strlen($dn)) . bin2hex($dn); $data .= '81' . sprintf("%'.02x", 4) . sprintf("%'.08x", $ttl); $data = hex2bin('30' . sprintf("%'.02x", strlen($data)/2) . $data); $success = @ldap_exop($ldapHandle, LDAP_EXOP_REFRESH, $data); ------------------------------------------------------------------------ [2018-07-03 14:48:35] cmb@php.net > […] or maybe I missed the deadline […] That. The respective commit was made on 2017-07-20, but feature freeze was on 2017-07-18. > The ldap.c file of 7.2.7 already contains the code for the > refresh command. While I can see the LDAP_EXOP_REFRESH constant, I can't find the ldap_exop_refresh() function there. ------------------------------------------------------------------------ [2018-07-02 06:59:53] mcmic@php.net I don’t know why it was not added in 7.2, it might have been a mistake, or maybe I missed the deadline I can’t remember. I’m not sure we can add a feature in a 7.2 minor release now. ------------------------------------------------------------------------ [2018-06-29 11:08:21] requinix@php.net I would expect that if it could be added to 7.2 then it would have been... @mcmic? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76546 -- Edit this bug report at https://bugs.php.net/bug.php?id=76546&edit=1

« previous php.doc.bugs (#15846) next »