Does anybody know how to call ldap_set_option in order to use server side
sorting?

using:
$sortval="{'cn', 0,1}";
$ctrl1 = array("oid" => "1.2.840.113556.1.4.473", "value" =>$sortval);
ldap_set_option($ds, LDAP_OPT_SERVER_CONTROLS, array($ctrl1));

reports success, but ldap_get_option() returns nothing and a subsequend
ldap_search
returns protocol error. I use LDAP V3 (iPlanet).


Thanks

Christos Sintoris





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to