Re: [PHP] LDAP server side sorting

2001-11-28 Thread Stig Venaas
On Wed, Nov 28, 2001 at 05:26:22PM +0200, Christos Sintoris wrote: > > Server side sorting is useful when network traffic costs more than > processing time. Yes, there are some exceptions. > The server side sorting control in conjunction with the virtual list > view control returns only a subs

RE: [PHP] LDAP server side sorting

2001-11-28 Thread Christos Sintoris
:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 10:31 AM To: Christos Sintoris Cc: [EMAIL PROTECTED] Subject: Re: [PHP] LDAP server side sorting Hi On Tue, Nov 27, 2001 at 04:08:39PM +0200, Christos Sintoris wrote: > Does anybody know how to call ldap_set_option in order to use server s

Re: [PHP] LDAP server side sorting

2001-11-28 Thread Stig Venaas
Hi On Tue, Nov 27, 2001 at 04:08:39PM +0200, Christos Sintoris wrote: > 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_O

[PHP] LDAP server side sorting

2001-11-27 Thread Christos Sintoris
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 n