s4:dsdb: add support for DSDB_OPENLDAP_DEREFERENCE_CONTROL
authorAndrew Bartlett <abartlet@samba.org>
Tue, 16 Dec 2008 07:28:55 +0000 (08:28 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 17 Dec 2008 01:29:24 +0000 (12:29 +1100)
commit30ae74d39957b56f7ad893275fc7704b5b923332
treee681aaba3071872837980d5a7d373385d36e629c
parentfc61ef2afceb6e0f89e0ede406cadca4989a2464
s4:dsdb: add support for DSDB_OPENLDAP_DEREFERENCE_CONTROL

Encode and decode the OpenLDAP dereference control (draft-masarati-ldap-deref-00)

At this time, the ldb_controls infrustructure does not handle request
and reply controls having different formats, so this is purely the
client implementation (ie, there is no decode of the client->server
packet, and no encode of the server->client packet).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/samdb.h
source4/libcli/ldap/ldap_controls.c