note 108285 added to function.ldap-control-paged-result

From: Date: Sat, 14 Apr 2012 00:56:11 +0000
Subject: note 108285 added to function.ldap-control-paged-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-187119@lists.php.net to get a copy of this message
I was able to get these functions to work successfully with Active Directory. When I first tried it, ldap_search kept returning a Not Supported reply from the server. I finally figured out that I needed to include ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); in my code, so that AD would let me page results. Make sure you're using a compatible protocol. Hope this note helps someone else. ---- Server IP: 192.41.42.26 Probable Submitter: 209.82.161.95 ---- Manual Page -- http://www.php.net/manual/en/function.ldap-control-paged-result.php Edit -- https://master.php.net/note/edit/108285 Del: integrated -- https://master.php.net/note/delete/108285/integrated Del: useless -- https://master.php.net/note/delete/108285/useless Del: bad code -- https://master.php.net/note/delete/108285/bad+code Del: spam -- https://master.php.net/note/delete/108285/spam Del: non-english -- https://master.php.net/note/delete/108285/non-english Del: in docs -- https://master.php.net/note/delete/108285/in+docs Del: other reasons-- https://master.php.net/note/delete/108285 Reject -- https://master.php.net/note/reject/108285 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187119) next »