On 12/28/2013 10:34 AM, Arthur de Jong wrote:
On Thu, 2013-12-26 at 07:41 -0800, Howard Chu wrote:This was developed at the request of the Samba team, and some of those developers also worked on SSSD, so it has already been implemented in significant volumes.libraries/libldap/deref.c contains ldap_create_deref_control() which uses LDAP_CONTROL_PAGEDRESULTS (copy-pasted from ldap_create_page_control()?).
Definitely possible and quite likely.
Should probably be LDAP_CONTROL_X_DEREF instead.
Fixed in git master, thanks. p.
As far as I can find sssd is the only software that uses this (Samba4 doesn't support OpenLDAP if I understand correctly).
-- Pierangelo Masarati Associate Professor Dipartimento di Scienze e Tecnologie Aerospaziali Politecnico di Milano