note 126759 added to ldap.examples-controls
| From: | snapplez at main dot php dot net | Date: | Wed, 12 Jan 2022 19:42:42 +0000 |
| Subject: | note 126759 added to ldap.examples-controls | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217485@lists.php.net to get a copy of this message | ||
LDAP pagination requires protocol version 3+. If the LDAP_CONTROL_PAGEDRESULTS LDAP control is not
working for you, try setting the LDAP protocol version before binding:
<?php
$ldapconn = ldap_connect($ldapuri) or die("That LDAP-URI was not parseable");
ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);
?>
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.135 (proxied: 99.72.204.22)
----
Manual Page -- https://php.net/manual/en/ldap.examples-controls.php
Edit -- https://main.php.net/note/edit/126759
Del: integrated -- https://main.php.net/note/delete/126759/integrated
Del: useless -- https://main.php.net/note/delete/126759/useless
Del: bad code -- https://main.php.net/note/delete/126759/bad+code
Del: spam -- https://main.php.net/note/delete/126759/spam
Del: non-english -- https://main.php.net/note/delete/126759/non-english
Del: in docs -- https://main.php.net/note/delete/126759/in+docs
Del: other reasons-- https://main.php.net/note/delete/126759
Reject -- https://main.php.net/note/reject/126759
Search -- https://main.php.net/manage/user-notes.php